-
Archives
- December 2014
- October 2013
- July 2013
- May 2013
- March 2013
- January 2013
- July 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- August 2010
- June 2010
- April 2010
- March 2010
- February 2010
- January 2010
-
Meta
Monthly Archives: July 2011
AST traversal
I was a bit stuck on how to traverse the AST. Since each node is an object with named fields (instead of elements in a “children” list, for instance), I would have potentially needed to write a “get children” function … Continue reading
Posted in sool
Leave a comment
Abstract syntax tree
My last implementation related post was about refactoring the parser. And refactor I did. I have a shiny new parse tree (“concrete syntax tree”) made of tokens and nodes of tokens. But being a simple parse tree, nodes also carry … Continue reading
Posted in sool
Leave a comment
How I learned to stop worrying and love GC
So if you’ve followed a bit my previous ramblings, you’ll have noticed that I paid particular attention to memory management. From manual allocation and freeing in C/C++, to framework based retain/autorelease pools in Objective-C, via complete garbage collection in Lua, … Continue reading
Posted in sool
Leave a comment