tomo/examples
2025-04-06 22:45:02 -04:00
..
base64 No more colons for blocks 2025-04-06 16:07:23 -04:00
colorful Make string escapes more normal: "\n" for newline, etc. Backticks can be 2025-04-06 22:26:12 -04:00
commands Rename Array -> List in all code and docs 2025-04-06 22:45:02 -04:00
core Moved RNG out of the compiler and into a standalone library 2025-04-01 16:55:24 -04:00
game Improved inline C code: now uses C_code keyword and supports 2025-04-06 21:43:19 -04:00
http Improved inline C code: now uses C_code keyword and supports 2025-04-06 21:43:19 -04:00
http-server Rename Array -> List in all code and docs 2025-04-06 22:45:02 -04:00
ini Make string escapes more normal: "\n" for newline, etc. Backticks can be 2025-04-06 22:26:12 -04:00
log Make string escapes more normal: "\n" for newline, etc. Backticks can be 2025-04-06 22:26:12 -04:00
patterns Rename Array -> List in all code and docs 2025-04-06 22:45:02 -04:00
pthreads Make string escapes more normal: "\n" for newline, etc. Backticks can be 2025-04-06 22:26:12 -04:00
random Rename Array -> List in all code and docs 2025-04-06 22:45:02 -04:00
shell No more colons for blocks 2025-04-06 16:07:23 -04:00
time Improved inline C code: now uses C_code keyword and supports 2025-04-06 21:43:19 -04:00
tomo-install Make string escapes more normal: "\n" for newline, etc. Backticks can be 2025-04-06 22:26:12 -04:00
tomodeps Make string escapes more normal: "\n" for newline, etc. Backticks can be 2025-04-06 22:26:12 -04:00
vectors No more colons for blocks 2025-04-06 16:07:23 -04:00
wrap Make string escapes more normal: "\n" for newline, etc. Backticks can be 2025-04-06 22:26:12 -04:00
learnxiny.tm Rename Array -> List in all code and docs 2025-04-06 22:45:02 -04:00
README.md Add http-server example 2025-04-01 21:15:17 -04:00

Examples

This folder contains some example programs and libraries.

Example Programs

  • learnxiny.tm: A quick overview of language features in the
  • game: An example game using raylib.
  • http-server: A multithreaded HTTP server.
  • tomodeps: A library for finding Tomo dependencies.
  • tomo-install: A library for installing Tomo dependencies.

Example Libraries

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

  • base64: A base64 encoding/decoding library.
  • colorful: A DSL useful for rendering terminal colors.
  • commands: A library for running commands.
  • core: Bundling up commonly used libraries into a single library.
  • http: An HTTP library to make basic synchronous HTTP requests.
  • ini: An INI configuration file reader tool. style of learnxinyminutes.com.
  • log: A logging utility.
  • patterns: Pattern matching for text.
  • pthreads: A POSIX threads library.
  • random: Pseudorandom number generators.
  • shell: A DSL for running shell commands.
  • time: A module for working with dates and times.
  • vectors: A math vector library.
  • uuid: A universally unique identifier library.
  • wrap: A command-line program to wrap text.