3 ms·
How about "Write a compiler/interpreter for language X in language X"?
by michael_dorfman 19y ago
How about "Write a compiler/interpreter for language X in language X"?
- smanek 19y agoThat could be rather non-trivial for some values of X ... Maybe writing a minimal lisp like AWKLisp (with just CAR, CDR, CONS, EQ, ATOM, SET, EVAL, ERROR, QUOTE, COND, AND, OR, LIST) could be more reasonable.
- michael_dorfman 19y agoNon-trivial, but (even if ultimately unsuccessful) an excellent exercise to get to know a language