ck / toccata

A Clojure dialect that compiles to native executable using the Clang compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Toccata

A Clojure-inspired Lisp dialect that compiles to native executable using the Clang compiler

This is very much WFM code. Not suitable for any useful purpose.

You can learn more about Toccata by following the blog here

Quick Start

Make sure the Clang compiler is installed and runnable On OSX, it's part of the Xcode package. You can run 'clang -v' to check.

Clone this repo

cd to the repo directory

run the 'scripts/build' script. This will compile the 'toccata' executable and then use that to compile 'examples/hello.toc' and execute it. You should see 'Howdy, Universe!!!' as the final output.

Rebuilding Toccata

Run './toccata toccata.toc > toccata.c'

Then you can re-run the 'build' script.

Good luck!!!

About

A Clojure dialect that compiles to native executable using the Clang compiler

License:Eclipse Public License 1.0


Languages

Language:C 88.0%Language:TeX 12.0%Language:Shell 0.1%