1
0
tigersay/README.md

30 lines
1.1 KiB
Markdown
Raw Normal View History

2017-11-14 13:16:55 +00:00
# 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.
2018-06-06 12:52:04 +00:00
Written in November 2017, mostly for the kicks, but also for testing
my group's Tiger-compiler.
2017-11-14 13:16:55 +00:00
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