Reputation: 3356
Hi
Anybody knows how can I use VS2010 IDE to write my own language codes and compile it with my own compiler?
Upvotes: 0
Views: 198
Reputation: 4167
I will not suggest to use .Net in any case to write your own programming language/compiler. If you use .net, then the person who will be using your compiler must have .net framework. And also the program will undergo lots of conversion from your launguage -> your compiler-> converted .net code -> .net stuffs here to generate the code for windows. It will just add one more step.
EDIT:
Here are some references of compilers, you can use them as your guide.
http://wiki.freepascal.org/Compiler_development_articles
http://en.wikipedia.org/wiki/Dev-C%2B%2B
http://en.wikipedia.org/wiki/Compiler
Upvotes: 2
Reputation: 55009
I'd suggest looking at IronPython, and specifically the IronPython tools for Visual Studio which is OpenSourced and so you might be able to see how they do it.
Upvotes: 2