aboutsummaryrefslogtreecommitdiff
path: root/examples/README.md
blob: d527d692c0b51a42689401061f589c52ee14db90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Examples

This folder contains some example programs and libraries.

## Example Programs

- [hello.tm](hello.tm): A Hello World program.
- [learnxiny.tm](learnxiny.tm): A quick overview of language features in the
  style of [learnxinyminutes.com](https://learnxinyminutes.com/).
- [game](https://github.com/bruce-hill/tomo-game): An example game using raylib.
- [http-server](https://github.com/bruce-hill/http-server): A multithreaded HTTP server.
- [wrap](https://github.com/bruce-hill/wrap): A command-line program to wrap text.

## Example Libraries

Libraries can be installed with `tomo -IL ./library-folder`

- [colorful](https://github.com/bruce-hill/tomo-colorful): A DSL useful for rendering terminal colors.
- [coroutines](https://github.com/bruce-hill/tomo-coroutines): A library for stackful coroutines similar to Lua's. (Note: only works on x86_64)
- [http](https://github.com/bruce-hill/tomo-http): An HTTP library to make basic synchronous HTTP requests.
- [ini](https://github.com/bruce-hill/tomo-ini): An INI configuration file reader tool.
- [log](https://github.com/bruce-hill/tomo-log): A logging utility.
- [vectors](https://github.com/bruce-hill/tomo-vectors): A math vector library.