Monthly Archives: May 2011

I can haz purr-s treeh

Nova works fairly well. The parsing, as foreseen, was quasi trivial to implement. Each rule produces a node, that is a list of subnodes, and a reference to the rule that produced it. An optional/repetition rule may produce an empty … Continue reading

Posted in sool | Leave a comment

sool is going nova

Or rather, sool’s parser is going meta. For the interest of science (or more like fun), I am making a generic LL(1) parser. It reads in a grammar, described using Lua tables with the appropriate format, checks whether it is … Continue reading

Posted in sool | Leave a comment

Free software licenses

For a long time I have been pro-copyleft. It just seemed fair that if I made the effort of releasing my work to be freely used and modified, then the least people could do would be that they did the … Continue reading

Posted in Uncategorized | 5 Comments

sool: a bit of syntax

Grammar/syntax In the spirit of “let’s keep things simple”, I want the language to be simple to parse. A simple parser to write is the “recursive descent” parser, in which each rule of the grammar is a function, which recursively … Continue reading

Posted in sool | Leave a comment

sool: more memory management

Memory management 2 After giving a bit of thought to the comments that concluded the last post, I decided that I really liked the idea of tombstone + main owner + weak references. Let’s see what would be the implications … Continue reading

Posted in sool | Leave a comment

sool: rise and shine

In a previous post, I whine and rambled about how no high level programming language was perfect, and concluded on interrogations on what was my ideal programming language. Since then, I took the thing one step further and started designing … Continue reading

Posted in sool | Leave a comment