[antlr-interest] How to do real division

Curtis Deck curtis at v-sim.com
Fri May 16 07:19:34 PDT 2008


I am writing an expression evaluator using antlr 3 and python. I want to do
real division but I cannot use from __future__ import division because it
needs to be at the top of the script. 

 

Can any one help me please.

 

Thanks in advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080516/8db4af8f/attachment.html 


More information about the antlr-interest mailing list