Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, I would extend that and ask. Has anybody completed implementing the Lexer/Parser phase? Once you get the Syntax tree or IR, the complexity is more or less (if not exactly the same) similar to other languages.


I've written a complete C++98 compiler, front to back.


How long did something like that take you to do?


WalterBright[0] wrote the first native code C++ compiler, Zortech C++, (later called Symantec C++ and recently DigitalMars C++) and is the man behind the D programming language.

[0] http://en.wikipedia.org/wiki/Walter_Bright


10 years


Mr. Bright, you're my hero. Really. Not only because you have made a C++ compiler using recusive descent parser and it's was the first ever to generate native code and the first comercial too and you don't even do generate assembly on dmd. You still made the D language and dmd compiler. A world saving tool from C and C++. It will rock the world. Could you imagine one of the next world's famous software like Windows or *BSD written in D? Also, I'm on the way on compiler business too (joke :-)). (sorry english, not my native language)


I am going to second arcft now. You are now my hero too! Wow, 10 years!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: