All Projects → evanrmurphy → Sweetscript

evanrmurphy / Sweetscript

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

Programming Languages

arc
50 projects

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 [email protected]: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>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].