Posted By:
Harry_Bakker
Posted On:
Wednesday, October 28, 2009 10:15 AM
Hi Amandeep,
i can probably answer the first two questions, but not the third.
Q1: I don't think you can use the apostrophs to bracket a string. In other words, when you want to specify the token for GET, you probably do it like GET: 'G' 'E' 'T'. (though if this is the case, i would surely want a simpler way to formulate a string).
Q2: I don't think it is necessary to use every token or rule you define. It would boil down to generating a method that is never called. Such methods mean no harm, though some IDE's will give you a warning when this occurs.
Hope this helps somewhat (or turns into a educational moment for me),
-Harry