Camen Design Forum


(Leave this as-is, it’s a trap!)

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE[5]: Kroc's Work Log


I pushed a few small changes in the ever-continuing epic saga that is the `FileParse` rewrite:

* Changed the hex-to-decimal conversion to a fast look-up table method instead of using string-concat
* Defined Names are now validated inline, doing away with a very slow function I had for it before
* Defined Names now use one token instead of separate ones, with the token attributes providing the particulars. This makes it easy to handle composite Names (e.g. ``

I've now begun work on getting the Abstract Syntax Tree nodes to link together. This is a bit tricky to do due to fetching one word at a time; the relationships between nodes varies.

Once the AST is linked up, I'll need to redo the assembly pass to use the tree instead (doing away with a lot of duplicate validation) and I should finally see some results for all this work. The purpose of this work is to provide thorough validation during source reading so that grammar and syntax errors can be comprehensively trapped -- a prerequisite for a 1.0 release.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn