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

Syntax simplification #37

Open
eldoy opened this issue Aug 30, 2023 · 1 comment
Open

Syntax simplification #37

eldoy opened this issue Aug 30, 2023 · 1 comment

Comments

@eldoy
Copy link
Owner

eldoy commented Aug 30, 2023

It is desireable to be as close as possible to YAML syntax so you can do progressive enchancement from YAML to WL. It will then be a very thin layer on top of YAML, a "superset" of YAML if you will.

This syntax could remove the need for "@" and "=":

$hello: Something
log: $hello
if:
  $hello:
    is: string
then:
  return: { ok: true }

Sidenote: Internally we want the dupid avoider "#" to probably be changed to something unusual.

Implement?

@eldoy
Copy link
Owner Author

eldoy commented Aug 30, 2023

This way we don't really need to use the YAML parser fork, since we don't need '@'. We can use '@' instead internally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant