Readme and exmaple

This commit is contained in:
Jon Michael Aanes 2017-11-14 14:16:55 +01:00
parent f3dba06048
commit 9d375d3d79
2 changed files with 29 additions and 0 deletions

29
README.md Normal file
View File

@ -0,0 +1,29 @@
# 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

BIN
example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB