-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Strict spacing for maps? #368
Comments
Hey @unlessgames 👋 Glad you like the look of it! Live-coding is one of the main reasons I made Koto, please let me know how you get on. I think there isn't really a good reason for the syntax to be strict here, especially with inline maps where parsing is generally flexible. It should be a relatively simple change. |
Neat, thanks! I submitted the PR. |
Thanks! |
Hey, I really like what you are cooking here! Currently looking into koto to use as a live-coding language for a new framework.
Any particular reason the syntax is so strict about no-space before colons in maps, like error on
{a : 10}
in favor of{a: 10}
? I feel like this is not aligned well with the otherwise forgiving and simple nature of the syntax.The text was updated successfully, but these errors were encountered: