Skip to content

Fixing multiline [if]/[else]/[then] in includes using IO redirection? #5

@epsilon537

Description

@epsilon537

As you mentioned, [if]/[else]/[then] spread over multiple lines doesn't work in include files, because these words rely on query, and query doesn't work as expected when feeding the include file to evaluate line-by-line.
https://github.com/spyren/Mecrisp-Cube/blob/master/sdcard/man/FileSystem.md#interpreter-directives

However, if include were implemented using IO redirection instead, wouldn't that circumvent the issue with query?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions