Examples
This folder contains some example programs and libraries.
Example Programs
- hello.tm: A Hello World program.
- learnxiny.tm: A quick overview of language features in the style of learnxinyminutes.com.
- game: An example game using raylib.
- http-server: A multithreaded HTTP server.
- wrap: A command-line program to wrap text.
Example Libraries
Libraries can be installed with tomo -IL ./library-folder
- colorful: A DSL useful for rendering terminal colors.
- coroutines: A library for stackful coroutines similar to Lua's. (Note: only works on x86_64)
- http: An HTTP library to make basic synchronous HTTP requests.
- ini: An INI configuration file reader tool.
- log: A logging utility.
- vectors: A math vector library.
1 # Examples3 This folder contains some example programs and libraries.5 ## Example Programs14 ## Example Libraries18 - [colorful](https://github.com/bruce-hill/tomo-colorful): A DSL useful for rendering terminal colors.19 - [coroutines](https://github.com/bruce-hill/tomo-coroutines): A library for stackful coroutines similar to Lua's. (Note: only works on x86_64)20 - [http](https://github.com/bruce-hill/tomo-http): An HTTP library to make basic synchronous HTTP requests.