Skip to content
Spotandjake edited this page Jul 8, 2021 · 3 revisions

License: Apache 2.0 Brisk Version

Description


Brisk is a language written with the sole purpose of educating myself on language and compiler design and to get familiar with wasm.

Language Goals


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.

Language Fundamentals


Brisk is a super basic easy to use, and easy to extend the language with only the bare minimum set in stone.

Getting started


git clone https://github.com/spotandjake/Brisk
cd Brisk
yarn install
yarn lint
yarn build

Yarn Instructions


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

Compiler Executable Command Line Instructions


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>

Brisk Package Manager


Not Implemented Yet, Still to come