-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
- trailing comma in objects
{ "a": "35", }
- support for one-line comments
- support for multiline comments
- support for
export defaultandmodule.exports =// data.d.mjs export default ...
// data.d.cjs module.exports = ...
- support for identifiers in an object
{ a: false }
- support for
constconst a = { a: false } export default [a, a]
- support for BigInt
123n - support for exporting a module
// b.d.mjs import a from 'a.d.mjs'
// a.d.cjs const a = require('a.d.cjs')
- Parser module cache #96
- cycles
- asynchronous parser (state)
- a parser should return a type of the file:
.json, JSON.d.mjs, data ES module.d.cjs, data CommonJs module
- add new line token #97
FunctionsScript
- support for expressions
- support for functions
- a parser may return these additional types of the file:
.f.mjs, FunctionalScript ES module.f.cjs, FunctionalScript CommonJS module
Metadata
Metadata
Assignees
Labels
No labels