Wiki entry @ esolangs.org | See also: ILLGOL ∘ yucca
SICKBAY is an esoteric dialect of BASIC with two salient features:
- While most BASICs support a call stack which is used to implement
GOSUB
andRETURN
, SICKBAY uses a call ring buffer, which supports not onlyGOSUB
andRETURN
but alsoPROLONG
andCUTSHORT
. - While some BASICs support computed line numbers in
GOTO
andGOSUB
, SICKBAY supports computed line numbers only in line number definitions. It thus lacks anIF
statement because, similar to Strelnokoff, it doesn't need one.
This is the reference distribution for SICKBAY. It contains:
- the normative description (i.e. specification) of the language -- see the
file
SICKBAY.md
in thedoc
directory. - other notes on the language, also in the
doc
directory. - SAWBONES, Cat's Eye Technologies' reference implementation of SICKBAY,
written in Python, in the
script
directory. - several small example SICKBAY programs in the
eg
directory.
For more information on the language, see the SICKBAY article on the esolangs.org wiki.
Jeremy List has written a SICKBAY interpreter in Haskell. It can be found here: sickbay.hs.