1
0
Go to file
2024-09-24 23:45:39 +02:00
.gitignore Initial commit of tigersay 2017-11-14 13:07:25 +01:00
example.png Readme and exmaple 2017-11-14 14:16:55 +01:00
LICENSE 🤖 Repository layout updated to latest version 2024-09-24 23:29:28 +02:00
README.md 🤖 Repository layout updated to latest version 2024-09-24 23:45:39 +02:00
tiger-linked-list.tig Linked list example 2024-03-10 15:12:06 +01:00
tigersay.tig Moving README into main file 2024-09-24 23:21:51 +02: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

An implementation of the classic Perl program cowsay in the Tiger programming language from the Modern Compiler Implementation in ML/C/Java books. Does not come as a binary, nor with a Tiger compiler. Compilation is left as an exercise for the reader.

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

MIT License

Copyright (c) 2017-2024 Jon Michael Aanes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.