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 #823

Open
ngeiswei opened this issue Dec 17, 2024 · 1 comment
Open
Labels
bug Something isn't working good first issue Good for newcomers

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?

[(if True; my comment A B)]

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 Something isn't working label Dec 17, 2024
@vsbogd vsbogd added the good first issue Good for newcomers label Dec 17, 2024
@AndyZhu1991
Copy link

I have raised a PR #830 for this bug. Could anyone help to review it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants