diff --git a/README.md b/README.md deleted file mode 100644 index 33dfbbb..0000000 --- a/README.md +++ /dev/null @@ -1,29 +0,0 @@ - -# 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. - -Written in November 2017, mostly for the kicks, but 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`: - - 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 - diff --git a/tigersay.tig b/tigersay.tig index a8e5953..70cc62f 100644 --- a/tigersay.tig +++ b/tigersay.tig @@ -1,17 +1,14 @@ -/* ## Tigersay ## +/* +# Tigersay # - Implementation of cowsay in the Tiger programming language. - Does not come as a binary, nor with a Tiger compiler. - Compilation is left as an exercise for the reader. +![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) - ## License ## +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. Does not come as a binary, nor with a Tiger compiler. Compilation is left as an exercise for the reader. - 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 +Written in November 2017, mostly for the kicks, but 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. */ let