Monday, March 18, 2013

Methodology (and Madness)

I don't have a CS degree, and I've never taken a class in compiler design, so this experiment ought to be pretty interesting.  I'm going to create a functional programming language (called Toyl, for "Toy Language"), as well as the compiler needed to compile a Toyl program into a .NET executable.

I will do this by first developing C# code that is equivalent to units of Toyl code, then I will disassemble the C# code, and figure out how to translate the Toyl code into equivalent IL assembly code.

So there you have it.  Laugh if you want to, weep if you pity the fool that attempts to do something like this.  It ought to be fun.

No comments:

Post a Comment