evanrmurphy / SweetScript

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

Home Page:https://github.com/evanrmurphy/SweetScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

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

https://github.com/evanrmurphy/SweetScript


Languages

Language:Arc 71.4%Language:Scheme 16.8%Language:JavaScript 10.7%Language:CoffeeScript 1.1%