| Ticket UUID: | 1969722 | ||
| Title: | TIP 282 | ||
| Type: | Patch | Created on: | 2008-05-22 16:22:33 |
| Submitter: | dgp | Assigned to: | dgp |
| Subsystem: | 47. Bytecode Compiler | Severity: | |
| Priority: | 5 Medium | Last modified: | 2008-05-23 03:48:00 |
| Status: | Open | Closed by: | |
| Resolution: | None | Closed on: | |
| Version: | TIP Implementation | ||
| Description: | ||||
Here's a patch implementing the easy part of TIP 282. | ||||
| User Comments: | ||||
dgp added on 2008-05-22 23:22:35:
File Added - 278690: tip282.patch dgp added on 2008-05-23 03:40:53:
File Added - 278722: tip282-2.patch Logged In: YES user_id=80530 Originator: YES 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 dgp added on 2008-05-23 03:48:00:
Logged In: YES
user_id=80530
Originator: YES
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
| ||||
Attachments:
- tip282-2.patch [download] added by dgp on 2008-05-23 03:40:53. [details]
- tip282.patch [download] added by dgp on 2008-05-22 23:22:34. [details]
