I agree. The ElfDataParser certainly did the trick, but could be a royal pain in the butt to get code parsing to work flawlessly. Depending on complexity of the task of course, it took quite a bit of effort at times.
Ron.
To: elfdata@yahoogroups.com
From: delete@...
Date: Sun, 31 May 2009 18:28:05 +0100
Subject: [elfdata] Making a new class, ElfDataTokenizer
Hi everyone,
I'll be making a new class, ElfDataTokenizer.
ElfDataTokenizer will be useful for writing a code parsing framework.
While ElfDataParser was good for parsing data such as XML, it sucked
for parsing code. So I'm going to write this class to help parse code.
It should be fast, and result in simple code.
I've looked into "recursive descent" parsers, which while are simple
in theory, are slow and result in overly complex code. Simple design,
but basically ungainly result.
ElfDataTokenizer as a framework, will be far superior to "recursive
descent". Although actually kind of related in a way. I guess it will
be a large improvement to "recursive descent".
Deel je favoriete foto's online met Windows Live Photos
Ron.
To: elfdata@yahoogroups.com
From: delete@...
Date: Sun, 31 May 2009 18:28:05 +0100
Subject: [elfdata] Making a new class, ElfDataTokenizer
Hi everyone,
I'll be making a new class, ElfDataTokenizer.
ElfDataTokenizer will be useful for writing a code parsing framework.
While ElfDataParser was good for parsing data such as XML, it sucked
for parsing code. So I'm going to write this class to help parse code.
It should be fast, and result in simple code.
I've looked into "recursive descent" parsers, which while are simple
in theory, are slow and result in overly complex code. Simple design,
but basically ungainly result.
ElfDataTokenizer as a framework, will be far superior to "recursive
descent". Although actually kind of related in a way. I guess it will
be a large improvement to "recursive descent".
Deel je favoriete foto's online met Windows Live Photos