This is the distribution for "stringie", an implementation of Underload in ANSI C.
Seeing that there was no non-pathological implementation of ais523's beautiful Underload language in C, I undertook that project one evening. (In the company of a bottle of really fine wine. Why, it cost almost twelve dollars.) The result is one of the most pedantic and boring Underload interpreters known to man. Perhaps the most interesting property of it is its name, "stringie", which was an accident.
(cd src && make)
You can also pass
make to have the C compiler treat the source
code as ANSI C, and this will work, because the source code is ANSI C.
It can also be build using DICE C under AmigaDOS 1.3; see the file build.seq for details.
./bin/stringie '(Hello, world!)S'
From this we can see that the Underload program to be interpreted is passed directly in the first command-line argument to the executable.
However, there is also a form by which the Underload program can be read from a file:
./bin/stringie from eg/hello.ul
This distribution also contains a description of the Underload language
doc directory, and a collection of example programs in the
directory. These were taken from public-domain sources.
The contents of this repository are in the public domain. See the file UNLICENSE for more information.
git clone https://git.catseye.tc/stringie/
- Add AUTOFLUSH compile-time option; use in Amiga build (untested). Chris Pressey 3 years ago
- Make sure examples end with EOL, and add 2 more examples. Chris Pressey 3 years ago
- Try to clean up this document. Chris Pressey 3 years ago
- Make example usage clearer. Chris Pressey 3 years ago
- Remove advice which is now unnecessary. Chris Pressey 3 years ago
- Add ability to load Underload program from a file. Chris Pressey 3 years ago
- Include some example Underload programs in the distribution. Chris Pressey 3 years ago
- 80-column lines in README. Chris Pressey 3 years ago
- Add a description of Underload, so you know what you're getting into. Chris Pressey 3 years ago
- As elsewhere, I'm a bit sick of the strdup() nonsense, so, this. Chris Pressey 3 years ago