339:5c51c957f560
|
2016-12-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Encode type attributes using the original argument from the instruction. |
|
|
encoders.py
|
|
338:61776a5a0e16
|
2016-12-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Associate constant name information with references so that structure members
such as function instance default members can be generated statically, thus
eliminating unnecessary structure initialisation in the translated code.
Improved the determination of dynamic functions in the importer to consider
only non-constant defaults. |
|
|
common.py generator.py importer.py referencing.py results.py translator.py
|
|
337:d6b253d49e99
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved stdin, stdout, stderr to posix.io. |
|
|
lib/posix/io.py lib/sys.py
|
|
336:8c75cdf1a764
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced stream classes employing C-level FILE pointers, changing the sys
stdin, stdout and stderr objects to be instances of these stream classes.
Added fread and fwrite support to the native functions.
Added support for raising EOFError. |
|
|
lib/__builtins__/exception/io.py lib/native.py lib/posix/io.py lib/sys.py templates/native.c templates/native.h templates/progops.c templates/progops.h
|
|
335:9e4234566d99
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Properly fixed the buffer allocation. |
|
|
templates/native.c
|
|
334:c3aadc0a672d
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempt to handle module ordering dependencies caused by function defaults. |
|
|
importer.py
|
|
333:aa10eecbc8ce
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the buffer declaration in the read function. |
|
|
templates/native.c
|
|
332:575115c7ce73
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved sysfile into the posix.io module. |
|
|
lib/__builtins__/__init__.py lib/__builtins__/io.py lib/posix/io.py lib/sys.py
|
|
331:d6bd77febdba
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the native read function, allocating new strings from the input buffer.
Added a value to IOError instances and fixed IOError raising in the native
functions and helper functions.
Added a test of reading data and updated the test runner to send some default
input into every test. |
|
|
lib/__builtins__/exception/io.py templates/native.c templates/progops.c templates/progops.h test_all.sh tests/read.py tests/testinput.txt
|
|
330:fe62bfdc0d27
|
2016-12-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed/restored the posix submodule imports. |
|
|
lib/posix/__init__.py
|
|