Monthly Archives: June 2013

Lexical Structure

It is traditional to divide the parsing of a program into two conceptually separate stages – the lexical analysis which extracts a stream of tokens from a stream of characters, and the grammar matching stage which gathers those tokens into … Continue reading

Posted in Language Design | Comments Off

Literate programming?

I was going to start out by describing the lexical structure of Ocean, but as I thought more about it, I realised there was something that needed to come first.  And that something is literate programming. Literate programming is the … Continue reading

Posted in Language Design | Comments Off