-
Recent Posts
Recent Comments
Archives
- August 2022
- December 2021
- July 2021
- March 2021
- October 2020
- September 2020
- June 2019
- February 2018
- November 2017
- August 2016
- April 2016
- February 2016
- November 2015
- July 2015
- October 2014
- May 2014
- November 2013
- August 2013
- July 2013
- June 2013
- May 2013
- February 2013
- January 2013
- October 2012
- August 2012
Categories
Meta
OpenPhoenux
Monthly Archives: October 2014
Structured statements and expressions in Ocean
Now that I have my general parsing worked out and understand how I want to use indents and line breaks to give a two dimensional structure to my language, I need to think about the details of some of the … Continue reading
Posted in Language Design
Leave a comment
A case for multiple completed items in LR parser states.
In my earlier note about LR parsing I observed that many simple grammars will only ever have at most one REDUCE action in any given state. This means that there is no need for an “action table” to list which … Continue reading
Posted in Language Design
Leave a comment
Line breaks – a reprise.
In two previous articles I explored an approach to enhancing an LR parser to work with indents and line breaks. While I discovered some useful ideas and produced some code that seemed to work, I’ve subsequently discovered some serious flaws … Continue reading
Posted in Language Design
Leave a comment