Jovial J73 Compiler github.com · 14 points · 4 comments · HN thread TL;DR A GitH...
HN Best 200 @best
Jovial J73 Compiler github.com · 14 points · 4 comments · HN thread
TL;DR A GitHub project by a New Zealand developer providing a native compiler for JOVIAL J73 (MIL-STD-1589C), a 1959 military programming language used in avionics and missile systems. It compiles via Rust and LLVM 18 to x86-64 or other native code, with an optional C transpiler and an LSP, and the author plans a C rewrite for embedded use.
- Written in Rust using the Logos lexer and inkwell (LLVM) bindings; pipeline goes source to AST to semantic analysis to LLVM IR to object file to executable.
- Output modes: exe, C source, LLVM IR, native object file and AST dump, selected with the -f flag.
- Supports variables, procedures, tables, STATUS enums, PRINT and READ, with examples using TERM-terminated programs and single-quoted strings.
- Prebuilt releases for Windows x64, Linux x64 and macOS ARM; building from source requires LLVM 18.
- The author plans a C rewrite because LLVM is too heavy a dependency for embedded targets where JOVIAL is still used.
- The README also links a family of related vintage-language projects: LSPs for HAL/S, CMS-2, CORAL 66, MUMPS, CHILL and RACF, plus several emulators, all under Apache 2.0.
Discussion The thread is short and light in tone. Most comments praise the README's humour rather than the compiler's technical merits, quoting its jokes about the Pentagon test suite and the New Zealand sheep-to-programmer ratio. One commenter notes the writing feels unlike typical AI-generated docs, and another calls the author a madman. Nobody discusses the implementation or JOVIAL itself in depth.
- Enjoys the README's humour and personality (most): Most commenters single out jokes in the README, such as the Pentagon test suite line and the 'languages that predate common sense' section, as the highlight of the project.
- Praises the non-generic, human-sounding writing style (some): One commenter contrasts the readme with the bland tone of machine-written documentation and thanks the author for it.
- Admires the project as eccentric but impressive (some): A commenter calls the author a madman, expressing a mix of amusement and admiration for building a compiler for such an obscure language.
- Asks a playful question about the statistic (a few): One commenter jokes about whether the sheep-to-JOVIAL-programmer ratio implies roughly three JOVIAL programmers in New Zealand.
#compilers #JOVIAL #LLVM #Rust #retroComputing #militaryComputing