{
  "id": "N-Q-SYSTEMS-v1.2",
  "type": "report",
  "title": "A Q-system rule never replaced anything.",
  "author": [
    {
      "family": "Hay",
      "given": "Chris"
    }
  ],
  "issued": {
    "date-parts": [
      [
        2026,
        11,
        26
      ]
    ]
  },
  "URL": "https://chrishayuk.com/records/N-Q-SYSTEMS/1.2",
  "publisher": "Chris Hay",
  "version": "1.2",
  "abstract": "A note about reconstructing the Q-systems, the rule language Alain Colmerauer designed at the Université de Montréal for the TAUM machine-translation project, in use from October 1969. No program text of it is known to survive. The language was rebuilt from Colmerauer’s report of September 1970, read from its page scans. A Q-system rewrites a graph of strings, not a string: a rule adds a path beside every path it matches and replaces nothing, and the arrows it rewrote are removed only when no rule applies any more. So one graph holds every alternative, with the shared parts shared. Run on the report’s examples, the reconstruction gives every result the report prints, with two exceptions. Its French example runs both ways: the sixteen rules, inverted, analyse a sentence into its normalised tree, and as written they synthesise its eighteen paraphrases into one graph of nineteen vertices, which is the report’s printout line for line, vertex numbers and all; each of the eighteen analyses back to the one tree. The exceptions: the report’s rules for turning a tree into a string do not stop as printed, and the eighteen sentences of the last printout come out in exactly the reverse of the report’s order. And the rules for removing one string remove its neighbours too."
}