Related articles |
---|
How to parse keywords that can be used as identifiers? mark@research.techforce.nl (Mark Thiehatten) (1996-08-19) |
Re: How to parse keywords that may be used as identifiers scooter@mccabe.com (Scott Stanchfield) (1996-08-19) |
Re: How to parse keywords that can be used as identifiers? anton@a0.complang.tuwien.ac.at (1996-08-20) |
Re: How to parse keywords that can be used as identifiers? kanze@lts.sel.alcatel.de (1996-08-20) |
Re: How to parse keywords that may be used as identifiers gleeh@tulletts.sprint.com (1996-08-21) |
Re: How to parse keywords that can be used as identifiers? leichter@smarts.com (Jerry Leichter) (1996-08-21) |
Re: How to parse keywords that can be used as identifiers? ph@anweald.exnet.co.uk (1996-08-24) |
[9 later articles] |
From: | Mark Thiehatten <mark@research.techforce.nl> |
Newsgroups: | comp.compilers |
Date: | 19 Aug 1996 23:12:57 -0400 |
Organization: | TechForce BV |
Keywords: | parse, question, comment |
Hello,
I am working on a parser for a language that allows keywords to
be used as identifiers. This causes all kinds of problems.
I would like to know if somebody has already solved this problem,
and, of course, how.
Ps.
I am using flex and bison to build the parser.
Regards,
M. Thiehatten
-----------------------------------------------------------------
Ir M.J.M. Thiehatten TechForce BV
mark.thiehatten@research.techforce.nl P.O. Box 3108
Tel. +31 (0)23 5622929 2130 KC Hoofddorp
Fax +31 (0)23 5627052 The Netherlands
[The advice in the original paper on yacc was, in essence, "don't do that."
See subsequent messages for hints on doing it in PCCTS. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.