490:5a82b12d3f7b
|
2017-01-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed include ordering to make progops.h use definitions set in main.h. |
|
|
generator.py
|
|
489:a89ee0f5895d
490:5a82b12d3f7b 492:9e10f6c6dd27
|
2017-01-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made class and function instance __name__ attributes leafnames, introducing a
separate __mname__ attribute on classes and function instances to help support
the reproduction of the full path of those objects.
Updated the visitor example to use the __name__ attributes of node classes
instead of special name attributes. |
|
|
generator.py inspector.py lib/__builtins__/core.py tests/getattr_visitor.py tests/name_attribute.py
|
|
488:26dcaef4d7a9
|
2017-01-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a demonstration of getattr involving a visitor-like object dispatching to
methods by using name attributes present on node objects from an expression node
tree to identify those methods. |
|
|
tests/getattr_visitor.py
|
|
487:6ab1b9e4be06
|
2017-01-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Make getattr update the context when a method is obtained via an instance. |
|
|
templates/native/introspection.c templates/ops.c templates/ops.h
|
|
486:1bd646f3d906
|
2017-01-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Output a trailing space for the non-newline variant of the print statement. |
|
|
lib/__builtins__/io.py
|
|
485:8cd93e843b25
|
2017-01-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Raise a TypeError when no callable is obtained within get_using. |
|
|
templates/native/program.c
|
|
484:e1298eab8a6f
|
2017-01-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Rearranged invocation expressions to avoid potential sequence point problems. |
|
|
translator.py
|
|
483:1923fbaf93b0
|
2017-01-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Redirect standard error to the build logs so that warnings are collected there. |
|
|
test_all.sh
|
|
482:a0573f409e7a
|
2017-01-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Confined output program temporary variable management to the translator.
Updated the optimiser to employ neutral notation for temporary-related
operations for more obvious detection of temporary variable usage.
Changed the encoding of attribute access instructions to also return the
substitution variables that were found in each access instruction sequence.
Changed the output mechanism used during translation to capture function body
output so that temporary variable declarations may be computed and emitted
before body output.
Added a modules dictionary to the translator for potential inspection of the
translated modules for each program. |
|
|
encoders.py optimiser.py translator.py
|
|
481:fe28634631ef
|
2017-01-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed reading of exception handling namespaces from the cache. |
|
|
modules.py
|
|