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

Accept colon-prefixed keywords in sexp macro. #96

Closed
wants to merge 4 commits into from

Conversation

samuel-jimenez
Copy link
Contributor

Currently, the macro considers the colon character to be a separator, and so splits tokens along the boundary.

e.g.,
sexp!((:name "Jane Doe" :street "4026 Poe Lane"))
produces (: name "Jane Doe" : street "4026 Poe Lane")

This change allow colon-prefixed (Emacs-style) keywords (:name in addition to #:name).

rotty pushed a commit that referenced this pull request May 31, 2024
Implementation by @samuel-jimenez in PR #96.

Duplicate of #96, closes #99.
rotty pushed a commit that referenced this pull request May 31, 2024
Implementation by @samuel-jimenez in PR #96.

Duplicate of #96, closes #99.
rotty pushed a commit that referenced this pull request May 31, 2024
Implementation by @samuel-jimenez in PR #96.

Duplicate of #96, closes #99.
rotty pushed a commit that referenced this pull request May 31, 2024
Implementation by @samuel-jimenez in PR #96.

Duplicate of #96, closes #99.
rotty pushed a commit that referenced this pull request May 31, 2024
Implementation by @samuel-jimenez in PR #96.

Duplicate of #96, closes #99.
@rotty
Copy link
Owner

rotty commented May 31, 2024

Thanks for your contribution, @samuel-jimenez! I merged your changes in PR #101, squashing it and adding a bit of documentation.

@rotty rotty closed this May 31, 2024
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

Successfully merging this pull request may close these issues.

2 participants