facebook / jsx

The JSX specification is a XML-like syntax extension to ECMAScript.
http://facebook.github.io/jsx/
1.96k stars 133 forks source link

Prior art: Opa #31

Closed hbbio closed 9 years ago

hbbio commented 9 years ago

See for instance https://github.com/MLstate/opalang/wiki/Reference-card#xhtml and generally at http://opalang.org

Opa is an open source project available since 2011.

sophiebits commented 9 years ago

JSX is based off of XHP, an extension created by Facebook to PHP, which was announced in 2010:

https://www.facebook.com/notes/facebook-engineering/xhp-a-new-way-to-write-php/294003943919

jordwalke commented 9 years ago

Also, JSX is essentially the syntax of the e4x, which dates back to 2008 IIRC. BTW: OPA is really cool. You may have recalled me discussing on the message boards how it would be nice to have more control over what the xml syntax in OPA is parsed into. That never really amounted to anything though.