Tracker: Patches

5 TIP 282 - ID: 1969722
Last Update: Comment added ( dgp )


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


Comments ( 2 )

Date: 2008-05-22 13:48:00 PDT
Sender: dgpProject Admin



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: dgpProject Admin



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


Attached Files ( 2 )

Filename Description Download
tip282.patch Download
tip282-2.patch Download

Changes ( 2 )

Field Old Value Date By
File Added 278722: tip282-2.patch 2008-05-22 13:40:53 PDT dgp
File Added 278690: tip282.patch 2008-05-22 09:22:35 PDT dgp