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

Metaprogramming, (hygienic) macros, compile-time evalution, own syntax #131

Open
dumblob opened this issue Jun 23, 2021 · 3 comments
Open
Labels
future Will be considered in the future.

Comments

@dumblob
Copy link

dumblob commented Jun 23, 2021

Any plans for metaprogramming, (hygienic) macros, compile-time evalution, own syntax, or alike?

I don't expect you to build a new XL (despite I'd totally love such endeavor) but still I have to ask 😉.

@ThakeeNathees ThakeeNathees added the future Will be considered in the future. label Jun 24, 2021
@ThakeeNathees
Copy link
Owner

Currently, we're restricted by the single pass compiler to implement these features. Rewriting the front end is the most prioritized task in the future list. However, we have plants to support reflection and run time code evaluation now.

@dumblob
Copy link
Author

dumblob commented Jun 24, 2021

Ok, so if I understand it correctly, the direction is not AOT (ahead of time) but rather runtime "metaprogramming". Correct?

@ThakeeNathees
Copy link
Owner

@dumblob As for now yes. And I'm quite a fan of C macros. I could write a pre-processor for pocketlang in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future Will be considered in the future.
Projects
None yet
Development

No branches or pull requests

2 participants