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 facebook#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 28, 2022
1 parent c1537c1 commit db3a62e
Show file tree
Hide file tree
Showing 2 changed files with 330 additions and 75 deletions.
Loading

0 comments on commit db3a62e

Please sign in to comment.