> -----Original Message----- > From: Andrew Plumb > Subject: [antlr-interest] Referencing/Using antlr3 python > runtime directlyinstead of via python setup.py install? > > Hi Everyone, > > Does anyone have any examples of how to reference the antlr3 > python runtime code directly from a python script calling an > antlr-generated parser? > > It doesn't have to be complex (setting an environment > variable will do if there's a way), I'm just looking for > something that works so I can exercise my own antlr parser > dabblings. I want to avoid touching system python defaults > so I don't disrupt others, run on systems I don't necessarily > have sudo/root access to, and be able to quickly test across > multiple platforms (Linux, Solaris and Mac OS X).
You don't actually have to run python setup.py install to use the rutime. You can just take the antlr3 file out of the runtime egg and put it in your local directory or anywhere on your python path. Dave List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
