diff options
| author | Kathy Gray | 2016-08-14 12:37:46 +0100 |
|---|---|---|
| committer | Kathy Gray | 2016-08-14 12:37:46 +0100 |
| commit | ac9aa3b73181cf6f8a0bbcf2c59562ec17c7c8ea (patch) | |
| tree | 18ca622f78c0fd51ff0c8b85b3b02c4a4dc9fe57 /language/l2.ott | |
| parent | 5c31607a52606cd5671d7d65627ac37cc9f117c8 (diff) | |
Start adding form for (a,b,c) := foo()
Not working yet
Diffstat (limited to 'language/l2.ott')
| -rw-r--r-- | language/l2.ott | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/language/l2.ott b/language/l2.ott index 96483b90..80bb5e26 100644 --- a/language/l2.ott +++ b/language/l2.ott @@ -689,6 +689,7 @@ lexp :: 'LEXP_' ::= {{ com lvalue expression }} | id ( exp1 , .. , expn ) :: :: memory {{ com memory write via function call }} | id exp :: S :: mem_tup {{ ichlo [[id (exp)]] }} | ( typ ) id :: :: cast + | ( lexp0 , .. , lexpn ) :: :: tup {{ com set multiple at a time, a check will ensure it's not memory }} | lexp [ exp ] :: :: vector {{ com vector element }} | lexp [ exp1 '..' exp2 ] :: :: vector_range {{ com subvector }} % maybe comma-sep such lists too |
