Re:Implementing a Virtual Machine in C
by r4pha on Tuesday June 23, 2015 @08:42AM
(#9764218)
There's something really nice about these minimalistic C projects. You can quickly take a look at the source and immediatelly grasp what's happening. A simple and didactic introduction. Super cool.
[ Parent
| on HN ]
Yes. Obligatory and tedious re-up for my favorite minimalistic C program of the last 5 years:
Take 2 hours to grok this and you can skip compiler books and move straight to compiler papers.
Re:Implementing a Virtual Machine in C
by Winterflow3r on Tuesday June 23, 2015 @02:23PM
(#9766608)
Challenge accepted.
An even better challenge: add structs to the compiler. :)
Re:Implementing a Virtual Machine in C
by Winterflow3r on Tuesday June 23, 2015 @05:55PM
(#9768120)
haha okay!
I don't have any formal CS training though (and the CPU between the ears isn't too great either) so it's going to take me more than 2 hours. I'm going through void next() right now. Are you open for questions on Github?