400:9e1d8b186e5c
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Initialise the encoding of Unicode constants to None, also introducing generic
support for initialising None members. |
|
|
generator.py
|
|
399:e545439a787c
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Eliminate predefined constant name assignments. |
|
|
translator.py
|
|
398:87ba8cc41082
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Make sure that Unicode objects result from text-only concatenation. |
|
|
lib/__builtins__/unicode.py tests/unicode.py
|
|
397:0be168e888a9
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added type information to constant records so that Unicode constants can be
distinguished from plain string constants and thus be generated correctly. |
|
|
common.py generator.py modules.py optimiser.py translator.py
|
|
396:3130610deb67
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed "reversed operands" string addition, imposing constraints on the operands
so that only byte strings can be combined with each other.
Added Unicode binary operator support in order to combine Unicode objects with
each other and with byte strings.
Added an original encoding attribute to Unicode objects.
Tested addition of the different kinds of strings. |
|
|
lib/__builtins__/str.py lib/__builtins__/unicode.py tests/unicode.py
|
|
395:535f437d592e
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Propagate the actual text for constant literals from the program code. |
|
|
common.py compiler/ast.py compiler/transformer.py
|
|
394:b8782209d445
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced initial support for Unicode constants and literals. |
|
|
common.py inspector.py tests/unicode.py translator.py
|
|
393:a39afb95fb26
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Updated the test runner to handle to presence of dependency references in the
deferred section of cache files. |
|
|
test_all.sh
|
|
392:6d66508a5758
|
2016-12-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added encoding attributes and text encoding/decoding support to file streams.
Added a test of Unicode object creation and output. |
|
|
lib/__builtins__/file.py lib/__builtins__/unicode.py lib/posix/io.py tests/unicode.py
|
|
391:fd5cc95c936a
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Store module dependencies in the cache so that the module ordering is repeatably
computable in the importer. The importer must preserve the original dependencies
for the cache while updating the references for the rest of the program. |
|
|
importer.py modules.py referencing.py
|
|