[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using goto in language



Now that I have gotten a simple language interpreter mostly working, I'd like to extend it to allow a "goto" statement.  I haven't seen any examples of how I might do that in sablecc, and did see a comment in a thread about tree structure not being valid (http://www.mail-archive.com/sablecc-discussion@xxxxxxxxxxxxxxxxx/msg00015.html) but not sure if that means I can't do it or not.  Can anyone offer some advice (other than "don't try to do it") about how to walk thru a tree and deal with goto's?

Thanks!

Roger

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com