Here's a patch implementing the easy part of TIP 282.
Don Porter ( dgp ) - 2008-05-22 09:22:33 PDT
5
Open
None
Don Porter
47. Bytecode Compiler
TIP Implementation
Public
Date: 2008-05-22 13:48:00 PDT Sender: dgp
Example usage so far: % expr { "a(1)" = 1; "a(2)" = $a(1) + 2; "a(3)" = $a(2) * 3 } 9 % parray a a(1) = 1 a(2) = 3 a(3) = 9
Date: 2008-05-22 13:40:53 PDT Sender: dgp
Patch version 2 adds a simple-minded first pass at an assignment operator. It functions, but doesn't yet have the kind of parser support for the left operand that the TIP suggests. File Added: tip282-2.patch