159:1d1b42fb167b
|
2016-10-31 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added initial support for literal sequence instantiation using special functions
which create "fragments" - simple size-annotated arrays of attributes - and
which assign such fragments to the __data__ attribute of each sequence instance.
Added exception handling to the main function in generated programs. |
|
|
encoders.py generator.py lib/__builtins__/list.py lib/__builtins__/tuple.py lib/native.py templates/progops.c templates/progops.h templates/types.h translator.py
|
|
158:6bb416f1c550
|
2016-10-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Renamed the bool module to boolean, simplifying class naming rules again. |
|
|
generator.py lib/__builtins__/__init__.py lib/__builtins__/bool.py lib/__builtins__/boolean.py modules.py templates/progops.c translator.py
|
|
157:950b60158061
|
2016-10-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Obtain the correct class for boolean values. |
|
|
modules.py translator.py
|
|
156:adb6fbbb24e1
|
2016-10-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed literal sequence references obtained during translation.
Changed unidentified invocation targets to work with the __invoke run-time
function and added an argument to indicate whether the __fn__ special attribute
can be assumed to be present.
Renamed in_method to is_method. |
|
|
templates/progops.c templates/progops.h translator.py
|
|
155:b8c606fe6445
|
2016-10-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed further the initialisation of defaults for lambdas. |
|
|
translator.py
|
|
154:ac6bfeeb707d
|
2016-10-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Generate function instance structure declarations for functions having defaults. |
|
|
generator.py
|
|
153:a32be37ae7dc
|
2016-10-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added result conversion for access instructions, fixed __get_class_and_load. |
|
|
encoders.py templates/ops.c templates/ops.h
|
|
152:ba2614628b3f
|
2016-10-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed class namespace lookups that produced deferred references and thus
inappropriate tracking names for globals during inspection.
Fixed name reference code generation for parent-relative accesses.
Changed name reference creation during translation to always use local names and
for tracking names to only be computed when retrieving attribute access details. |
|
|
common.py inspector.py modules.py translator.py
|
|
151:8c1bebfcd574
|
2016-10-29 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the __COPY implementation and usage to be more realistic. |
|
|
templates/ops.c templates/ops.h translator.py
|
|
150:cb7d59250434
|
2016-10-29 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved encoding functions and mappings to the encoders module. |
|
|
encoders.py generator.py
|
|