Wouter Buzing <email@example.com> wrote:
| I have to write a parser for Common LISP and the assignment
| is to do it with YACC and LEX.
Whoever did that to you must really hate Lisp! (Or else they hate
YACC & LEX and your *next* assignment will be to write the parser
in Common Lisp...) ;-}
Common Lisp itself is probably the easiest language to write a parser
for Common Lisp in. Though some suggest it could use some help. See:
"Pragmatic Parsing in Common Lisp". ACM Lisp Pointers 4,2
(Apr-Jun 1991), 3-15. If you have Common Lisp, you shouldn't
need to hack Unix 'lex' and 'yacc'. 14 pages.
Rob Warnock, 7L-551 firstname.lastname@example.org
Silicon Graphics, Inc. http://reality.sgi.com/rpw3/
2011 N. Shoreline Blvd. Phone: 415-933-1673 FAX: 415-933-0979
Mountain View, CA 94043 PP-ASEL-IA