Re: Function syntax

Tom Tromey
2008-06-08T15:32:03Z

>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> IWBN if this also included some help text that was somehow hooked into
Doug> help/apropos. [maybe as fhelp, fapropos, or some such]

Yeah, good idea.

For Commands we already extract the Python docstring and present it
to the user as the help for the command.

Doing something similar for registered functions should be pretty easy.

FWIW I went ahead and changed the function syntax in the python
repository last week or so. There is just a single built-in function
named "python" which evaluates its argument.

I did not try to change lexing of the text in $(...). It would be
nice to have a consensus on that.

Tom