Download Latest Version q-56.tar.gz (234.4 kB)
Email in envelope

Get an email when there's a new version of q

Home / v55
Name Modified Size InfoDownloads / Week
Parent folder
Q version 55.tar.gz 2019-04-17 202.9 kB
Q version 55.zip 2019-04-17 275.2 kB
README.md 2019-04-17 1.1 kB
Totals: 3 Items   479.2 kB 0

The principal innovation in this release is the ability to run an external command and incorporate its output into the file being edited:

  • 2 new active pseudomacros ^N^<4014> and ^N^<4015> to receive command and return stdout / stderr
  • New pseudomacro ^NW to return, in the new ALU Q-register, the length of a macro (or -1 if macro not defined)
  • New ALU Q-register for return results (e.g. external command result code, ^NW result)
  • Above fully documented in updated man pages and h-help topics

Other Highlights:

  • Use visible bell to signal errors
  • New regression test suite (source only)
  • Fixes several unreported issues (git log for details)

New ALU opcodes since version 54:

  • PSHQ Push contents of Q to R
  • SQEQ Skip if Q is zero
  • SQNE Skip if Q is not zero
  • SQGE Skip if Q is greater than or equal to zero
  • SQLE Skip if Q is less than or equal to zero
  • SQGT Skip if Q is greater than zero
  • SQLT Skip if Q is less than zero

Lots of internal stuff - see git log for details

Source: README.md, updated 2019-04-17