Skip to content

Conversation

@betonmischer86
Copy link

📦 Package Details

Maintainer: @
(You can find this by checking the history of the package Makefile.)

Description:
Tree-sitter is an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited.

This is a package for the tree-sitter library separate from the tree-sitter CLI tool.


🧪 Run Testing Details

  • OpenWrt Version: OpenWrt SNAPSHOT r31813
  • OpenWrt Target/Subtarget: mediatek/filogic
  • OpenWrt Device: Banana Pi BPI-R4 (2x SFP+)

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

Copy link
Member

@GeorgeSapkin GeorgeSapkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this and #27953 are built from the same source, can they be subpackages of the same package? And what is going to use this library? Check sqlite3 package for an example of library and CLI in the same package.

Tree-sitter is an incremental parsing library. It can build a concrete
syntax tree for a source file and efficiently update the syntax tree as
the source file is edited.

Signed-off-by: Valeriy Kosikhin <[email protected]>
@betonmischer86
Copy link
Author

Since this and #27953 are built from the same source, can they be subpackages of the same package? And what is going to use this library? Check sqlite3 package for an example of library and CLI in the same package.

That's what I tried to do first, but failed due to the different language toolchains of the library and CLI tool. The tool won't build unless rust-package.mk is included and the library won't build if it is. I couldn't find any existing packages to use as a guide to resolve this. Any tips would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants