Added pick and select for lists
Pick: (1 2 3 4)?4 or (1 2 3 4)?(3 2) Select: (1 2 3 4)~2 or (1 2 3 4)~(2 3)
This commit is contained in:
@ -431,7 +431,7 @@ class ZiffersTransformer(Transformer):
|
||||
def lisp_operation(self, items):
|
||||
"""Parse lisp like list operation"""
|
||||
op = items[0]
|
||||
values = items[1:]
|
||||
values = items[2]
|
||||
return LispOperation(
|
||||
operator=op,
|
||||
values=values,
|
||||
|
||||
Reference in New Issue
Block a user