186:653ac525f897
|
2016-11-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Record module relationships involving non-static objects in order to detect
problematic module interdependencies, also generating a module initialisation
sequence from the more general relationships already defined. |
|
|
generator.py importer.py lib/__builtins__/io.py
|
|
185:e9b03527f132
|
2016-11-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Employ a more explicit and constrained test for static object kinds. |
|
|
referencing.py
|
|
184:28821b7f0b00
|
2016-11-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Import stdout into the local namespace to avoid module import scheduling issues. |
|
|
lib/__builtins__/io.py
|
|
183:2ce83f67d8d3
|
2016-11-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a debugging switch that causes a different Makefile to be used. |
|
|
generator.py lplc templates/Makefile-debug
|
|
182:27ac1971cb38
176:67edffe846e3
|
2016-11-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added initial support for integers and environment initialisation. |
|
|
lib/__builtins__/int.py lib/native.py lib/sys.py templates/native.c templates/native.h
|
|
181:7c100cf2c256
|
2016-11-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Merge module member and name reference details to provide complete attribute
details for each module. |
|
|
deducer.py
|
|
180:c4236e61a4f6
|
2016-11-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempt to provide usable references for inter-module dependencies, identifying
them completely when object identity information is needed, exposing module
provider information otherwise.
Removed tests for "<depends>" references in cached output since inter-module
dependencies will appear as such in the name references section of each file. |
|
|
importer.py test_all.sh
|
|
179:b7860ad65334
|
2016-11-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added some tests of "from" importing. |
|
|
tests/from_import/another.py tests/from_import/main.py tests/from_import_redefine_bad/another.py tests/from_import_redefine_bad/main.py tests/from_import_replace_bad/another.py tests/from_import_replace_bad/main.py
|
|
178:fc5056a50cba
|
2016-11-13 |
Paul Boddie |
changeset
files
shortlog
graph
|
Prevent redefinition of imported names and attempt to reference them correctly. |
|
|
inspector.py modules.py translator.py
|
|
177:052e4264d8b7
|
2016-11-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the "from" statement to introduce name references instead of assigning
names in the current namespace. This avoids module import sequencing issues but
will eventually require restrictions on the kinds of objects being imported.
The identification of objects also needs to favour name references in modules
over conflicting submodules. |
|
|
importer.py inspector.py modules.py
|
|