eldoy / waveorb

Javascript web app development framework
https://waveorb.com
MIT License
5 stars 0 forks source link

Macros #153

Open eldoy opened 7 months ago

eldoy commented 7 months ago

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