Open bencz opened 7 years ago
It is already possible to execute code without compilation. For example using ELT application. Similar js sample execute the script without actually compiling it
I mean, run the "binary.l" program without build it to a executable.
All I need is to define an appropriate grammar. I did some work on this and will re-implement it a little bit later - https://github.com/ELENA-LANG/elena-lang/blob/master/bin/scripts/elena.es
ELT (ELENA Virtual Machine Terminal) will be used to execute the code without static compilation
It will be possible to execute the code in intermediate mode or execute the whole program (e.g. binaray.l) using ELT and ELENAVM
@bencz - I can now concentrate only on this. So after a while, ELENA On Rails may become a reality. The second missing part - a web server
:D
For time being, limited subset of ELENA is supported by ELENA Script. Full support might be implemented in #513 (if ever)
Closing per previous post
Looking at some other programming languages into web, normally we see ( try online ), for example, the D language has this, kotlin.... So, knowing that the compiler generate a ecode, after build, maybe can be created a "elrun" project, to just execute the code as script language, so, the compiler part of parser do all the parser, the code gen generate the ecode, and execute the ecode ( it is just a mix of evm and elc )
Whit this, probably we can add a "Try online" into Elena language web site