zen-lang / zen

Library for model driven systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zen generation tools

KGOH opened this issue · comments

There often is a need to generate zen definitions, i.e. namespaces and symbols. Currently each such task implements a zen namespace building and spitting

It would be good if zen provided functions like:

  • define-namespace
  • define-symbol
  • spit-namespace/spit-namespaces (create new files with selected zen namespaces)
  • update-namespace/update-namespaces (append new parts to some existing file)

Use-cases:

  • generate zen schemas
  • generate zen definitions using some custom tag (i.e. generate http routes)

Urgency: low
This is just an inconvenience. I can keep reimplementing spit-namespace