Skip to content

Commit

Permalink
[Normative] Capture the HTML entity behaviors
Browse files Browse the repository at this point in the history
Let's be faithful to the de-facto and capture the HTML semantics
to the spec. I haven't seen any practices specifying transipilers
via ECMA-262 so this was a bit challenging may seems foreign.

I ended up extending `Static Semantics: SV` to make it concise and
(hopefully) accurate enough. I think this is a cool hack ;)

- Introduced `JSXStringCharacter` and `JSXString`
- Fix #133 by using `::` to make problematic grammars lexcial

I intentionally making the set of supported HTML entities
implementation-defined to allow either HTML4 or HTML5 set but
this is open to discuss.
  • Loading branch information
Huxpro committed Feb 24, 2022
1 parent 148bf2a commit 91b2c12
Show file tree
Hide file tree
Showing 2 changed files with 276 additions and 22 deletions.
Loading

0 comments on commit 91b2c12

Please sign in to comment.