Make syntax more javascript like


#1

can syntax be made more javascript like
specifically
var y = function(x) { return x + 1; }
instead of
var y = fun(x) { return x+1; }

dont want to embed whole v8
for small simple scripts that i plan to share between c++ and js code


#2

If anything the syntax is moving more in the direction of C++ and less in the direction of javascript. There are things that will never work like you want - such as automatic closures over local variables.