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

Array syntax #42

Open
TheLoneWolfling opened this issue Jul 4, 2016 · 5 comments
Open

Array syntax #42

TheLoneWolfling opened this issue Jul 4, 2016 · 5 comments

Comments

@TheLoneWolfling
Copy link
Collaborator

TheLoneWolfling commented Jul 4, 2016

Currently such oddities as [0 0 0 0] or [0'0'0'0] "work" in the sense that they get parsed.

Ditto, things like (let x0).

Should we allow them? Or just restrict it to " comma ? Or what?

In general: should we require whitespace? Or not?

@incrediblesound
Copy link
Member

Ah I see. I'm experimenting with the tokenizer and parser right now, so I'll see if I can come up with a syntax that is more strict in some cases.

@TheLoneWolfling
Copy link
Collaborator Author

Good to know - I shall stay away from that then for now. I'm currently working on tidying up core_functions.c and related.

@incrediblesound
Copy link
Member

Nice job on those core functions by the way! I just made an issue about the minus sign which is related to this one, if you want you can assign tickets to yourself so that we don't do overlapping work. I'll assign ones I plan on doing to myself.

@TheLoneWolfling
Copy link
Collaborator Author

Thank you, and I shall.

@TheLoneWolfling
Copy link
Collaborator Author

Should we allow things like [1,,2]? If so, should the blank values be undef, or what?

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

2 participants