RESSA
RESSA copied to clipboard
Rusty EcmaScript Syntax Analyzer
This updates the parser to use an AST that has attached source locations for each node to allow for generating things like source maps
I had initially added this to try and reach a fulling passing test262 based test, however validation is something that should be left up to the consumer of the AST....
- [ ] Decorators: [proposal](https://github.com/tc39/proposal-decorators) - [ ] RegEx `v` flag: [proposal](https://github.com/tc39/proposal-regexp-v-flag) - [ ] import assertions: [Proposal](https://github.com/tc39/proposal-import-assertions) - [ ] import.meta: [Proposal](https://github.com/tc39/proposal-import-meta) - [ ] top level `await` [Proposal](https://github.com/tc39/proposal-top-level-await)...
Apologies for keeping you busy ! These are very new so I fully understand if you don't support them :- ``` let vehicle = { }; let vehicle1 = {...
Now that I'm getting into RESSA, I noticed an omission which could be useful which is to capture the line and column number during parsing. There are several use cases...
Hey, I love the idea behind this and RESSA. I'm hoping to use this in a project of mine and I'm mostly working with typescript. Would you be opposed to...
I guess this is just a usability issue, but when I try to modify the RESSA parser example to parse some JS with an `import` statement, the parser returns an...
Currently to handle function arguments there is a step that re-interprets an expression as a pattern. This feels pretty messy, the function arg struct could handle this more effectively
I would like to have support for the operators coming with ES2020 (https://www.w3schools.com/jS/js_2020.asp): - The Nullish Coalescing Operator (??) - The Optional Chaining Operator (?.) - Logical AND Assignment Operator...
for normal indexing, computed indexing and function calls