A lisp that compiles to and runs as fast as lua. Equipped with macroes and compile-time compiler manipulation. Comes with all built-in lua functions.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 406 commits behind meric:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.markdown
l2l
sample01.lsp
sample01.lua
sample02.lsp
sample02.lua
sample03.lsp
sample03.lua

README.markdown

Lisp to Lua Compiler

Description

A object-oriented, unicode-enabled lisp that compiles to and runs as fast as Lua. Equipped with macros and compile-time compiler manipulation. Comes with all built-in Lua functions.

Requires Lua 5.2!

Warning

If input file is named foo.lsp, foo.lua will be replaced with the compiler output!

Example

To compile all the examples:

./l2l sample01.lsp sample02.lsp sample03.lsp

To run a particular example:

lua sample01.lua

Quickstart

# cd into l2l directory
# Requires Lua 5.2! (Or modify l2l's header to point to Lua 5.2 executable)
./l2l sample01.lsp sample02.lsp sample03.lsp
lua sample01.lua