Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lisp to JS compiler

The binaries for the operation systems are the following:

  • ./bin/compiler-linux for Linux
  • ./bin/compiler-macos for MacOS
  • ./bin/compiler-win for Windows

Usage:

  • compiler --help
  • compiler examples/HelloWorld.lisp --run
  • compiler examples/HelloWorld.lisp --out output.js

There are example Lisp programs in the example directory.

Options:

  • --out Specify the file where the output should be saved.
  • --run Will run the compiled JavaScript program.

The source code is in the src directory and the main entry file is src/compiler.js.

This compiler is written in TypeScript and packaged with pkg.

If you want to compile from source you have to install node@v8 & npm.

First of all install all dependencies with npm install and then either run the project with npm start or build the binaries with npm run build.

About

A LISP to JavaScript compiler with parser combinators

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages