views:

134

answers:

3

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?

Thank you.

A: 

Check out ANTLR library

vehomzzz
Did you mean ANTLR?
TTT
Ohhhhhhhhhhhhhh yeaaaaaaaaaaaaaah!
vehomzzz
A: 

Wouldn't this be a better link to ANTLR ?

There is also a tutorial

And at least one book

Martin Beckett
This belong in the comment under my answer, genius.
vehomzzz
I don't really understand, the ANTLR is translating my own language to another?
TTT
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
A: 

LLVM can run under Visual Studio

LB
this is one is not bad either, though pales in comparison to my answer!!
vehomzzz
@Andrei, i wasn't going to mention ANTLR since you did it, but LLVM is a good alternative.
LB