Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 771 Bytes

README.md

File metadata and controls

43 lines (39 loc) · 771 Bytes

#GELO

JavaScript-ish syntax flavor running on the Erlang VM.

INSTALLATION:

git clone [email protected]:gustehn/GELO.git
cd GELO
./rebar compile

Setup environment variables:

$GELOPATH=`pwd`
$PATH=$PATH:`pwd`

Webserver up and spinning in 8 lines of code:
example.gelo ``` function webServer(){ var port = 1337; server.create( port , function(request, socket){ console.log(request.url); server.send(socket, 200, "Content-Type: text/html", "Hello World"); }); } ``` Compile it: ``` $ gelo compile example Compilation complete: example ``` And run it: ``` gelo example webServer ``` Look into example.gelo for more examples!

Happy hacking

// @gustehn