yagg

yagg, given YACC-like and LEX-like input files, generates a C++ program that generates all strings of a user-specified length.
Download

yagg Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • David Coppit
  • Publisher web site:
  • http://search.cpan.org/~dcoppit/yagg-1.4001/lib/yagg/Tutorial.pod

yagg Tags


yagg Description

yagg, given YACC-like and LEX-like input files, generates a C++ program that generates all strings of a user-specified length. yagg, given YACC-like and LEX-like input files, generates a C++ program that generates all strings of a user-specified length. yagg can then be used to generate inputs for testing, or to validate that a grammar accepts the strings that you think it does.The grammar file provides the grammar productions for string generation, along with optional action blocks that can perform context-sensitive checks in order to limit the generated strings. The LEX-like terminal generator file provides specifications that instruct the program how to generate strings for terminals in the grammar.What's New in This Release:· Added a section to the tutorial on controlling output formatting. (Thanks to Casiano Rodriguez Leon for the question.)· Fixed a misspelling in the hexadecimal example's README.· Updated the makefile version· Fixed an assert failure that would occur if (1) a rule list has more than one nonterminal, (2) some nonterminal in the list except the last one had no strings for a given allocation, and (3) the last nonterminal had strings for the given allocation.· Updated the Makefiles· Updated the test cases for the pass-by-reference updates in 1.3000.· Make it possible to call Print_Strings from anywhere in the program for debugging. Maybe I'll add a flag for it later.· Added RBD example


yagg Related Software