>> def f(x):
>>     blah
>>
>> It's really easy to know where the definition ends.
>
> Parsers have this funny way of bit-rotting over time... I'll write
> tests :)

Definitely!

> BTW, inspect.py does not parse source code.  All the information is
> stored at compile time (as you would expect -- the syntax tree is still
> live) and inspect.py just provides a nicer interface to query the
> stored information.

You could modify sagex to save the parse information at compile time.
It parses .pyx files, then discards the results after using them
to generate .c files.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to