A javascript with Lispy syntax and macros
Switch branches/tags
Clone or download
Pull request Compare This branch is 1 commit ahead of santoshrajan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
examples
includes
lib
src
test
.DS_Store
.gitignore
CHANGELOG.md
LICENSE
README.md
package.json

README.md

LispyScript

For Overview, documentation, usage, try it, examples see

http://lispyscript.com

A Javascript with Lispy syntax and Macros!

Lispyscript is Javascript using a 'Lispy' syntax, and compiles to Javascript.

Features

  • Javscript Semantics
  • Macros
  • Tail Call Optimization
  • Templates
  • Callback Sequence (avoid nested callbacks)
  • Monads
  • Run in browser
  • Server-side and Browser-side REPLs
  • Unit test feature

Use

Requires Node.js, and by extenstion npm.

Install using npm:

npm install -g lispyscript

Run a simple LispyScript REPL

lispy

Compile 'test.ls' to 'test.js' in the same folder

lispy test.ls

Compile 'test.ls' to 'test.js' in another folder

lispy src/test.ls lib/test.js

LispyScript was inspired by Beating the averages.

Discuss LispyScript at https://groups.google.com/forum/#!forum/lispyscript.

Contributors

Santosh Rajan santoshrajan.
Balaji Rao balajirrao.
Irakli Gozalishvili Gozala.
Darren Cruse darrencruse

Note to Contributors

To build and run the tests do:

npm test

To build all generated files (including the browser bundle) do:

npm run-script prepublish

Note if browserify fails to find your lispyscript module - Consider adding the location of your lispyscript repo directory on your $NODE_PATH.