Commit Graph

13 Commits

Author SHA1 Message Date
QuentinOchem
7f305b3f15 removed unecessary cross frame it assignment 2020-09-28 09:23:45 -04:00
QuentinOchem
bec46843a4 Managed "it" property in the context instead of reference.
This uncovered a few hidden errors in the management of frames and
frame contexts:
   - Pop_Frame_Context was missing when capturing a closure
   - Top_Object was not updated when pushing or popping a frame
   - Top_Oject was not properly retreived in function calls
2020-09-27 23:15:47 -04:00
QuentinOchem
9d644bd93d documented and cleaned up frames 2020-09-27 18:44:27 -04:00
QuentinOchem
074297778a Further cleanup and documentation for expressions.
One of these cleanup turned out to be the behavior of allocators in the
context of calls that are generating all values, e.g. in:
   child (new (something ())).all ()
Turns out there's no reason to forbid this, the natural semantic is that a
new object will be created for all child of the current it.
2020-09-27 15:43:36 -04:00
QuentinOchem
452ebd5d03 activated and fixed all warnings 2020-09-24 15:57:28 -04:00
QuentinOchem
7c0aaf2386 fix copyright notices 2020-09-23 11:19:51 -04:00
QuentinOchem
a4c290c12f finalized documentation and refactor of frames spec 2020-09-22 19:34:29 -04:00
QuentinOchem
089ccf8001 fixed gnat style warnings, #2 2020-09-22 13:10:06 -04:00
Quentin Ochem
e5394da7e0 Further refactorings.
The outer action does not need to be a callback, use a regular call with a flag instead.
Renamed command stages not make their role more explicit.
2020-09-20 21:43:08 -04:00
QuentinOchem
95385ffa6a More refactors and documentation.
Added documentation on commands and expressions.
Introduced a function Top_Context to access to the top context
directly.
2020-09-16 16:26:13 -04:00
QuentinOchem
64adb0d4e7 renamed runtime.analysis package into runtime.commands 2020-09-16 14:54:36 -04:00
QuentinOchem
ad3047b573 moved more frame-related entities together 2020-09-16 14:37:08 -04:00
QuentinOchem
d71ae8a1ba reorganized code into smaller units 2020-09-16 13:06:45 -04:00