[TCS] Symbols, operators, tokens, and lexer section [message #607590] |
Tue, 02 October 2007 16:28 |
Eclipse User |
|
|
|
Originally posted by: rivera.lcc.uma.es
Hi all,
I have been reading some questions (and answers) here in the newsgroup
and i have still some doubts about lexer section, symbols, operators and
tokens.
* Can i write all the lexer section using tokens (in TCS language)? If
so, where can i find information about how to use tokens?
* Are declared symbols tokens by itself?
* What kind of symbols do i have to declare?All of them?Only the ones
used as keywords in templates?Only the ones used to recognize tokens?
If for example "<" and ">" are used to recognize a special token (lexer
section), do i have to declare them?
* And what about operators? are just used to give priorities to some
"symbols"?
Sorry for asking so many things together, but I'm a begineer a little
bit confused :S
Thanks in advance,
Jose E. Rivera
|
|
|
Powered by
FUDForum. Page generated in 0.35321 seconds