8000 Quasi-Void Rendering Ambiguity in Paths · Issue #1157 · metaeducation/ren-c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Quasi-Void Rendering Ambiguity in Paths #1157
Open
@hostilefork

Description

@hostilefork

Quasi-Voids were made legal in PATH! and TUPLE!, specifically to facilitate things like:

dir: first [~/projects/stuff]

But this creates an ambiguity with things like:

~/foo/~

... which could be a regular path with quasi-voids in the first and last positions... or a quasi-path with blanks in the first and last positions. 😦

I guess that quasi-paths which start or end with slashes need vertical bars around them.

~|/foo/|~  vs.   ~/foo/~
~|/foo|~   vs.   ~/foo
~|foo/|~   vs.   foo/~

~foo~ and ~foo/bar~ is unambiguous

Annoying, but, I think it's worth it. ~/projects/stuff is legal in Redbol and I'd rather not lose the ability to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    low prioritypretty unimportant in the scheme of things

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0