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

Request colon-prefixed keywords in sexp macro #99

Open
samuel-jimenez opened this issue Feb 14, 2024 · 0 comments
Open

Request colon-prefixed keywords in sexp macro #99

samuel-jimenez opened this issue Feb 14, 2024 · 0 comments

Comments

@samuel-jimenez
Copy link

Colon-prefixed keywords (:name compared with #:name) are common in Emacs and Common Lisp dialects.

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

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

Permitting the sexp macro to accept colon-prefixed keywords will allow existing Common Lisp structured to be evaluated in a more natural manner with less manual editing.

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

1 participant