<h1>Zuo: A Tiny Racket for Scripting</h1><blockquote><p>You should use Racket to write scripts. But what if you need something much smaller than Racket for some reason — or what if you're trying to script a build of Racket itself? Zuo is a tiny Racket with primitives for dealing with files and running processes, and it comes with a <code>make</code>-like embedded DSL.</p><p>Zuo is a Racket variant in the sense that program files start with <code>#lang</code>, and the module path after <code>#lang</code> determines the parsing and expansion of the file content. That's how the <code>make</code>-like DSL is defined, and even the base Zuo language is defined by layers of <code>#lang</code>s. One of the early layers implements macros.</p><p>You can also create an instance of Zuo with a set of libraries embedded as a heap image. Embedding a heap image has two advantages:</p><ul><li>No extra directory of library modules is necessary.</li><li>Zuo can start especially quickly, competitive with the fastest command-line programs.</li></ul><p>Zuo can be embedded in a larger application, with or without an embedded boot image.</p></blockquote><p>See <a href="https://github.com/racket/zuo/blob/main/README.md" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/racket/zuo/blob/mai</span><span class="invisible">n/README.md</span></a> for more details.</p>
Reply