Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singlet links should be supported #64

Open
Konard opened this issue Jan 6, 2025 · 0 comments
Open

Singlet links should be supported #64

Konard opened this issue Jan 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Konard
Copy link
Member

Konard commented Jan 6, 2025

It will require removal of pointLink term from grammar. It was added by mistake (when links theory was not ready).

(1) should be interpreted as a link with values list of length 1, with single element 1.

These lines will be deleted:

pointLink <Link<string>> = id:(reference) { new Link<string>(id) }
singleLinePointLink<Link<string>> = __ l:pointLink { l }
multiLinePointLink<Link<string>> = "(" _ l:pointLink _ ")" { l }

It also may require to rethink how indented whitespace will work with links. For example it may require to create artificial link ids if these not provided, or it may require to throw an error on absent ids.

@Konard Konard added the bug Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant