Paul Sokolovsky
|
6ee1e383d6
|
str slice: Trim slice indexes to be in range.
|
11 years ago |
John R. Lenton
|
45a8744617
|
Implements list.insert. Fixes issue #61.
|
11 years ago |
Damien George
|
c8d1384fc0
|
Fix int -> machine_int_t; add print to slice test.
|
11 years ago |
Paul Sokolovsky
|
26534cec85
|
Add test for byte string slicing.
|
11 years ago |
John R. Lenton
|
5d4a821339
|
Implements list.index. Fixes issue #57.
|
11 years ago |
John R. Lenton
|
e241e8c169
|
Implemented list.count
|
11 years ago |
John R. Lenton
|
26c211648b
|
Implemented list.copy. Fixes issue #54.
|
11 years ago |
John R. Lenton
|
069ded9514
|
Added list.clear. Fixes issue #53.
|
11 years ago |
John R. Lenton
|
64427d6ee6
|
renamed some tests to have better names.
|
11 years ago |
John R. Lenton
|
25f417c08c
|
Worked on list.pop:
* Fixes issue #51
* Adds a specific error message for when you try to pop an empty list.
* Releases some memory if the list has shurnk a lot.
|
11 years ago |
Damien George
|
66028ab6dc
|
Basic implementation of import.
import works for simple cases. Still work to do on finding the right
script, and setting globals/locals correctly when running an imported
function.
|
11 years ago |
John R. Lenton
|
4cb80582c4
|
Add list addition (fixes: #39)
|
11 years ago |
Damien George
|
0ff883904a
|
py: Fix generator where state array was incorrectly indexed.
Generator objects now allocate the object and the state in one malloc.
This improvement fixes Issue #38.
|
11 years ago |
Damien George
|
bbabfb40ba
|
Fix bash->/usr/bin/env bash; add LICENSE for Python library tests.
|
11 years ago |
Damien George
|
6baf76e28b
|
py: make closures work.
|
11 years ago |
Damien
|
046147dcd5
|
Small change to handling of integers in run-tests.
|
11 years ago |
Damien
|
39977a56da
|
Add basic functionality tests for the Python bit.
|
11 years ago |
Damien
|
5ebbfe7e51
|
Add 2 files to a gitignore.
|
11 years ago |
Damien
|
2eda70874e
|
Add tests to test compiler and emitted byte code.
|
11 years ago |