30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
|
|
||
|
# Tigersay #
|
||
|
|
||
|
![Once upon a time, there were a programming language named Tiger, and nobody used it. Then some stupid student though 'lets write a clone of cowsay'. And that is how I was born](./example.png)
|
||
|
|
||
|
An implementation of the classic Perl program
|
||
|
[cowsay](https://en.wikipedia.org/wiki/Cowsay) in
|
||
|
the Tiger programming language from the
|
||
|
[Modern Compiler Implementation in ML/C/Java](https://www.cs.princeton.edu/~appel/modern/ml/)
|
||
|
books.
|
||
|
|
||
|
Mostly written for the kicks, and also for testing my group's
|
||
|
tiger-compiler.
|
||
|
|
||
|
The framework we're using does not allow us to
|
||
|
parse commandline-arguments, so the only way to interact with
|
||
|
`tigersay` is to pipe into the compiled program. For example
|
||
|
`echo "Grrrrr" | tigersay`. For the same reasons it does not
|
||
|
support alternative faces.
|
||
|
|
||
|
## License ##
|
||
|
|
||
|
License is `beerware`:
|
||
|
|
||
|
<jonjmaa@gmail.com> wrote this program. As long as you retain this notice you
|
||
|
can do whatever you want with this stuff. If we meet some day, and you think
|
||
|
this stuff is worth it, you can buy me a beer in return.
|
||
|
- Jon Michael Aanes
|
||
|
|