The DejaVU Framework -- hush 3.0
[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?

source: main.c hush-3.0b4/api/grammar/examples/yacc


[.] - [up] [top] - index text make source grammar scripts
  include <grammar/lex.h>
  include <grammar/yacc.h>
  
  int main() {
  
  lex l;
  yacc y(&l);
  
  cout << "BEGIN\n";
  
  term* t = 0;
  while (t = y())
          cout << "One step" << endl;
  
  cout << "END\n";
  
  return 0;
  }
  

[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?
Hush Online Technology
hush@cs.vu.nl
09/09/98