NORD Programming Language

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search

NPL was a programming language by the Norwegian minicomputer manufacturer Norsk Data. It shipped as a standard component of the operating system SINTRAN III.

The language was also used to implement SINTRAN III. I.e. the core and file system of SINTRAN III was written in NPL. The NPL compiler was also written in NPL and some core applications was early on written in NPL until PLANC came and linker and other software was rewritten in PLANC.

The NPL compiler was also special in that it did not produce object code as most compilers do. Instead it produced assembler code which then had to be assembled using the MAC assembler.

The registers of the CPU was available in NPL as predefined variables. Thus you could write:

X + T =: A

and the compiler would generate:


Functions could be declared with multiple entry points:


FUN1: T := 1

code here


Here you could either call FUN1 which set T to 1 before falling into FUN2 or you could set T to something else and call FUN2. If T register specified which file handle to write to you could then either call FUN1 to always output to terminal or you could specify a file handle yourself in T and call FUN2 to output to that file.

Personal tools

Served in 0.364 secs.