[antlr-interest] AST, value manipulation.

John D. Mitchell johnm-antlr at non.net
Thu Nov 18 09:00:51 PST 2004


>>>>> "Maassen," == Maassen, H A M <H.A.M.Maassen at student.tue.nl> writes:
[...]

> I don't think rangechecking is (usually? ever?) done at compile time. How
> would you check the following?

If you wanted to, you can do a static analysis on the indices and array
sizes and determine if they are statically known or not.  If they are known
then you can check them right then and there and elide the runtime check.

Take care,
	John


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list