Yesterday, I finally got my first real Red program compiling and running:
This doesn't look like much but it proves that the whole current Red stack is working properly. Red compiler generates Red/System code in memory, that is then compiled to native code and linked in a 14KB executable file (contains the full Red runtime with currently 9 datatypes partially implemented).Red [] print 1
The baby needs a few more days in the nursery before I commit the new code to the v0.3.0 branch on Github. Once the existing datatypes will be more complete and once we choose how to deal internally with Unicode strings, we should be able to release the first Red alpha.
The current Red compiler is pretty simple and should remain light in the future. I have finally chosen an hybrid dynamic/static type system, to avoid diving into a complex type inference engine now, as I realized that once we get out of the bootstrap and have the final Red JIT-compiler, it will be much more easier to achieve. Also, I want to pass that bootstrap stage as soon as possible, because it is really limiting the full Red potential.
Stay tuned, the next months will be fun! ;-)
Congratulation to the baby and his father.
ReplyDeleteFélicitations les plus sincères.
Congratulations !
ReplyDeletewaiting for the baby saying "hello world !"
Congratulations ! Nice to see this lightspeed progress!
ReplyDeleteThanks guys! For HelloWorld step, I would like first to figure out how to handle Unicode internally, which, for a cross-platform tool is really not trivial.
ReplyDeleteCongrats Doc nice to see this!
ReplyDeleteJacob Goodson
Congratulations on this achievement! Next is the Hello Unicoded World! program, making Red the first programming language in the world to skip the Hello World! stage. :-)
ReplyDeleteBravo Nenad. J'espere que le bb va grandir vite!
ReplyDeleteLdci
Excellent, on va suivre ça de prêt!
ReplyDelete*suivre de près...
ReplyDeletesuper !
ReplyDeletegreat milestone- I like the fact that it is compiled, not interpreted like Rebol. Rebol was like a tortoise/turtle
ReplyDeleteFélicitation !
ReplyDeleteFantastic news. Well done!
ReplyDeleteYou are a genius!!!
ReplyDeleteJust read again this blog entry. It is near 7 years since its birth. Just look at how far things have gone.
ReplyDelete