nagyistoce / tin-man

Automatically exported from code.google.com/p/tin-man
GNU General Public License v3.0
0 stars 0 forks source link

Improved parser #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Replace the current EBNF-grammar based parser with a custom S-Expression parser 
that can operate directly upon the stream of bytes.

Experiment with making it generic such that generation occurs via lambda 
expressions for custom code.

Adhere to same interface to compare performance before/after.

Original issue reported on code.google.com by drewnoakes on 11 Jun 2010 at 4:59

GoogleCodeExporter commented 9 years ago
Might also want to consider the command trainer protocol to make sure a new 
parser would support that protocol too.

Original comment by drewnoakes on 14 Jun 2010 at 6:11

GoogleCodeExporter commented 9 years ago
The lexing part of this task is complete, though not committed to SVN.  What 
remains is the mapping from a sequence of SExpression tokenizer events to an 
object model which is something I haven't yet come up with an elegant solution 
for!

Original comment by drewnoakes on 21 Dec 2010 at 1:14