Re: What should be check in Lexical Analyzer along with generating tokens?

"Clint Olsen" <clint@0lsen.net>
29 Sep 2002 15:37:36 -0400

          From comp.compilers

Related articles
What should be check in Lexical Analyzer along with generating token vikramasanjeeva@hotmail.com (Vikrama Sanjeeva) (2002-09-14)
Re: What should be check in Lexical Analyzer along with generating t joachim_d@gmx.de (Joachim Durchholz) (2002-09-19)
Re: What should be check in Lexical Analyzer along with generating tok clint@0lsen.net (Clint Olsen) (2002-09-20)
Re: What should be check in Lexical Analyzer along with generating t joachim_d@gmx.de (Joachim Durchholz) (2002-09-22)
Re: What should be check in Lexical Analyzer along with generating clint@0lsen.net (Clint Olsen) (2002-09-25)
Re: What should be check in Lexical Analyzer along with generati clint@0lsen.net (Clint Olsen) (2002-09-29)
Re: What should be check in Lexical Analyzer along with genera joachim_d@gmx.de (Joachim Durchholz) (2002-10-13)
Re: What should be check in Lexical Analyzer along with generating tok lex@cc.gatech.edu (Lex Spoon) (2002-10-18)
Re: What should be check in Lexical Analyzer along with generating t joachim_d@gmx.de (Joachim Durchholz) (2002-10-20)
Re: What should be check in Lexical Analyzer along with generating lars@bearnip.com (Lars Duening) (2002-10-25)
Re: What should be check in Lexical Analyzer along with generating lex@cc.gatech.edu (Lex Spoon) (2002-10-25)
| List of all articles for this month |
From: "Clint Olsen" <clint@0lsen.net>
Newsgroups: comp.compilers
Date: 29 Sep 2002 15:37:36 -0400
Organization: AT&T Broadband
References: 02-09-087 02-09-110 02-09-121 02-09-128 02-09-141
Keywords: parse
Posted-Date: 29 Sep 2002 15:37:36 EDT

  Clint Olsen wrote:


> Your example does show how the comment would appear in your grammar in
> the first place.


Sorry, I meant to say it does _not_ show how it could legally appear within
the grammar. Furthermore, _any_ text is legal within comments, and it
looks like you've tried to account for any possible keyword that could
appear there. I don't see this as being feasible.


/* parse !$#%$# this! :) */


I don't see how by your example the above snippet would work.


-Clint


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.