include <alex.h> include <ayacc.h> include <blex.h> include <byacc.h> int main() { alex k; ayacc x(&k); cout << "BEGIN [a]\n"; x(); cout << "END\n"; alex l(istrstream("a b X Y c d Z e")); byacc y(&l); cout << "BEGIN [b]\n"; y(); cout << "END\n"; blex m(istrstream("a b X Y c d Z e")); byacc z(&m); cout << "BEGIN [c]\n"; z(); cout << "END\n"; return 0; }
Hush Online Technology
hush@cs.vu.nl
09/09/98 |
![]() |
![]() |