Last night, as I finished up porting issues from the old Trac install to googlecode, I began pondering one of them, and ended up with some really good ideas. It was all about the Grammarian, and the new strategy of it doing its work through independent modules rather than a giant wodge of code in the Grammarian module itself.
Basically the Grammarian acts as a traffic cop and crossing guard for the Lexer and DOM while a series of Handler modules hands off the heavy lifting between themselves. I sat there, into the wee hours of Xmas morning, drawing revision after revision of a logic flowchart for the design. It seems like pretty good stuff at this point -- now I just have to get the DOM back on its feet so I can move on to this work.
And after that, it'll finally be possible to show off a Carrot validator!
No comments:
Post a Comment