Name:
sven
2013-07-13 13:17
I want to write a C compiler, and I was thinking of tokenizing and parsing code by turning the entire syntax into a giant regexp. Is this a good idea?
Name:
Anonymous
2013-07-13 13:19
The compiler you use to compile your own C compiler will leave a backdoor.
Unless you create a compiler from scratch, it cannot be trusted. Why even bother?
Also, I wrote a C compiler when I was 12.