ruby-tree-sitter.old
ruby-tree-sitter.old copied to clipboard
Ruby bindings to tree-sitter
There are many warnings for repeated typedefs, and eventually the build fails. The file runtime/document.h does exist, so I guess this is only a matter of a missing -I. However...
This PR removes some of the C code and replaces it with Ruby. Most of the changes in this PR are just C hygiene changes, but the important part is...
To supersede the shitty pygments and rouge. I believe tree-sitter is gonna make some change.
Hey all - can't seem to get the gem working for some reason. ‘’’ irb(main):002:0> document = TreeSitter::Document.new('a + b * 5', language: 'tree_sitter_ruby') Traceback (most recent call last): (irb):2:in...
if I try the example in README document = TreeSitter::Document.new('a + b * 5', language: 'tree_sitter_arithmetic') creates a nilClass, so I cannot modify later to tree_sitter_python Using tree_sitter_python directly it...
When I use a gem I expect it to 'just work'. The following trivial project doesn't work, and it seems like it should: https://github.com/kwerle/tree-sitter-project I understand this is in development....
`sudo dnf install -y libtree-sitter-devel glib2-devel nss-util-devel nspr-devel` `TREE_SITTER_PARSER_DIR=/usr/include gem install tree-sitter -- --with-cppflags='-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss3 -I/usr/include/nspr4'` Probably should default the env variable to `/usr/include` and use mkmf `pkg-config` to...
1. Can we mark this repo as archived (possible in Github, [under settings](https://docs.github.com/en/repositories/archiving-a-github-repository/archiving-repositories)). 2. There is a great, maintained fork here: https://github.com/Faveod/ruby-tree-sitter Could this project donate the gem name to...