H6070 B

Version of implementation H6070 B of programming language B

A generic version of the original interpreter. Nowadays exists only as references in the manual.

Examples:

Hello, World! - B (437):

An example from “A tutorial introduction to the language B” by Kernigan. Shows usage and initialization of global variables.

main( ) {
  extrn a, b, c;
  putchar(a);
  putchar(b);
  putchar(c);
  putchar('!*n');
}

a 'Hell';
b 'o, W';
c 'orld';