This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Function syntax


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]