Kaj de Vos Releases the Meta Language Cross-Compiler for the Atari 8-bit

On 1 November 2021, Kaj de Vos opened a new AtariAge thread to announce that his programming language Meta had its own website, language.metaproject.frl, with installation instructions, documentation and examples. It followed nearly a year of development discussed in an earlier introduction thread, which he had opened in January 2021 with the title "A new language for the Atari".

What Meta is

Meta is a general-purpose language that its author deliberately targeted at the 8-bit Atari first. He argued that any new language should be able to do what C does, including on very small systems, and that small machines were actually easier and more motivating to start with. The design is mostly inspired by REBOL, which in turn takes ideas from Lisp:

  • There are no reserved words. Programs are built from words and blocks, and specialised dialects (domain-specific sub-languages) are the main way to extend the language.
  • The default "do" dialect is high-level and has no pointers, but there is minimal syntax for going into "unsafe" low-level territory, such as hardware registers.
  • The author said some hardware-programming examples compiled to code identical to hand-optimised assembly, and that Meta could also target the Atari 2600.

How you use it

The release was a single executable, compile.ape, which runs on Windows, macOS, Linux, FreeBSD, NetBSD and OpenBSD. The thread called it a "remote cross-compiler". You run it on a source file, e.g. ./compile.ape rainbow.meta, and get program.xex to load on an Atari or in an emulator. It does not run on the Atari itself. A SpartaDOS X back end was mentioned as not yet enabled.

Reception

Reactions were mixed and lively, and the thread grew to more than 40 pages. Some users compared Meta's philosophy to Forth, a tool for building your own language, and questioned whether free-form syntax suits tight 8-bit memory and speed limits. Others asked for Atari examples that weren't mostly inline assembly, a benchmark suite like the one in the Mad Pascal thread, and downloadable source-plus-executable examples. Several criticised the compiler for being a closed binary. Early testers also hit platform problems: the FreeBSD build needed FreeBSD 12 or newer, and Windows had cosmetic display issues the author planned to fix.

Since then

Meta is still in use. In Logiker's 2024 Vintage Computing Christmas Challenge, an Atari Meta entry by Kaj de Vos placed 16th of 22 Atari entries, at 139 bytes.

Getting it

Downloads, documentation and examples are at language.metaproject.frl.

Credits