I have created a few different full programming languages using some of the various parsing tools available. However, how would someone create a programming language that runs the .Net framework? Would I have to output the .Net IL and compile that or is there a higher level of abstraction?
Also, is there an easy way to get the language working in Visual Studio?
NET Framework is a platform for building software. It is not a language itself. The primary (but not only) languages developers use to build software on the . NET Framework are C# and Visual Basic.
C# (pronounced “see-sharp”) is the actual coding language that we write inside of the . NET framework.
C# is a modern, innovative, open-source, cross-platform object-oriented programming language and one of the top 5 programming languages on GitHub.
You'll want to take a look at the Microsoft Research Common Compiler Infrastructure (CCI) project. It provides everything you need to generate the metadata and the MSIL for an assembly. And the debugging .pdb file, rather important to get your language going.
There's a sister project, CCI Code Model and AST, that might be useful as well, depends how far along you got.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With