1 /* $Id: parser.h,v 1.4 1994/06/24 10:30:42 ceriel Exp $ */
3 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4 * See the copyright notice in the ACK home directory, in the file "Copyright".
6 bool parse(); /* (line_p l, *l_out; offset nbytes;
7 * int level; int (*action0) ())
8 * This is a recursive descent parser for
10 * It tries to recognize EM code that loads exactly
11 * 'nbytes' bytes on the stack.
12 * 'l' is the last instruction of this code.
13 * On toplevel, when an expression has been
14 * recognized, the procedure-parameter
15 * 'action0' is called, with parameters: the first and
16 * last instruction of the expression and the number of