345:93ced5f66cd9
|
2016-12-08 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed bound function references, needed when obtaining defaults for invocations. |
|
|
translator.py
|
|
344:5f24a4b9d16a
|
2016-12-08 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added comments and copyright and licensing information. |
|
|
templates/native.c templates/native.h
|
|
343:e0879c83a439
|
2016-12-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added support for reading to the end of a stream's input, fixing EOFError
raising in fread by returning shorter amounts of data when EOF occurs, only
raising an exception if no data was read before EOF occurred.
Made the test input longer to exercise tests of reading remaining data. |
|
|
lib/posix/io.py templates/native.c tests/read_stream.py tests/testinput.txt
|
|
342:d9053172e0ff
|
2016-12-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Implemented the join method for strings. |
|
|
lib/__builtins__/str.py tests/string.py
|
|
341:120b54816bd4
|
2016-12-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the read import in the posix package by testing indirect importing. |
|
|
lib/posix/__init__.py tests/read.py
|
|
340:93eb0a0ab92f
|
2016-12-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Detect and avoid encoded name conflicts. |
|
|
encoders.py tests/name_encoding.py
|
|
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
|
|