Write comprehensive JSON Grammar specification, which describes how to specify a PEG parser generator grammar as a JSON file. Use jit-parser library implementation as the reference implementation. See documentation. Place the grammar in JSON-Grammar-spec.md file.
Among other, make sure to include:
- Describe rationale and portability.
- Describe general grammar JSON file structure.
- Describe grammar node types, including, their interface, shorthands and all fields.
- Conversion to AST.
- Node types and their interfaces.
Write comprehensive JSON Grammar specification, which describes how to specify a PEG parser generator grammar as a JSON file. Use
jit-parserlibrary implementation as the reference implementation. See documentation. Place the grammar inJSON-Grammar-spec.mdfile.Among other, make sure to include: