The Perl INTERCAL compiler

... The reference book

CLC-INTERCAL comes with its own documentation. This contains details about the compiler and the extensions to the language, but does not provide a complete INTERCAL reference. This is what this page is about.

Please note: this documentation has been ported from the former INTERCAL online reference manual. We believe that the material covers CLC-INTERCAL 1.-94, however some of the new features might not be completely documented, or not documented at all!

Table of Contents

Extensions

The main features of CLC-INTERCAL not found in INTERCAL-72 are:

Restrictions

We feel that using the NEXT statement is contrary to the philosophy of the language. This is confirmed by the number of people who have complained that they need NEXT to code a conditional GO TO -- which is not true, computed COME FROM works just fine, but it does show that people would rather keep using the same old constructs than learn anything new.

For this reason, it is normally an error to use it. Use COME FROM instead, computed COME FROM if you need conditionals; or, even better, use computed NEXT FROM and confuse everybody! If you really must run old programs which use NEXT, you need to explicitely enable it by preloading the special compiler add-on "next".