Skip to content
/ GELO Public

JavaScript-ish syntax flavor running on the erlang-VM

Notifications You must be signed in to change notification settings

rimmius/GELO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

JavaScript-ish syntax flavor running on the erlang-VM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published