You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, the asm instructions are contextual based on their arguments:
s1 PUSH // pushes the value of the stack register 1 (i.e. second-to-top value) onto the stack
c1 PUSH // pushes the value of the control register 1 onto the stack
Currently, it's not easy to make such a distinction. However, with the fix for tact-lang/tree-sitter-tact#49 it will be possible — I'll add arguments to each tvm instruction :)
UPD: Here you go tact-lang/tree-sitter-tact@ed4df8e. I'll add highlighting queries soon, but the corpus tests are there and are parsing nicely — so you can use the new grammar.js already!
There's a temporary discrepancy in the compiler parser and the Tree-sitter, which was done to better accomodate the LS and to start narrowing down the syntax of Fift for future transition to the syntax of Tact assembly (when it arrives).
No description provided.
The text was updated successfully, but these errors were encountered: