- clone the repo
- npm install
- npm start
- play around in
src
- see
src/decklang/ace.js
- the Decklang grammar is in
decklang/
(it is parsed withnearley
), and can be rebuilt by runningnpm run build:lang
decklang.ne
is the main file, including all of the plugins and primitivesprimitives.ne
contains all of the language primitivesplugins/
contains all of the directives used by Decklang
- Decklang has a test program that showcases all of its current features in
decklang/test/testdeck.js
and can be tested by runningnpm run test:lang
src/decklang/decklang.js
is the outputted grammar for the language and is rebuilt every time Decklang is rebuiltsrc/decklang/decklangparser.js
handles processing and pre-processing of any given script for Decklangsrc/decklang/plugins.json
is a list of all plugins (fromdecklang/plugins/
) that is built automatically when Decklang is rebuilt