|
spudplate
Template scaffolding compiler for spudlang .spud files
|
Imagine you're spinning up a new project from your team's standard layout, where the choice of test framework, license, and CI matrix changes every time. Cookiecutter would have you template the easy bits in Jinja and write a post-generation hook for the conditionals. Spudplate lets you put it all in one .spud file, every new project is spudplate run team-default and a couple of prompts.
Write a .spud file in spudlang, install it once, and run it whenever you want to scaffold a new project. The interpreter prompts the user and creates files and directories based on their answers.
| Page | What's in it |
|---|---|
| Getting Started | Install spudplate, write a tiny .spud, install and run it. |
| Spudlang Language Reference | The full language: lexical structure, types, statements, scoping, best practices, pitfalls, examples. |
| CLI Reference | Every subcommand, every flag, every environment variable. |
| Spudpack Binary Format | The on-disk layout of .spp files. |
| API Reference | C++ class and struct documentation generated from the headers. |
.spud syntax highlightingRead the language reference for the rest.
Pre-1.0. Spudplate works end to end but breaking changes are expected before v1.0. Pin to a specific release if you need stability.