Build Your Own .NET Language and Compiler by Edward G. Nilges

Build Your Own .NET Language and Compiler



Download eBook




Build Your Own .NET Language and Compiler Edward G. Nilges ebook
ISBN: 1590591348, 9781590591345
Format: chm
Publisher: Apress
Page: 408


Build Your Own .NET Language and Compiler by Edward G. A goal of the Mono project is to build a "build your own framework" platform where you can use Mono+your app as an "appliance", dynamically reshaping not just assemblies but also the VM itself. All this is for counting everything anyone writes that could be called a compiler; the most popular mainstream language implementations may very well be focused on C implementation, but that doesn't mean the people who chose C for them knew what they were doing. My presentation deals with this issue at length, but a nice summary can be found in the Guile manual: this freedom covers modifying and rebuilding the C code; but if the program also provides an extension language, that is usually a much friendlier and lower-barrier-of-entry way for the user to start making their own changes. Either a codeDOM provider or an IQueryable LINQ provider could support languages specifically geared towards network traversal – and would make things like ad hoc custom tracing easier. Maybe once ArcGIS supports .NET 4.0, I'll NET, etc., I think GIS deserves its own languages. For those of you who don't know what Boo is its a statically typed CLR language with Python like syntax that lets you extend it's compiler, and the language itself easily by giving you access to the AST (Abstract Syntax Tree) and Which is why I' ve been reading Ayende's book DSLs in Boo: Domain Specific Languages in .NET. NET compilers are part of the standard .NET Framework installation. Why care about extension languages? In that spirit, I would like to re-make the argument for Guile as the GNU extension language. The .NET Framework provides modules that can compile source code and turn it into an assembly in memory. Sure how many developers in the general population ever aspire to create their own computer language though - notwithstanding Apress having just published a book entitled Build Your Own .NET Language and Compiler.