Groups
Groups
Sign in
Groups
Groups
GOLD Parsing System
Conversations
About
Send feedback
Help
Terminology
0 views
Skip to first unread message
RogerAlsing
unread,
Jun 11, 2008, 4:21:33 AM
6/11/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GOLD Parsing System
This is not really a GP question more of a parsing question.
I'm currently reading the "Red dragon book" (Compiler techniques,
principles..)
I just want to get my head straight when it comes to the word "lexeme"
is the lexeme the actual "content" of a token?
pseudo:
<for> = for | für | foo
if I find a token containing any of the above words, the token would
be a "for" token and the "lexeme" of that token would be "for" , "für"
or "foo" ?
Have I got it right in that case?
(No academic background in the field so I just want to connect my own
made up words to the actual real words :-))
Dave Dolan
unread,
Jun 11, 2008, 4:31:39 PM
6/11/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gold-pars...@googlegroups.com
You have it right, it's the text bits:
http://en.wikipedia.org/wiki/Lexical_analysis
"The Lexeme is the block of text corresponding to the token"
--
---------------------------------------------------------------
Dave Dolan
Certified Computer Geek-inator
http://davedolan.com
dave....@gmail.com
RogerAlsing
unread,
Jun 13, 2008, 5:50:58 AM
6/13/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GOLD Parsing System
Thanks :-)
> dave.do...@gmail.com- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages