Skip to content

rhenwood39/braid

 
 

Repository files navigation

Static Staging Compiler

build status

This is an experimental programming language for heterogeneous systems based on multi-stage programming. See the documentation for an introduction to the language.

The compiler is written in TypeScript and runs on Node. You can build the compiler and run a few small programs by typing make test (if you have npm). Check out the code documentation for an introduction to the compiler's internals.

Using and Hacking

To get started, make sure you have Node and clone the repository. The included Makefile should build everything, or you can type these commands to use npm to get things ready:

$ npm install
$ npm run build

The latter produces the parser and compiles the source code with TypeScript's tsc command. Then, you might want to run:

$ npm link

to install an alias to the ssc command. Then, type:

$ ssc --help

to see some options. In particular, run ssc example.ss to interpret programs; run ssc -c example.ss to compile programs to JavaScript; and run ssc -cx example.ss to compile programs and then execute the resulting JavaScript.

Details

The license is MIT. This project uses the Microsoft Open Source Code of Conduct; check out the FAQ about the CoC.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 67.7%
  • Scheme 22.7%
  • Makefile 2.7%
  • JavaScript 2.6%
  • Python 2.3%
  • CSS 1.1%
  • HTML 0.9%