User Tools

Site Tools


start

Home

Welcome on Dev Musings. Here are my ramblings about free open-source software, high-tech gadgets and (mostly functional) programming.

Photon Compiler Development: Conditionals

This is the 12th article of a series (table of contents) about compiler development with LLVM using OCaml. We intend to develop a compiler for a subset of OCaml large enough to allow our compiler to compile itself.

In this article, we add our first control flow construct, the if-then-else conditional.

→ Read more...

2011/02/03 15:40 · 0 Comments

Photon Compiler Development: Comparison Operators

This is the 11th article of a series (table of contents) about compiler development with LLVM using OCaml. We intend to develop a compiler for a subset of OCaml large enough to allow our compiler to compile itself.

In this article, we add comparison operators to our language.

→ Read more...

2011/02/03 10:18 · 0 Comments

Photon Compiler Development: Function Definitions

This is the tenth article of a series (table of contents) about compiler development with LLVM using OCaml. We intend to develop a compiler for a subset of OCaml large enough to allow our compiler to compile itself.

In this article, we add function definitions to our language.

→ Read more...

2011/02/02 15:38 · 0 Comments

Photon Compiler Development: Controlling Output

This is the nineth article of a series (table of contents) about compiler development with LLVM using OCaml. We intend to develop a compiler for a subset of OCaml large enough to allow our compiler to compile itself.

In this article, we de-clutter the output by adding command line arguments and top-level directives to control the desired level of debugging information. We also make some cosmetic changes.

→ Read more...

2011/01/31 17:04 · 0 Comments
start.txt · Last modified: 2012/01/26 21:06 by csoldani