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

scanner: alex.l hush-3.0b4/api/grammar/examples/lexs


[.] - [up] [top] - index C++ text make include source grammar scripts
  

alex


  %class alex
  
  include <iostream.h>
  include <alex.h>
  include <blex.h>
  static blex b;
  
  "B" { blex b(istrstream("this is just an example")); b(); }
  [a-z]+ cout << yytext << " :A\n";
  [ \t]  { ;}
  \n { cout << " NL(A)\n"; }
  int main() {
  alex a;
  a();
  return 0;
  }
  

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