-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: support Tact 1.6.0 #45
Conversation
…them with the rest of grammar
91ee103
to
00e57df
Compare
Additionally, a lot of choices were made to better accomodate the future Tact assembly grammar (not in syntax, but in node names and layout) and facilitate language server use Closes #49
00e57df
to
ed4df8e
Compare
This got stale, whoops — will complete and merge soon (today/tomorrow) Planned:
Once merged, the queries should be promptly submitted to relevant upstream Neovim repos UPD: After a bunch of testing decided not to add most fallbacks to Fift asm, since that destroys more intelligent captures entirely. Thus, only added the support for function names as arguments, which are used in instructions like INLINECALLDICT. |
* upgraded to tree-sitter-cli 0.25.3, added tree-sitter.json config and re-generated all bindings * bumped tree-sitter-tact version to 1.6.0 * overhauled the types in grammar.js (seem to work fine) * resolved some of the issues in asm functions: decided not to add fallback support for `{ ... } :` and other Fift-specific things and macros, because that drops the intelligence of our parsing back to where we couldn't properly label anything AND we'll get rid of Fift soon anyways, so that can wait.
Towards #51
Closes #48
Closes #49