syntax
syntax copied to clipboard
ReScript's syntax as a standalone repo.
- [ ] new PPX V4 - [ ] support for async/await
`I'm not sure what to parse here when looking at "exception".` This error doesn't help at all. We can do better
While researching `rescript-relay` not working with ReScript v10 (https://github.com/zth/rescript-relay/issues/373), I discovered that the parser inserts `res.template` attributes. Might make sense to namespace that attribute to `ns.template`, like the rest of...
Follow-up steps for #542 should be taken but I have no idea how to do. - Motivating example(I’m guessing there would be a few more, I’ve not checked though): `#`...
The following escapes differ from standard JS strings: - `\o` escape does nothing in JavaScript strings, `"\o123"` is interpreted as `"o123"` in JS - decimal escapes in ReScript, e.g. `\123`,...
Can we / do we want to preserve nested if branches, e.g.: ```rescript if a { b } else { // test if c { d } } ``` which...
Looking at react ppx's source there are some errors that are not raised via a location so the result is that just the ocaml excpetion is get printed by compiler....
See https://github.com/rescript-lang/syntax/pull/542 Note it's currently unclear how to repro the error message, as the known loops have been removed. So the assert false does not actually trigger.
See https://github.com/rescript-lang/syntax/pull/511