The Knight Programming Language
tosh
20 points
6 comments
April 26, 2026
Related Discussions
Found 5 related stories in 86.9ms across 8,303 title embeddings via pgvector HNSW
- The Programming Language for Agents Marius77 · 15 pts · May 19, 2026 · 55% similar
- I built a programming language using Claude Code GeneralMaximus · 110 pts · March 10, 2026 · 54% similar
- Spectre Programming Language asdkop · 29 pts · May 15, 2026 · 52% similar
- Show HN: Han – A Korean programming language written in Rust xodn348 · 141 pts · March 14, 2026 · 52% similar
- Show HN: The Mog Programming Language belisarius222 · 137 pts · March 09, 2026 · 51% similar
Discussion Highlights (4 comments)
eigenspace
Always interested to read about a new programming language, but there's barely anything to read here. Would you like to maybe say something about your language that you think people can engage with?
pgt
This reminds me of the META [^1] II paper [^2]: > META II is a domain-specific programming language for writing compilers. It was created in 1963–1964 by Dewey Val Schorre at University of California, Los Angeles (UCLA). META II uses what Schorre called syntax equations. The interesting part of META II is that it can be defined in itself on one page (refer page 8 of the paper). [^1] Wikipedia https://en.wikipedia.org/wiki/META_II [^2] Paper: https://dl.acm.org/doi/epdf/10.1145/800257.808896
fjfaase
I developed a similar language as an intermediate language for a C-compiler that I wrote. It uses reverse Polish notation instead of Polish notation [1], because it is easier to compile reverse Polish notation to machine code. I call the language Stack-C. See [2]. There are 32 bit and 64 bit compilers for x86 assembly and there is a memory safe interpreter for the language with a (rather limited) built-in debugger. [1] https://en.wikipedia.org/wiki/Polish_notation [2] https://github.com/FransFaase/MES-replacement/blob/main/Stac...
layer8
The author doesn’t seem to have taken into account why C introduced trigraphs. The requirements [0] on mandatory ASCII characters to be supported are too steep, consider [1]. [0] https://github.com/knight-lang/knight-lang/blob/master/specs... [1] https://en.wikipedia.org/wiki/ISO/IEC_646#Variant_comparison...