StaticScript
Real Static Typed Script - RSTS project.
StaticScript is a language on top of TypeScript as frontend and LLVM as backend for code-generation to binary.
Installing
For latest stable version:
npm install -g static-script
Let's write simple example
Put it in calculate-pi.ts
Next compile it:
$ ./bin/ssc calculate-pi.ts
Next run it:
$ time ./output/main
This will produce:
3.144800
./output/main 0,01s user 0,00s system 80% cpu 0,013 total
LICENSE
This project is open-sourced software licensed under the MIT License.
See the LICENSE file for more information.