Andrew Hlynskyi

Results 145 comments of Andrew Hlynskyi

> To me, it feels like, at that point, you are basically always performing serialization. You're just moving the O(n) cost of it from the ts_query_serialize function to the ts_query_new...

Good to see how fast you convert our conversations into the real code :rocket:

I also thought about this, I'll try to setup a version policy between Tree-sitter components (CLI, library, crates) and separate tags. Would it be enough for your case to have...

> (since tags may be moved, as we learned a while ago ;)) Tags wouldn't be moved anymore :smiley: There were a lot of work done to avoid disasters in...

@liamrosenfeld thank you for the proposed contribution, but I'll postpone it yet. I'm not sure that moving into direction of having multiple niche case specific methods is a good idea...

> If there is anything that could make this less of a special case, just let me know and I could try to implement it. Unfortunately, I don't have an...

> 1. Tree-sitter is not the only source of highlighting (e.g., LSP semantic tokens) At least I'd like to see most of the features that that can be generalized and...

@eli-schwartz Do you have any concerns about this proposed change to use `libtool` in the Makefile?

* [x] Added population of an empty dir to use `tree-sitter generate tree-sitter-foobar` as a quick kickstarter. * [x] Added creation of a `grammar.js` template. * [x] Added creation of...

# TODO - [ ] Show a warning when some generated files like `dsl.d.ts` is out of sync and need to be deleted manually to be regenerated on updated version...