polserver/testsuite/escript/binding
Kevin Eady ec344a395d
Add support for sequence and index bindings (#760)
* update grammar

* add ast nodes; ast building

* Rename to unpacking

* semantic analysis

* executor work part 1, unpacking indices

* renamings; implement index binding

* small cleanup

* use multi_index; more tests

* use multi_index only for rest, otherwise list

* initial formatting

* add missing token decoding

* address self-review comments

* formatting tweaks

* add test for var binding in classes

* add StringIterator

* fix spread tests

* add cfgfile iterator; add cfgelem opersubscript; tests

* add iterator for SQLResultSet and SQLRow; tests

* Copy value in take global/local

* Allow any iterable can index rest unpacking
Always use dictionary as rest object in index unpacking

* add docs, core-changes, doc tests

* formatting changes...

* address self-review comments

* update formatter, format all binding test srcs

* address review comments
- unset var scope

* add cfgfile/cfgelem docs

* reformat objref svg
2025-02-17 21:59:42 +01:00
..
class.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
doc-examples.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
doc-examples.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-01.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-01.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-assign.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-assign.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-program-local-var.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-program-local-var.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-rest-01.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-rest-01.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-rest-02.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-rest-02.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-rest-03.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-rest-03.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-rest-04.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-rest-04.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-seq.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
index-seq.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
rest-multiple.err Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
rest-multiple.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
rest-not-last.err Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
rest-not-last.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-01.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-01.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-non-iterable.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-non-iterable.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-rest-02.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-rest-02.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-rest-string.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-rest-string.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-rest.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
seq-rest.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
too-many-binding.err Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
too-many-binding.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00