Dialog updates thread! (Current: Dialog 1c/03, library 1.2.3, Å-machine 1.0.2)

We have enough of these updates now to consolidate them into a single thread. I’ll be putting announcements here going forward, and encourage the rest of the team to do the same!

Previously: 1a/01, 1b/01, 1b/02, 1c/01

1c/02 is here!

Highlights:

  • Expanded the documentation chapter on automated testing
  • Objects produced by (generate $ $) no longer have author-accessible names, which could lead to compiler malfunctions
  • --basic-zscii compiler option disables extended ZSCII, which makes for larger story files and worse parsing, but better compatibility with retro interpreters
  • Debugger no longer produces spurious spaces after input with --tag-lines

This comes with library 1.2.3:

  • Extremely minor library changes to aid in automated testing

And Å-machine version 1.0.2:

  • Web interpreter now properly adjusts to window size when toggling “enlarge text” mode
  • Specification migrated to Antora; you can now find it in docs_html in the distribution
  • aamrun binary on OS X is now two separate binaries and a shell script to pick the right one
  • aamrun can now emulate dfrotz quirks for automated testing
  • Fixed a specification bug with LEAVE_DIV incorrectly setting SPC to PAR instead of LINE

Check it out: Dialog, Å-machine

Just pushed the homebrew formula for 1c02-1.2.3.

Announcing…the Å-machine 1.0.3!

This is a tooling update, no change to the specification. But it’s quite a good one, I’d say! Apart from a variety of subtle and obscure bug fixes, a new build process that should make it easier to build the tools, and some cleanup of the HTML…

The Å-machine now runs on the Apple II!

Download the new tools, then use aambundle -t apple2 to produce Apple II disk images. The bundler will adjust the format as needed based on the size of the story file, and the result will run on any machine with at least 64k—it will use 128k and an 80-column card if they’re available, but they’re not necessary to play. No ProDOS needed, either.

Styling and non-ASCII characters are basically not supported at all, but for classic-style text adventures, it should be more than sufficient. I’ve used this to include an Apple II version in one of my IFComp entries (Forensic Necromancy, the smallest and least-formatting-dependent of the bunch). And now, you can too!

Dialog 1c/03 is here!

The biggest change here is a new WASM build included in the release, for all your WebAssembly needs. Beyond that:

  • text-decoration: reverse is deprecated in favor of -iftf-reverse-video: reverse
  • Non-ASCII word separators will no longer corrupt game text, though they still don’t work fully
  • Re-fixed an obscure bug with divs and spans making hidden variables inside closures; I thought I fixed this before, but now I’ve really fixed it
  • The compiler will give better info messages when adding resources to an Å-machine file, on both success and failure
  • Styles are now properly reset when printing a progress bar inside a non-default-style div on Z-machine
  • Hex colors on Z-machine will no longer cause problems with old (pre-Standard-1.1) interpreters
  • Colored spans inside a (collect words) no longer corrupt the stack on Z-machine
  • unit.dg now overrides (game over) and (game over $) for testing game endings
  • Chapter 12 of the documentation has been expanded
  • A little bit of undefined behavior in the Å-machine compiler has now been reworked, guaranteeing binary-identical .aastory files on all platforms

Lots of little bug fixes, no shocking new features besides the WebAssembly build. But I think they’re good ones! (None of these touch the standard library, so its version remains 1.2.3 for now.)

I’ll get the Homebrew formula updated in the next day or two.

I would say there’s no need to rush, 1d/01 is close to ready. But some of these fixes have been sitting in PRs for months now, so…“close to ready” may not be a great indicator.

(1d/01 will change the behavior of multiplication, making it fail on overflow instead of returning the wrong value.)