bluesign / cadence-tree-sitter

4 stars 1 forks source link

Status and remaining work #1

Open turbolent opened 1 year ago

turbolent commented 1 year ago

Fantastic work Deniz! 👏

What is the current status of the parser/grammar and what work is left to make it (fairly) complete?

bluesign commented 1 year ago

thanks @turbolent, I am waiting attachments and entitlements to jump back in. Without them it should be like 95% complete, I tried with mainnet contracts some unusual syntaxes we cannot parse with treesitter. ( cadence parser is very forgiving in those cases ) But most of them was parsed successfully, I tried to match naming with cadence, but still we are different with treesitter than with cadence ( lack of look ahead etc )

Also had to write a lot of conflicts, but thats the only way I guess.