[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
oct2mat script based on parse tree
From: |
John W. Eaton |
Subject: |
oct2mat script based on parse tree |
Date: |
Tue, 08 Jan 2008 15:16:09 -0500 |
On 8-Jan-2008, I wrote:
| I don't think you need to modify the parse tree here when you
| encounter something like "+=". You just need to emit the lhs, then
| the binary op corresponding to the OP= operator (you can get that with
| the octave_value::op_eq_to_binary_op method) and then emit the rhs.
Oops, I meant to say
emit lhs
emit "="
emit lhs again
emit binary operator corresponding to original OP= operator
emit rhs
jwe
- oct2mat script based on parse tree, Muthiah Annamalai, 2008/01/08
- oct2mat script based on parse tree, John W. Eaton, 2008/01/08
- oct2mat script based on parse tree,
John W. Eaton <=
- Re: oct2mat script based on parse tree, Muthiah Annamalai, 2008/01/09
- Re: oct2mat script based on parse tree, John W. Eaton, 2008/01/09
- Re: oct2mat script based on parse tree, Muthiah Annamalai, 2008/01/09
- Re: oct2mat script based on parse tree, John W. Eaton, 2008/01/09
- Re: oct2mat script based on parse tree, Muthiah Annamalai, 2008/01/09
Re: oct2mat script based on parse tree, Muthiah Annamalai, 2008/01/09