Architecture

Fart is split into a library that does the transpiling, a server that exposes it over HTTP, and the supporting directories around them.

/lib/

The source of the library. This is the part that other projects import.

/fart_server/

The HTTP server. Middleware is grouped by feature under bonus_features/:

See the server architecture for how requests are routed.

/docs/

Fart-related documentation. Everything in this directory is rendered and served by the Fart Server, one document per top-level route.

/devops/

Repository maintenance scripts, currently the coverage threshold check that runs in CI.

/vendor/

Vendored third-party parsers. Excluded from Deno's type checking via the exclude key in deno.json.