- !!!用户新注册邮件系统遭恶意攻击,暂不能发送邮件,请隔天尝试。寻求解决方案中
- 【征集】西西河的经济学,及清流措施,需要主动参与者
- 『稷下学宫』新认证方式
- 24年网站打算和努力目标
主题:【原创】语言编译器等请教 -- 中国农民
Sorry first since I cannot input Chinese in my office machine:( It's something like when you install GCC on your linux box (like 3 ~ 5 years ago), you have to install a bootstrap gcc first, then use that to compile your real gcc compiler (or the latest gcc compiler). And then after that, you can compile your C/C++ program using the "real" gcc compiler.
So at the beginning, there is only machine code, then the assembly language (you can use assembler to generate machine code). The first assembler had to be programmed using machine code. But after that, programmers can create better assemblers using the very first assembler. Then it comes to the so called "advanced programming language" era, some guys used the assembler (along with some machine code when necessary) to create a first compiler for an advanced programming language. After the first compiler works, programmers then could use that first compiler to create a better compiler. Just like now you can use yacc/lex to create a compiler/interpreter for some of your own languages:)
Just like the "Tao".....:D
- 相关回复 上下关系8
🙂【原创】语言编译器等请教 中国农民 字200 2007-11-05 19:09:47
🙂任何语言都可以做编译器。 荆棘探兴 字462 2007-11-27 22:42:29
🙂假如由C做C++的编译器 中国农民 字60 2007-11-24 08:11:40
🙂IMHO
🙂能否再详细点? 中国农民 字77 2007-11-26 16:53:59
😜不好意思最近比较忙,没有下河 whoknows 字1154 2007-12-06 22:06:09
🙂你的伪代码 罗博 字120 2007-12-07 07:24:21
🙂You can google the inventor, but whoknows 字602 2007-12-07 12:29:56