diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-05-11 15:01:09 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-05-11 15:01:09 -0400 |
| commit | 761a483e28935f0bdee4658c37dfaa4606c2660a (patch) | |
| tree | 2e0b76801f2838d568ebd7b9c76884599ada0744 /examples | |
| parent | 84c29ce5facc166515b80abf79f33b2ea21bf9fa (diff) | |
Add new system for tracking versions.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/colorful/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/colorful/README.md | 2 | ||||
| -rw-r--r-- | examples/colorful/colorful.tm | 2 | ||||
| -rw-r--r-- | examples/coroutines/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/coroutines/README.md | 2 | ||||
| -rw-r--r-- | examples/game/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/http-server/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/http-server/connection-queue.tm | 2 | ||||
| -rw-r--r-- | examples/http-server/http-server.tm | 6 | ||||
| -rwxr-xr-x | examples/http-server/sample-site/random.tm | 2 | ||||
| -rw-r--r-- | examples/http/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/ini/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/ini/ini.tm | 2 | ||||
| -rw-r--r-- | examples/log/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/tomo-install/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/tomo-install/tomo-install.tm | 4 | ||||
| -rw-r--r-- | examples/tomodeps/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/tomodeps/tomodeps.tm | 2 | ||||
| -rw-r--r-- | examples/vectors/CHANGES.md | 5 | ||||
| -rw-r--r-- | examples/wrap/CHANGES.md | 5 |
20 files changed, 67 insertions, 12 deletions
diff --git a/examples/colorful/CHANGES.md b/examples/colorful/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/colorful/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/colorful/README.md b/examples/colorful/README.md index c03ace24..04a221e3 100644 --- a/examples/colorful/README.md +++ b/examples/colorful/README.md @@ -55,7 +55,7 @@ colorful [--help] [texts...] [--by-line] [--files ...] `colorful` can also be used as a Tomo library: ```tomo -use colorful +use colorful_v1.0 $Colorful" @(blue:Welcome to the @(bold:party)!) diff --git a/examples/colorful/colorful.tm b/examples/colorful/colorful.tm index 9a8bbbba..270efe8c 100644 --- a/examples/colorful/colorful.tm +++ b/examples/colorful/colorful.tm @@ -7,7 +7,7 @@ HELP := " CSI := "\033[" -use patterns +use patterns_v1.0 lang Colorful convert(text:Text -> Colorful) diff --git a/examples/coroutines/CHANGES.md b/examples/coroutines/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/coroutines/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/coroutines/README.md b/examples/coroutines/README.md index eef923e0..86b5dd00 100644 --- a/examples/coroutines/README.md +++ b/examples/coroutines/README.md @@ -6,7 +6,7 @@ This is a coroutine library built on top of a modified version of ## Example Usage ```tomo -use coroutines +use coroutines_v1.0 func main() co := Coroutine(func() diff --git a/examples/game/CHANGES.md b/examples/game/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/game/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/http-server/CHANGES.md b/examples/http-server/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/http-server/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/http-server/connection-queue.tm b/examples/http-server/connection-queue.tm index c56069e1..5cf8bb91 100644 --- a/examples/http-server/connection-queue.tm +++ b/examples/http-server/connection-queue.tm @@ -1,4 +1,4 @@ -use pthreads +use pthreads_v1.0 func _assert_success(name:Text, val:Int32; inline) fail("$name() failed!") if val < 0 diff --git a/examples/http-server/http-server.tm b/examples/http-server/http-server.tm index 80774bff..717aa733 100644 --- a/examples/http-server/http-server.tm +++ b/examples/http-server/http-server.tm @@ -9,9 +9,9 @@ use <unistd.h> use <arpa/inet.h> use <err.h> -use commands -use pthreads -use patterns +use commands_v1.0 +use pthreads_v1.0 +use patterns_v1.0 use ./connection-queue.tm diff --git a/examples/http-server/sample-site/random.tm b/examples/http-server/sample-site/random.tm index 153ac2af..75e185b3 100755 --- a/examples/http-server/sample-site/random.tm +++ b/examples/http-server/sample-site/random.tm @@ -1,5 +1,5 @@ #!/bin/env tomo -use random +use random_v1.0 func main() say(" diff --git a/examples/http/CHANGES.md b/examples/http/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/http/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/ini/CHANGES.md b/examples/ini/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/ini/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/ini/ini.tm b/examples/ini/ini.tm index 4dc27725..9bcfb3a4 100644 --- a/examples/ini/ini.tm +++ b/examples/ini/ini.tm @@ -1,5 +1,5 @@ -use patterns +use patterns_v1.0 _USAGE := " Usage: ini <filename> "[section[/key]]" diff --git a/examples/log/CHANGES.md b/examples/log/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/log/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/tomo-install/CHANGES.md b/examples/tomo-install/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/tomo-install/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/tomo-install/tomo-install.tm b/examples/tomo-install/tomo-install.tm index d915b993..e9838859 100644 --- a/examples/tomo-install/tomo-install.tm +++ b/examples/tomo-install/tomo-install.tm @@ -1,5 +1,5 @@ -use shell -use patterns +use shell_v1.0 +use patterns_v1.0 _USAGE := " tomo-install file.tm... diff --git a/examples/tomodeps/CHANGES.md b/examples/tomodeps/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/tomodeps/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/tomodeps/tomodeps.tm b/examples/tomodeps/tomodeps.tm index 5513290c..af7f2573 100644 --- a/examples/tomodeps/tomodeps.tm +++ b/examples/tomodeps/tomodeps.tm @@ -1,6 +1,6 @@ # Show a Tomo dependency graph -use patterns +use patterns_v1.0 _USAGE := "Usage: tomodeps <files...>" diff --git a/examples/vectors/CHANGES.md b/examples/vectors/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/vectors/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/examples/wrap/CHANGES.md b/examples/wrap/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/examples/wrap/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version |
