Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 796 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 796 Bytes

Yarn Grammar for CodeMirror

This is a CodeMirror language support package for the dialog format used by YarnSpinner.

Specification

Yarn has a language specification for V2 of the text format.

Compile the Grammar

npm run prepare

Tests

Tests are bootstrapped from the CodeMirror 6 utilities using a text-file format for declaring test fixtures. Each fixture is an example syntax fragment followed by the expected syntax tree for the fragment.

Run all tests with the following command:

npm test

License

MIT. See the license file included with this software distribution.