Has anyone written a context free grammar specification like BNF? If its recursive descent that would indicate an LL parse. There are lots of tools out there to generate highly efficient tables for parsing and scanning.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Lorenzo Marcantonio Sent: Monday, August 06, 2012 3:56 AM To: Kicad Developers Subject: Re: [Kicad-developers] Proposal for batch plotting On Sun, Aug 05, 2012 at 08:57:45AM +0200, jean-pierre charras wrote: > Important headers: richio.h and dsnlexer.h For samples, have a look to > netlist_reader_kicad.cpp and pcb_plot_parameters.cpp It looks it's designed to drive a recursive descendant parser with no lookahead (well, it with the prev_token you could do lookahead, altough not so easily). Am I right? Seems easy enough to use, actually... > (I am thinking you could use and extend this list because it already > contains keyword to read/store plot parameters) Exactly, it already contains 90% of the needed stuff... -- Lorenzo Marcantonio Logos Srl _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

