Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compiler Tools Pccts > Any character n...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 91 of 134
Post > Topic >>

Any character not yet tokenised.

by TLOlczyk <olczyk2002@[EMAIL PROTECTED] > Feb 17, 2005 at 12:12 AM

Simple question but one that confuses me.
Let us image a lexer which is defined by the rules:

INTEGER     :  ('0'..'9')+;
NAME           :  (('A'..'Z')|('a'..'z'))+;
BINOP          :  '+'|'-'|'*'|'/'|'=';

How can I define  the following:

RANCHAR   :  any character that has not yet been tokenised.




The reply-to email address is olczyk2002@[EMAIL PROTECTED]
 is an address I ignore.
To reply via email, remove 2002 and change yahoo to
interaccess,

**
Thaddeus L. Olczyk, PhD

There is a difference between
*thinking* you know something,
and *knowing* you know something.
 




 1 Posts in Topic:
Any character not yet tokenised.
TLOlczyk <olczyk2002@[  2005-02-17 00:12:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:15:13 CDT 2008.