Tag Archives: languages

Writing your own arithmetic language in F#.

During a programming languages course, we were asked to write an arithmetic language. The exercise was meant to teach some fundamental ideas regarding what a programming language is. So without further delay, here is the result of my first arithmetic language. type AE = | Num of int | Sum of AE * AE   [...]
Posted in Programming | Also tagged , | Leave a comment