Hello Perl Mongers, I am thinking of playing around with the idea of Linting the install scripts used for automated Linux deployment.
For KickStart, there is pyKickStart which could be a base to go on (not looked at it yet). For AutoYaST, it is a trivial problem (it's XML), so as long as I can get a current schema, it's done. For Preseed, which is the one that interests me at the moment, there isn't much I can find. One can feed the file to sudo debconf-set-selections -c file.seed and get some kind of test (but there are issues, for instance, whitespace is not handled correctly). But that's about it. I would like to build a full parser and then have the ability to do more then generate errors, but also syntax completion suggestions, possibly even highlighting. I am not scared of C, but I think a higher level language like Perl (or the other P) may be kinder to my time. Since there are a number of language wizards in the group, I am asking for pointers, as I have not worked on implementing a language parser before. So tutorials "shorter than Aho" to get this accomplished are very welcome :) How would you break the work, which modules would help? That is what I am really asking, so that I can ask the right questions next ;) I saw that Martin Fowler authored a tome on implementing DSLs. Anyone checked that out? Does it apply? Best -F _________________________________________ -- "'Problem' is a bleak word for challenge" - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

