The Tenne-C programming language... from Good Ol' Boy Systems.by Andrew B. Peed, AT&T Bell Laboratories For all those unfamiliar with Tenne-C, the comment delimiter is General Idiosyncrasies of Tenne-CData is referred to as Ciphers; the start of a data section should be so
labeled. Data which is external to a given file is denoted by the term
Single arguments are not passed to functions individually; rather, multiple passes are made simultaneously to all functions. Thus, in Tenne-C, we speak of feuds rather than arguments. This is an extremely powerful, albeit somewhat destructive feature of Tenne-C. Relational operators work similarly to those in other languages, but in Tenne-C these are called kinfolk operators. It will be noted that some of these interrelate better than others. Kinfolk operators include:
The Boolean operators are somewhat different than most. Note the lack of AND and OR operators:
Variable assignments must be explicitly declared with the
AHDODECLARE: a's nearlybout 3
b's zacktly 4
c's bout 2
d's morerless TWEV
e's 2, an imeanit WHISPER this is a constant
Certain constants are implicit, such as Arrays must be declared with the AHDODECLARE(dinner) messa(fish) TWEV Note that until you get the hang of array declarations, you may
encounter a The program section is referred to as
Code is grouped into hopefully functional units with the standard, [] and () operators, although they are given slightly different names. They are still called braces, but the [] are called kibbuls and the () are called bits. Thus you can have braces and bits or kibbuls and bits. Braces and kibbuls are, of course, meaningless. If a Error messages can be quite strong indeed. We have one of the most arrogant compilers in the business, a source of great pride for us. Typical error messages include:
The compiler is referred to as the THRASHER and is invoked with the
simple Good Ol' Boy Systems still clings tenaciously to the notion that single-sided diskettes are better than double-sided diskettes. We maintain that a single-sided diskette is in opposition to the laws of physics as we know them today. However, we further maintain that, at some time in the future, Good Ol' Boy Systems will be the first to discover the unlimited storage of the heretofore undiscovered "nether side" of single-sided diskettes. Now that, folks, is virtual disk space. A software linker is not yet available. Until the virtual disk space is truly solved, we strongly recommend double sided disk drives. You can then purchase our hardware linker, which allows you to superglue two single-sided diskettes together. We're working on other things, too. For instance, there's our new operating system, MS-HOSS, with the 'Mater Vine file structure. And for 'Mater Vine support, there's 'Mater Stakes. And if you thought SideKick was good, wait til you see our new ButtKick utility. Expected to be widely available by the end of next month, regardless of what month this be, it is being developed using our powerful new Four Barrel Tenne-C. While we aren't yet ready to develop a Turbo Tenne-C, we feel that the high data compression ratio of Four Barrel Tenne-C will suffice. Here is a sample of our work. This is part of our new floating point package, written in LOWLIFE, our low-level programming language.
UNSTACKUMDOTNUMBER WHISPER rip number off the stack
JIP DOTREMOVER WHISPER jump if punctuated
DONTDONOTHING WHISPER no op
JUMP EM2DGITBACK WHISPER return
GUMDROPS4EARPLUGS WHISPER sweet things in my ear
DOTREMOVER:
RDLDOTNUMBER WHISPER Rikki, don't lose that number
ASRDOTNUMBER WHISPER shift the number right
JISP DOTREMOVER WHISPER jump if still punctuated
ABSOLUTELYNOT WHISPER negate number and take absolute value
BZZBZZBZZ WHISPER
WHISPER
WHISPER
EM2DGITBACK:
RTS WHISPER return to stack
RETURNS WHISPER return estimated truncated unary radix
WHISPER numerix stuff
|
Auswege: Impressum, Haftungsausschluß, Datenschutz,
Humor im Internet,
meine Homepage.
Links: Imprint,
Humor on the Internet,
my homepage.
$Id$