[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem in Centaur
Hi
I'm a beginner in learning centaur tool. So bear with me.
I'm following the tutorial exercise for creating Exp language.
If I want to expand the type of the language to type real, string
and character, what sort of digits/characters that I should change in the
Exp.tokens file?
ie for integer [0-9][0-9]*
for char [a-zA-Z] - perhaps(?)
for string [a-zA-Z][a-zA-Z_0-9]* -perhaps(?)
for real [0.0-9.9] - ??????
Please help me regarding this issue.
Rosziati Ibrahim
PhD Candidate
School of Computing Science
Faculty of Information Technology
Queensland University of Technology (QUT)
GPO Box 2434
Brisbane QLD 4001
Australia
( Tel : +61 7 38641290
Fax : +61 7 38641801
email: ibrahim@fit.qut.edu.au
homepage: http://www.fit.qut.edu.au/~ibrahim )