gijit / gi

gijit is a just-in-time trace-compiled golang REPL. Standing on the shoulders of giants (GopherJS and LuaJIT).
Other
320 stars 17 forks source link

stand alone expressions #19

Closed glycerine closed 6 years ago

glycerine commented 6 years ago

Currently

3 + 4

won't compile, but

a := 3 +4

will of course.

To be as useful as R in calculator mode, perhaps we should accept and evaluate plain expressions as well as statements and declarations.

glycerine commented 6 years ago

done before v0.8.2, using = to activate "calculator mode"