3 ms·
I had a CS degree. Our compiler course had us design a toy language, then write a compiler for that language which targeted another (eg write a compiler in ruby
by tomjen3 10y ago
I had a CS degree. Our compiler course had us design a toy language, then write a compiler for that language which targeted another (eg write a compiler in ruby to target the JVM or ASM). They were all worse than most other compilers you could get, but today I know how to write one.
It was still a lot of work, mind you.