← Tue, Dec 1 digest

Jovial J73 Compiler

read article ↗ hn thread ↗

An engineer built a fully functional native compiler for JOVIAL J73, a 1959 military programming language, using Rust and LLVM.

summary is enough The hilarious README is worth a quick look, but the technical details of the 1959 military compiler are fully covered by a summary.

summary

An enthusiast built a native compiler and language server for JOVIAL J73, a 1959 programming language used in military flight controls and missiles. Written while learning Rust and utilizing LLVM, the compiler targets x86-64 and can transpile to C or output ASTs. The project is part of a broader collection of retrocomputing emulators and LSPs for extinct languages like HAL/S and CMS-2. The author plans a C rewrite to avoid LLVM's heavy footprint in embedded contexts.

key points

  1. The compiler generates native x86-64 machine code via LLVM and includes a C transpiler and language server.
  2. JOVIAL J73 is a MIL-STD language from 1959 featuring 1-based indexing, parentheses for array access, and apostrophe identifiers.
  3. The author plans to rewrite the compiler in C to avoid LLVM as a heavy dependency for embedded applications.

who should read it

Retrocomputing enthusiasts, compiler developers, and engineers interested in aerospace history.

discussion warm

consensus

Commenters overwhelmingly praise the exceptional humor and wit of the GitHub README, while noting the impressive technical scope of building tools for obscure military languages.

pushback

One commenter questioned whether portions of the README were AI-generated, while another noted that actually programming in JOVIAL back in the day was quite painful.

best comment by Rochus ↗

That's cool. Is it just for fun, or any plans to use Jovial for a project?

> whilst learning Rust (mistake) ... doing a rewrite in C

Interesting; quite the opposite of the popular narrative; is there more information on that somewhere?

It prompts an interesting discussion about rewriting a hobby compiler from Rust to C, bucking current tech industry trends.

Generated by an LLM from the article and thread. Check the sources before relying on it.