A lispy language that compiles into JavaScript, strongly influenced by Arc.
Arc Scheme JavaScript CoffeeScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
arc3.1
README.markdown

README.markdown

SweetScript

SweetScript has died and been reborn as LavaScript. Seek your lispy-javascript goodness there!

A lispy language that compiles into JavaScript, strongly influenced by Arc.

Install and Run

SweetScript runs on a modified version of arc3.1. After installing racket (previously called mzscheme):

git clone git@github.com:evanrmurphy/SweetScript.git
cd SweetScript/arc3.1
racket -f as.scm

You should find yourself at the arc> prompt. Enter (sweet) to use SweetScript:

arc> (sweet)
Welcome to SweetScript! Type (sour) to leave.
sweet> (def hello ()
         (alert "hello world!"))
hello=(function(){return alert('hello world!');});
sweet> (sour)
Bye!
nil
arc>