Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 901 Bytes

TRACK_README.md

File metadata and controls

29 lines (17 loc) · 901 Bytes

JikiScript language support for CodeMirror

This repo contains the grammar for the JikiScript language.

Prerequisites

Setup

Run bun install to install all dependencies.

Developing

To help with development, run bun run dev. This will start a Vite dev server (usually at http://localhost:5173/) that renders the index.html file. The #editor element gets populated with some sample source code of your choosing and then it will get transformed by the grammar defined in src/syntax.grammar. Any changes to the grammar will auto-refresh the dev server's rendered contents.

Testing

The test/cases directory contains the tests files. Run bun test to run these tests.

Note: test (case) files should be relatively small and focus on a single aspect of a grammar.

Publishing

Run bun publish to publish the plugin to NPM.