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

Prior art: Lisp reader macros #4

Open
js-choi opened this issue Feb 2, 2019 · 1 comment
Open

Prior art: Lisp reader macros #4

js-choi opened this issue Feb 2, 2019 · 1 comment

Comments

@js-choi
Copy link

js-choi commented Feb 2, 2019

There’s a list of similar syntaxes from three other programming languages. It might also be worth including the reader macros from the Lisps, e.g., Common Lisp reader macros. These might be less similar to this proposal than C#/Swift/Rust attributes, but they’re still perhaps related. They extends the source-code parser (the “reader”) itself using a table of prefix operators. And the Clojure dispatch reader macro reserves a single prefix character # as a larger space in advance for future use.

@littledan
Copy link
Owner

Interesting parallel!

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