polserver/testsuite/escript/for
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
..
for001.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for001.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for001b.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for001b.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for002.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for002.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for002b.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for002b.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for003.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for003.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for003b.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for003b.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for004.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for004.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for004b.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for004b.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for005.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for005.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for006.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for006.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for007.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for007.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for008.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for008.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for009.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for009.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for010.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for010.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for011.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for011.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for012.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
for012.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
for019.out Unit tests: full revision, now all run correctly 2015-12-19 05:31:23 +01:00
for019.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach-str.out Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
foreach-str.src Add support for sequence and index bindings (#760) 2025-02-17 21:59:42 +01:00
foreach01.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach01.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach02.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach02.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach03.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach03.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach04.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach04.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach05.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach05.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach06.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach06.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach07.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach07.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach08.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach08.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach09.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach09.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach10.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach10.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach11.out Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00
foreach11.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach12-bare-array.out Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach12-bare-array.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach13-explicit-array.out Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach13-explicit-array.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach14-over-user-function.out Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach14-over-user-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach15-over-user-function-extra-semi.out Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach15-over-user-function-extra-semi.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach16-over-module-function.out Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach16-over-module-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach17-over-module-function-extra-semi.out Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach17-over-module-function-extra-semi.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach18-over-scoped-module-function.out Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach18-over-scoped-module-function.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach19-over-method-call-result-disallowed.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach19-over-method-call-result-disallowed.src Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach20-over-function-reference-disallowed.err Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00
foreach20-over-function-reference-disallowed.src Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach21-over-parenthesized-expression.out Update test suite for new compiler (#299) 2020-09-11 01:38:39 -07:00
foreach21-over-parenthesized-expression.src Format testsuite scripts, pol-core support modules (#713) 2024-10-04 10:29:55 +02:00