-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Spotandjake edited this page Jul 8, 2021
·
3 revisions
Brisk
is a language written with the sole purpose of educating myself on language and compiler design and to get familiar with wasm.
Compile to web assembly easily, have a minimal number of keywords and functions implemented at the compiler level possible while being fully bootstrapable and extendable.
Brisk is a super basic easy to use, and easy to extend the language with only the bare minimum set in stone.
git clone https://github.com/spotandjake/Brisk
cd Brisk
yarn install
yarn lint
yarn build
Compiling a Brisk Program
yarn start <file>
Compiling the Brisk compiler
yarn build
Compiling a Brisk Program without Recompiling the Compiler
yarn run <file>
Lint the Compiler
yarn lint
Package the Compiler to an executable
yarn package
General Arguments
Brisk -v, Brisk --version: Output the current Brisk Compiler Version
Brisk -h, Brisk --help: Output Help On using the Compiler
Compile A Program
Brisk <file>
Brisk compile <file>
Run a wasm binary: soon to change
Brisk run <file>
Not Implemented Yet, Still to come