Skip to content

Syntax for empty string value #73

Closed
@Pike

Description

@Pike

Right now, there's no syntax for an empty string value, AFAICT.

One way to think about that would be to just use

my-text =

The other way is to try to create a non-"" AST value that evaluates to "". One candidate would be

my-text = {""}

But that's also not allowed, 'cause quote-text is '"' (text-char - '"' | '\"')+ '"', note the + instead of a *.

I didn't investigate what the fall-out of allowing * would be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions