Re: Function syntax

Thiago Jung Bauermann
2008-06-10T21:42:19Z

On Mon, 2008-06-09 at 17:55 -0600, Tom Tromey wrote:
> >>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
> Thiago> I actually prefer the $func(...) syntax. Using $(func args) doesn't feel
> Thiago> natural for non-LISP hackers. The former approach IMHO fits better with
> Thiago> the current GDB syntax, and also with the imperative language used in
> Thiago> the inferior.
> Perhaps we can find a third syntax. As I said in my previous note, I
> would prefer not to share the namespace with convenience variables.

I'm ok with that.

> I was thinking maybe some puncutation other than "$" -- but it is hard
> to see what would work.

We can ask some Perl folks. I'm sure they'll have lots of ideas. :-)
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center