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

Macros #153

Open
eldoy opened this issue Mar 28, 2024 · 0 comments
Open

Macros #153

eldoy opened this issue Mar 28, 2024 · 0 comments

Comments

@eldoy
Copy link
Owner

eldoy commented Mar 28, 2024

We have the possibility of writing macros based on onrequire and compile. They could be called ingoing and outgoing macros.

Could translation functions be macros? #link(hello@en)

An entire language could be written using only macros:

#action project create
#page project new

These would then translate to functions on require or before send.

References: onsend, to replace or extend compile for macros #154

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