push
github
Python chapter 2 (+ 3?) support (#81) * feat: introduce chapter-based CSE evaluators + improve type safety of value type + add stubs for LINKED_LIST group * add Python Chapter 1 back to the Rollup config * Turned resolver type-checking back on + fix build_linked_list not working * Fix bug where groups weren't loading + Make builtins more type-safe + Added native list functions (print_linked_list, head, tail) * my changes * Add Python chapter 3 functions + Fix syntax of stream prelude + Add list creation instruction + Make parser variant specific + Add basic tests for standard library * Fix rounding + add tests for linked lists * Fixed bug regarding representation of strings (printing ["a", "b"] returned [a, b]) * Mark files as unused (for now) * Fix test cases * Added variant to parser in WASM compiler * Fix linked-list prelude using the old terminology of list + Fix build_linked_list(None) returning None instead of list() * Add ability to check output from testing framework * Add documentation for TestCases + add the repr function * Improve alignment with Python specs + add ability to index lists + move variant checking to the resolver + improve test names + add a lot more tests * Add more tests for operators + restrict the not operator to only booleans + disallow booleans in the unary minus operator * FIx print_linked_list not actually printing the linked list * Implement while loops + unpacking with for loops + implement tuples + break and continue * Added a public is_linked_list function, added more comprehensive test cases for is_pair and is_linked_list * extended test cases for linked lists * Updated to have distinction between linkedlist Value and Python List for ease of future implementation of python list * Revert "Updated to have distinction between linkedlist Value and Python List for ease of future implementation of python list" This reverts commit d444793b1. * fixed and/or operator bu... (continued)
779 of 1553 branches covered (50.16%)
Branch coverage included in aggregate %.
442 of 651 new or added lines in 32 files covered. (67.9%)
17 existing lines in 4 files now uncovered.2400 of 3797 relevant lines covered (63.21%)
3195.38 hits per line