help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Definition of operators in the parser


From: Jordi Gutiérrez Hermoso
Subject: Re: Definition of operators in the parser
Date: Thu, 1 Jul 2010 20:04:47 -0500

2010/7/1 David Bateman <address@hidden>:
> Jordi Gutiérrez Hermoso wrote:
>>
>> In the text quoted below, I am rather satisfied with myself for being
>> able to trace through the code except for one bit. At what point in
>> the code does the parser translate "A\b" into xdiv and relatives?
>>
>>
>
> look in src/OPERATORS/op-m-m.cc that defines the binary operator ldiv as
[code snipped out]
> you'll find the code that calls this on src/ov.cc in do_binary_op that is
> called in a number of different fashions elsewhere in ov.cc

Aha! Thanks. I've been wanting forever to be able to contribute more
directly to Octave and it's this sort of source chasing that I think
is a good exercise to do so.

- Jordi G. H.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]