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

The character ; should not be in the character set of symbol definition #226

Open
ngeiswei opened this issue Dec 17, 2024 · 0 comments
Open
Labels
bug Issues that represent errors in the code

Comments

@ngeiswei
Copy link
Contributor

What is your problem?

One should not be able to use ; in a symbol, as it is expected to be the start of a comment.

How to reproduce your problem?

Run the following program

!(if True; my comment
     A
     B)

What do you get?

[(Error (if True; my comment A B) IncorrectNumberOfArguments)]

What would you normally expect?

[A]

What else do you have to say?

Other similarly looking languages such as Racket do not allow ; in symbols (I think).

@ngeiswei ngeiswei added the bug Issues that represent errors in the code label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that represent errors in the code
Projects
None yet
Development

No branches or pull requests

1 participant