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

Extra reserved words #12

Open
gilch opened this issue Aug 29, 2019 · 1 comment
Open

Extra reserved words #12

gilch opened this issue Aug 29, 2019 · 1 comment

Comments

@gilch
Copy link
Owner

gilch commented Aug 29, 2019

Hebigo will automatically expand Python reserved words to qualified macros. But we'll want some more "reserved" words than this. We also don't want them to conflict with normal Python identifiers. Thus far, Hebigo does not allow special characters in its symbols. So we can special case symbols that start with ! for this purpose.

At minimum, I think we'll need

  • !let for locals
  • !mask for quasiquotes
  • !require for macro imports

Perhaps we should think of these as Hebigo's macro "builtins", in which case, we might want a lot more of them than this.

@gilch gilch mentioned this issue Aug 31, 2019
@gilch
Copy link
Owner Author

gilch commented Sep 6, 2022

!where from #59 is a possibility.

Hissp has more bundled macros now. Hebigo ought to be at least as capable (except, perhaps, for the reader macros). Nothing is really stopping you from using Hissp's, but some of them are kind of missing features due to the restriction on helper functions. Hebigo could provide more complete alternatives.

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