1.0.0-beta.5 Superset of JSON5 and template literals
lahmatiy
released this
11 Nov 00:00
·
292 commits
to master
since this release
- Jora became a superset of JSON5 (see #23)
- Added support for template literals
- Added support for multi-line comments
- Added support for hexadecimal numbers
- Added support for hexadecimal escape sequence in strings, i.e.
'hello\x20world'
- Added support for multiple lines in strings by escaping new line characters
- Added
Infinity
andNaN
literals - Fixed string literal parsing to be ECMA-262 compliant
- Changed parsing to recognize line terminators according to ECMA-262 (added
\r\n
,\u2028
and\u2029
) - Allowed a single trailing comma in object and array literals
- Allowed unicode escape sequence in identifier name
- Allowed object literal property names starting with
$
when a value is defined