Tins · Utilities

lint

mojolint, a linter for the origin and threading mistakes the Mojo compiler accepts, asking mojo-lsp-server, the compiler's own frontend, for resolved types and uses. A proof of concept.

Install
pixi shelf add lint-mojo
Version

0.1.4 on mojoshelf

Source

What it does

Works today

  • Text mode needs nothing; --lsp uses the project's own mojo-lsp-server
  • Run in CI by the magmalake tins

Correctness

Checked against threads.example's uncaught programs flagged, and the correct ones beside them silent

Also in Utilities

  • xml pull parser · path queries
  • k8s the Kubernetes API from Mojo
  • Every tin