Open anton-trunov opened 1 month ago
Actually they're not just missing from AST, they aren't implemented in Tact at all. I've just tried adding them but seems that handling variable scoping there isn't trivial so I suggest to move it from 1.3.1 to 1.4.0 instead.
Agreed, let's move it to 1.4.0
Block statements are a part of the Tact grammar but those are not processed when converting Ohm.js's CSTs to ASTs.
Hence this code snippet
results in the following error message: