/codemirror-lang-ulisp

uLisp language support for CodeMirror

Primary LanguageJavaScriptMIT LicenseMIT

CodeMirror language package for uLisp

This is a repository containing a minimal CodeMirror language support package for uLisp.

Status: Draft

Develop

See the language support example for a more detailed tutorial.

  • git grep EXAMPLE and replace all instances with your language name.
  • Rewrite the grammar in src/syntax.grammar to cover your language. See the Lezer system guide for information on this file format.
  • Adjust the metadata in src/index.ts to work with your new grammar.
  • Adjust the grammar tests in test/cases.txt.
  • Build (npm run build) and test (npm test).
  • Rewrite this readme file.
  • Optionally add a license.
  • Publish on npm under the name codemirror-lang-ulisp.