LLVM based Just-in-Time-Compiler for C++
jyt.io
jyt.io
Can't wait until this is finished given certain tendencies to use C++ as a scripting language...
Thanks
C++ > system("uname -a");
Linux KaliBaseVm 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux
So that's nice :DEDIT:
Honestly I feel kinda bad about dismissing this project so quickly. It works really well, and now that I took a better look at the examples I must say that it actually looks quite elegant. I didn't understand what I was seeing at first :o
- thread support
- string evaluation
- debugger
- convenient installation
- code reflection
In the near future it will have: - coroutine support
- syntax extensions
- assembly support
- llvm toolchain integration
Things we currently explore: - modules and package managment
- IDE-plugins
- in-browser IDE
- custom memory modelsOne thing I'm missing in interactive interpreters is a way to save code to a file on the fly - testing things and preparing the output file in one go. Does anybody know a solution to this for, say, Python?
For example "%save mycode.py 1-10" saves the code input on lines 1 through 10 of the session to the file "mycode.py".
It opens your system editor and then runs the code on save. (-p opens the last edited thing from within the current ipython session)
Edit: and most of the work with this kind of project is about integrating into the Front-end, so LLVM-based or not does not really help for the amount of work to put in.