-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support nostd #3391
Comments
no_std where? the lib? the cli? and why, what's the use case/benefit exactly? |
no_std for the tree-sitter rust lib. This makes no_std environment can using tree-sitter parse text. I use tree-sitter to parse grammar in my recent project. But my project runs on bare metal, if tree-sitter (rust) supports no_std, then tree-sitter can run in a wider range of environments. |
In fact, the main blocker for no_std is the regex library referenced by the tree-sitter query. |
PR welcome if you make nostd an optional feature instead of the other way around. |
I don't quite understand the difference between them. But I'll open a simple PR later to describe my thoughts. Please and welcome to comment it. :) |
close tree-sitter#3391 Signed-off-by: DragonBillow <DragonBillow@outlook.com>
close tree-sitter#3391 Signed-off-by: DragonBillow <DragonBillow@outlook.com>
close tree-sitter#3391 Signed-off-by: DragonBillow <DragonBillow@outlook.com>
close tree-sitter#3391 Signed-off-by: DragonBillow <DragonBillow@outlook.com> Update lib/Cargo.toml Co-authored-by: ObserverOfTime <chronobserver@disroot.org> Update lib/Cargo.toml Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
close tree-sitter#3391 Signed-off-by: DragonBillow <DragonBillow@outlook.com> Update lib/Cargo.toml Co-authored-by: ObserverOfTime <chronobserver@disroot.org> Update lib/Cargo.toml Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
close tree-sitter#3391 Signed-off-by: DragonBillow <DragonBillow@outlook.com> Update lib/Cargo.toml Co-authored-by: ObserverOfTime <chronobserver@disroot.org> Update lib/Cargo.toml Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
close tree-sitter#3391 Signed-off-by: DragonBillow <DragonBillow@outlook.com> Update lib/Cargo.toml Co-authored-by: ObserverOfTime <chronobserver@disroot.org> Update lib/Cargo.toml Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Problem
Have you considered adding support for nostd? Or will similar PRs be allowed to be merged?
Expected behavior
No response
The text was updated successfully, but these errors were encountered: