Arc Forumnew | comments | leaders | submitlogin
3 points by akkartik 4693 days ago | link | parent

evanrmurphy did some work in this area: http://arclanguage.org/item?id=13775


2 points by evanrmurphy 4691 days ago | link

Don't forget rocketnia's awesome in-browser REPL:

http://rocketnia.kodingen.com/af/try-lava-script/

It shows you the compiled JavaScript for your input expression as well as the evaluated result. For example:

  ; Defining a function
  > (= add1 (fn(x­) (+ 1 x)))        
  add1=(function(x){return 1+x;})   
  => function (x){return 1+x;}      

  ; Calling the function
  > (add1 2)
  add1(2)
  => 3

-----

1 point by Pauan 4691 days ago | link

Ah, nice.

-----