Skip to content

ideal-knee/narly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Narly

Not a real language... yet.

Narly is a preprocessor to generate code (just C at the moment) from Lisp s-expressions. It gives you the full power of Common Lisp at compile time.

Usage

cat your-narly-source-file.n | sbcl --script src/c-cli.lisp > your-c-source-file.c

Should work fine with any ANSI-compliant Common Lisp, though figuring out the exact incantation to get the functionality of the SBCL --script option is left as an exercise of the user. If you don't have a preference of Common Lisp implementation, just use SBCL.

Run tests

Requires Bats.

bats tests/*.bats

Why isn't this implemented in Clojure?

Gross.

License

Copyright © 2014 Dan Kee

About

Not a real language... yet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published