Showing posts with label recursive descent. Show all posts
Showing posts with label recursive descent. Show all posts

Monday, 16 August 2010

Parsing

The mkmap program parsing is now half way implemented (r74): instead of trying to make the usual recursive descent parser I made a so called shallow parse meaning that only the superficial structure of the document is currently parsed (incorrectly) such as { } pairs, but in the functions intended for the exact future descent parse. I've formerly considered the technique of shallow parsing for a macro-style scan of C, fantasizing to add an object orientation system intermediate between C++ and Objective-C, doing away with the sick C++ virtual tables and the static methods as a default, while the same avoiding the weird Objective-C syntax.