Commit Graph

12 Commits

Author SHA1 Message Date
Raphaël AMIARD
36be77afbc Make testsuite run under Linux 2020-09-01 14:55:54 +02:00
Quentin Ochem
f8ec4185be Switch 'self' to 'it'
The usage of the word 'self' to refer to the current iteration became increasingly
confusing with the usual OOP counterpart, in particular because its value can change
in a single expression, independendly of the surrounding object. See previous check
in that uncovered its usage in the fold function.
2020-08-23 22:03:48 -04:00
Quentin Ochem
ddeb92aeaa Implemented string prefixes.
By defaults strings are now simple strings.
They can be turned to regexp with x or raw string with r.
Indentation is now handled globally with an i prefix.
2020-07-27 15:40:18 -04:00
Quentin Ochem
3c497a48f1 Improved syntax and semantic aspects following documentation
nested blocks {} and sequences "do .. then .. end" are now merged.
The new sequence "do .. then .. end" has a unique frame.
Implemented support for group number through nesting of sequences.
New tree syntax uses {} instead of [] now that this is available
Removed confusing implicit "new", template now needs to be captured to be available.
Renamed the "template" browsing function to "wrapper".
Change odd syntax is' / has' to is () and has ()
2020-07-12 18:36:27 -04:00
Quentin Ochem
1b80640dde Include folder is now automatically retreived. 2020-07-06 21:45:36 -04:00
Quentin Ochem
e79cb4b9c1 Fixed resolution of references
Children needs to be resolved after the node above.
Also moved most of core tests to the new syntax.
2020-07-01 13:31:30 -04:00
Quentin Ochem
3655fb74b5 Implemented left reference.
Previous template calls where implicitely doing a concatenation. This can now
be controlled directly with the '@' reference.  Opens up for the next step which
is management of containers in templates.
2020-06-18 09:23:53 -04:00
Quentin Ochem
bb9a2e4d63 Refactored and documented Handle_Match
Refactor highligted an error in the module test baseline, now fixed.
Also improved Analyze_Replace_String error diagnostics.
2020-06-16 13:30:39 -04:00
Quentin Ochem
0491b10f6e Implemented reference to template instance in creation.
"new" now references to the wrapper in creation.
Can be implicitely reference like self.
Updated testing baseline where ambiguities are detected.
2020-06-08 22:46:41 -04:00
Quentin Ochem
f45281cb7a Implemented check for language entity hierarchies
A consequence is that matcher on language entity types are now case
sensitive (updated baseline accordingly).
2020-06-07 23:22:55 -04:00
Quentin Ochem
7052b10da6 Merged traverse and wrap/weave constructions
traverse instructions are removed.
wrap/weave into; and wrap/weave over; now give traverse control.
removed apply placeholder.
introduced all when applying a wrap and weave command on the whole tree.
2020-06-06 17:54:44 -04:00
Quentin Ochem
470aa6f621 Modified semantics of modules
Modules are now deduced from directory and file structure.
Removed ada input analysis, OBE.
2020-06-04 22:50:34 -04:00