minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-08-19 20:31:37 +03:00
parent dc27697185
commit 4b9d8e9d78
3 changed files with 3 additions and 7 deletions

View File

@ -1383,7 +1383,7 @@ module.System = {
</div> </div>
</macro>` }, </macro>` },
all: { all: {
text: `@include(../**/path join="<br>")`}, text: `@include(../**/path join="@source(line-separator)")`},
info: { info: {
text: object.doc` text: object.doc`
Path: @source(../path)<br> Path: @source(../path)<br>

View File

@ -454,7 +454,7 @@ module.BaseParser = {
// NOTE: we need to await for ast here as we need stage 2 of // NOTE: we need to await for ast here as we need stage 2 of
// parsing to happen AFTER everything else completes... // parsing to happen AFTER everything else completes...
/* XXX GENERATOR -- this breaks /test_slots... /* XXX GENERATOR -- this breaks the parser...
// ...investigate the data flow... // ...investigate the data flow...
for await (var e of ast){ for await (var e of ast){
/*/ /*/

View File

@ -18,11 +18,7 @@
* this can't work as a generator... * this can't work as a generator...
* ...might be a good idea to make filters local only... * ...might be a good idea to make filters local only...
* XXX slots/macros might also pose a problem... * XXX slots/macros might also pose a problem...
* 2) all the macros that can source pages to produce generators: * 2) all the macros that can source pages to produce generators (DONE)
* @include(..) -- DONE
* @source(..) -- DONE
* @quote(..) -- DONE
* @macro(..) -- DONE
* XXX ranges in pattern paths -- page-size=X page=Y | from=X to=Y / ... * XXX ranges in pattern paths -- page-size=X page=Y | from=X to=Y / ...
* ...url syntax??? * ...url syntax???
* XXX differenced in behaviour between _abc and abc, either need to make * XXX differenced in behaviour between _abc and abc, either need to make