The F#.NET Journal just published an article about compiler writing:
"The .NET platform represents a radical departure from the previous generation of native-code compiled languages. Whereas languages such as C++ and Fortran have distinct compilation and execution phases, the .NET platform deliberately blurs this distinction with run-time compilation of a distributable platform-independent Common Intermediate Language (CIL). This article examines the use of run-time code generation from F# using the System.Reflection.Emit namespace to implement a compiler for a simple bytecode language..."
To read this article and more, subscribe to The F#.NET Journal today!
Easy parallelism in OCaml - Use the following invoke combinator to apply a function to a value in another (forked) process and then block waiting for its result when the () value is ...
2 years ago