Skip to content
Early preview. Maxon is under active development — incomplete in places, with breaking changes expected before a 1.0 release.

Maxon 0.1.1

Maxon 0.1.1 is released. Archives for every supported target are on the GitHub releases page.

  • maxon run, which compiles a program and runs it in one step. A .maxon file may begin with a #! line and be run directly as a script.
  • maxon help, and maxon help <command> for a single command. Running maxon with no arguments now lists the commands.
  • --define, which sets a top-level String constant at build time.
  • Build manifests can declare several named targets, and state the version of what they build.
  • Compiled executables carry version metadata: a version resource on Windows, a source version on macOS, and a producer string on Linux.
  • maxon version replaces the --version and -V flags, and reports the commit and date the compiler was built from.
  • maxon help replaces the --help and -h flags.
  • Build.buildOne in a build manifest is renamed Build.build.
  • maxon fmt separates groups of declarations with one blank line at every nesting depth, not only at the top level.
  • On Linux and macOS, starting a program that cannot be found raises SubprocessError.executableNotFound instead of spawnFailed.
  • Non-ASCII text displays correctly in a Windows console.
  • A deadlocked program on Linux reports the deadlock instead of occasionally hanging.
  • A default parameter value is filled in a global variable’s initializer, not only inside a function.
  • On Linux, a subprocess started by program name finds the program on PATH, and a file of that name in the working directory is never run in its place.

To install Maxon or upgrade an existing install, see Installation, which also shows how to install a specific release.