Writing a native language compiler?

– Alon Gubkin Oct 21 '09 at 19:05 Ohhhhhhhhhhhhhh yeaaaaaaaaaaaaaah! – vehomzzz Oct 21 '09 at 19:45.

There is also a tutorial And at least one book.

This belong in the comment under my answer, genius. – vehomzzz Oct 21 '09 at 21:01 I don't really understand, the ANTLR is translating my own language to another? – Alon Gubkin Oct 22 '09 at 11:46 Yes it handles all the details of parsing your language and then by generating C/python etc it also saves you dealing with the details of assembler on your platform.It's a replacemnet for YACC/Lex etc. – Martin Beckett Oct 22 '09 at 13:27.

This is one is not bad either, though pales in comparison to my answer! – vehomzzz Oct 21 '09 at 21:01 @Andrei, I wasn't going to mention ANTLR since you did it, but LLVM is a good alternative. – LB .

Oct 22 '09 at 13:29.

I've to implement my custom native-compiled Windows programming language. Is there an easier way then translating it to ASM, or translating it to C/C++ and then use a C/C++ compiler? Is there any SDK or something?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions