Hello Friends,

I want to create our own object oriented programming language using C#. Is it possible?How?
I want to know what are the steps used to create the languages.

Please guide me.

Thanking you.

Regards,

Shridhar

This is the code for a console calculator I posted here.
It knows what a named variable is and has a notion of functions.
You could try to add an If statement or a loop statement to it.
http://www.daniweb.com/software-development/csharp/code/217185
http://www.daniweb.com/software-development/csharp/code/217186
http://www.daniweb.com/software-development/csharp/code/217187
I hope it will give you a little insight of what compiler building means.

well the very first thing you need to know is how to make a compiler, search about compiler design or some thing, and after that you need to be a c# guru if even it is possible to make a compiler with a HLL like C#, but you have to know how to code in assembler, that is mandatory, and you also need to know about operating systems, then you will get a picture of where you should start.
have fun!

i have one in C, but its not yet finished. wanna see it for reference? lolz

if even it is possible to make a compiler with a HLL like C#, but you have to know how to code in assembler, that is mandatory

It is very possible to create a compiler in C# and you don't need to know assembler at all. Using the Emit methods you can generate IL code and save it to a file (just like the C# compiler does). Developing a simple language wouldn't be too hard, and then you can build on it from there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.