basilisp
basilisp copied to clipboard
The ability to create a new project from a few basic project templates.
Because Hy just tells coders to write Hy bootstrap code in __init__.py, I think the way to hide bootstrapping from users is to embed the bootstrapping code in a project template.
I suggest basilisp init command for creating a new project from one of a few basic project templates.
basilisp init library [directory] creates a basilisp library project with __init__.py that bootstraps basilisp.
bailisp init executable [directory] creates a basilisp executable project with __init__.py. It can also have its own library.
You get the basic idea. The final form doesn't have to be basilisp init. pyproject.toml specifies basilisp as a PEP517 build backend which can use basilisp.edn for further details. Different project templates come with different project configuration files.
This should be done after https://github.com/basilisp-lang/basilisp/issues/1221