Skip to content

spotandjake/Brisk

Repository files navigation

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


An easy to program language that compiles to Web Assembly. the goal of Brisk is to allow users to write code easily while still being performant and powerful. Brisk syntax is similar to Typescript at its core while adding features such as advanced enums that make it far more powerful and robust.

Language Fundamentals


Brisk is a super basic easy to use, and easy to extend the language.

Getting started


git clone https://github.com/spotandjake/Brisk
cd Brisk
yarn install
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