From 9e03717debbd1aa58ddd812996f53b141af36645 Mon Sep 17 00:00:00 2001 From: crc Date: Sun, 24 Jan 2021 01:13:04 +0000 Subject: [PATCH] normalize names for examples (with a couple of exceptions), closes #38 FossilOrigin-Name: 088675e452ed86a712563c8b2597fe4d47da59bdea0e40becdd1e028a84c47b0 --- Makefile | 2 +- example/{99Bottles.retro => 99-bottles.retro} | 0 example/{AddingVectors.retro => adding-vectors.retro} | 0 example/{ANS-PICK-ROLL.retro => ans-pick-roll.retro} | 0 example/{Assertions.retro => assertions.retro} | 0 example/{Autopsy.retro => autopsy.retro} | 0 example/{Block-Editor.retro => block-editor.retro} | 0 example/{Buffer.retro => buffer.retro} | 0 example/{ByteAddressing.retro => byte-addressing.retro} | 0 example/{CaptureOutput.retro => capture-output.retro} | 0 example/{Cat.retro => cat.retro} | 0 example/{Chess.retro => chess.retro} | 0 example/{CloseParen.retro => close-paren.retro} | 0 example/{DictionaryAlias.retro => dictionary-alias.retro} | 0 example/{DictionaryStats.retro => dictionary-stats.retro} | 0 example/{DictionaryUsedIn.retro => dictionary-used-in.retro} | 0 example/{DisplayNames.retro => display-names.retro} | 0 example/{Echo.retro => echo.retro} | 0 example/{EvaluateString.retro => evaluate-string.retro} | 0 example/{File.retro => file.retro} | 0 example/{FloatVar.retro => float-var.retro} | 0 ...loatingPointEncoding.retro => floating-point-encoding.retro} | 0 example/{Forget.retro => forget.retro} | 0 example/{GCD.retro => gcd.retro} | 0 example/{Gott.retro => gott.retro} | 0 example/{IterativeFibonacci.retro => iterative-fibonacci.retro} | 0 example/{KeyValueStore.retro => key-value-store.retro} | 0 .../{LeastCommonMultiple.retro => least-common-multiple.retro} | 0 ...tWeightFlowControl.retro => light-weight-flow-control.retro} | 0 example/{Marker.retro => marker.retro} | 0 example/{Matrix.retro => matrix.retro} | 0 example/{NamingQuotes.retro => naming-quotes.retro} | 0 example/{NetFetch.retro => net-fetch.retro} | 0 ...{NumbersWithoutPrefix.retro => numbers-without-prefix.retro} | 0 example/{Parse-UPS.retro => parse-ups.retro} | 0 example/{PasteToSprunge.retro => paste-to-sprunge.retro} | 0 example/{Primes.retro => primes.retro} | 0 example/{RecursiveFactorial.retro => recursive-factorial.retro} | 0 example/{RecursiveFibonacci.retro => recursive-fibonacci.retro} | 0 example/{RFC865.retro => rfc865.retro} | 0 example/{RFC867.retro => rfc867.retro} | 0 example/{Roo.retro => roo.retro} | 0 .../{Sandboxed-Dictionary.retro => sandboxed-dictionary.retro} | 0 .../{SaveAndRestoreStack.retro => save-and-restore-stack.retro} | 0 ...gToNumberWithBase.retro => string-to-number-with-base.retro} | 0 example/{TokenizeString.retro => tokenize-string.retro} | 0 example/{TokiPona-Translate.retro => toki-pona-translate.retro} | 0 example/{TopOfAddressStack.retro => top-of-address-stack.retro} | 0 example/{Tuporo.retro => tuporo.retro} | 0 49 files changed, 1 insertion(+), 1 deletion(-) rename example/{99Bottles.retro => 99-bottles.retro} (100%) rename example/{AddingVectors.retro => adding-vectors.retro} (100%) rename example/{ANS-PICK-ROLL.retro => ans-pick-roll.retro} (100%) rename example/{Assertions.retro => assertions.retro} (100%) rename example/{Autopsy.retro => autopsy.retro} (100%) rename example/{Block-Editor.retro => block-editor.retro} (100%) rename example/{Buffer.retro => buffer.retro} (100%) rename example/{ByteAddressing.retro => byte-addressing.retro} (100%) rename example/{CaptureOutput.retro => capture-output.retro} (100%) rename example/{Cat.retro => cat.retro} (100%) rename example/{Chess.retro => chess.retro} (100%) rename example/{CloseParen.retro => close-paren.retro} (100%) rename example/{DictionaryAlias.retro => dictionary-alias.retro} (100%) rename example/{DictionaryStats.retro => dictionary-stats.retro} (100%) rename example/{DictionaryUsedIn.retro => dictionary-used-in.retro} (100%) rename example/{DisplayNames.retro => display-names.retro} (100%) rename example/{Echo.retro => echo.retro} (100%) rename example/{EvaluateString.retro => evaluate-string.retro} (100%) rename example/{File.retro => file.retro} (100%) rename example/{FloatVar.retro => float-var.retro} (100%) rename example/{FloatingPointEncoding.retro => floating-point-encoding.retro} (100%) rename example/{Forget.retro => forget.retro} (100%) rename example/{GCD.retro => gcd.retro} (100%) rename example/{Gott.retro => gott.retro} (100%) rename example/{IterativeFibonacci.retro => iterative-fibonacci.retro} (100%) rename example/{KeyValueStore.retro => key-value-store.retro} (100%) rename example/{LeastCommonMultiple.retro => least-common-multiple.retro} (100%) rename example/{LightWeightFlowControl.retro => light-weight-flow-control.retro} (100%) rename example/{Marker.retro => marker.retro} (100%) rename example/{Matrix.retro => matrix.retro} (100%) rename example/{NamingQuotes.retro => naming-quotes.retro} (100%) rename example/{NetFetch.retro => net-fetch.retro} (100%) rename example/{NumbersWithoutPrefix.retro => numbers-without-prefix.retro} (100%) rename example/{Parse-UPS.retro => parse-ups.retro} (100%) rename example/{PasteToSprunge.retro => paste-to-sprunge.retro} (100%) rename example/{Primes.retro => primes.retro} (100%) rename example/{RecursiveFactorial.retro => recursive-factorial.retro} (100%) rename example/{RecursiveFibonacci.retro => recursive-fibonacci.retro} (100%) rename example/{RFC865.retro => rfc865.retro} (100%) rename example/{RFC867.retro => rfc867.retro} (100%) rename example/{Roo.retro => roo.retro} (100%) rename example/{Sandboxed-Dictionary.retro => sandboxed-dictionary.retro} (100%) rename example/{SaveAndRestoreStack.retro => save-and-restore-stack.retro} (100%) rename example/{StringToNumberWithBase.retro => string-to-number-with-base.retro} (100%) rename example/{TokenizeString.retro => tokenize-string.retro} (100%) rename example/{TokiPona-Translate.retro => toki-pona-translate.retro} (100%) rename example/{TopOfAddressStack.retro => top-of-address-stack.retro} (100%) rename example/{Tuporo.retro => tuporo.retro} (100%) diff --git a/Makefile b/Makefile index 40af8e6..55e651e 100644 --- a/Makefile +++ b/Makefile @@ -133,7 +133,7 @@ vm/nga-c/retro-image.c: ngaImage bin/retro-embedimage bin/retro-extend interface bin/retro: vm/nga-c/retro-image.c vm/nga-c/retro-unix.c vm/nga-c/bsd-strl.c vm/nga-c/config.h vm/nga-c/dev-clock.c vm/nga-c/dev-files.c vm/nga-c/dev-floatingpoint.c vm/nga-c/dev-image.c vm/nga-c/dev-rng.c vm/nga-c/dev-sockets.c vm/nga-c/dev-unix.c vm/nga-c/prototypes.h package/list.forth package/load-extensions.retro cd vm/nga-c && $(CC) $(OPTIONS) $(CFLAGS) $(LDFLAGS) -o ../../bin/retro retro-unix.c $(LIBM) - cd package && ../bin/retro -f list.forth + cd package && ../bin/retro -u rre.image -f list.forth ./bin/retro-embedimage rre.image >vm/nga-c/retro-image.c rm rre.image cd vm/nga-c && $(CC) $(OPTIONS) $(CFLAGS) $(LDFLAGS) -o ../../bin/retro retro-unix.c $(LIBM) diff --git a/example/99Bottles.retro b/example/99-bottles.retro similarity index 100% rename from example/99Bottles.retro rename to example/99-bottles.retro diff --git a/example/AddingVectors.retro b/example/adding-vectors.retro similarity index 100% rename from example/AddingVectors.retro rename to example/adding-vectors.retro diff --git a/example/ANS-PICK-ROLL.retro b/example/ans-pick-roll.retro similarity index 100% rename from example/ANS-PICK-ROLL.retro rename to example/ans-pick-roll.retro diff --git a/example/Assertions.retro b/example/assertions.retro similarity index 100% rename from example/Assertions.retro rename to example/assertions.retro diff --git a/example/Autopsy.retro b/example/autopsy.retro similarity index 100% rename from example/Autopsy.retro rename to example/autopsy.retro diff --git a/example/Block-Editor.retro b/example/block-editor.retro similarity index 100% rename from example/Block-Editor.retro rename to example/block-editor.retro diff --git a/example/Buffer.retro b/example/buffer.retro similarity index 100% rename from example/Buffer.retro rename to example/buffer.retro diff --git a/example/ByteAddressing.retro b/example/byte-addressing.retro similarity index 100% rename from example/ByteAddressing.retro rename to example/byte-addressing.retro diff --git a/example/CaptureOutput.retro b/example/capture-output.retro similarity index 100% rename from example/CaptureOutput.retro rename to example/capture-output.retro diff --git a/example/Cat.retro b/example/cat.retro similarity index 100% rename from example/Cat.retro rename to example/cat.retro diff --git a/example/Chess.retro b/example/chess.retro similarity index 100% rename from example/Chess.retro rename to example/chess.retro diff --git a/example/CloseParen.retro b/example/close-paren.retro similarity index 100% rename from example/CloseParen.retro rename to example/close-paren.retro diff --git a/example/DictionaryAlias.retro b/example/dictionary-alias.retro similarity index 100% rename from example/DictionaryAlias.retro rename to example/dictionary-alias.retro diff --git a/example/DictionaryStats.retro b/example/dictionary-stats.retro similarity index 100% rename from example/DictionaryStats.retro rename to example/dictionary-stats.retro diff --git a/example/DictionaryUsedIn.retro b/example/dictionary-used-in.retro similarity index 100% rename from example/DictionaryUsedIn.retro rename to example/dictionary-used-in.retro diff --git a/example/DisplayNames.retro b/example/display-names.retro similarity index 100% rename from example/DisplayNames.retro rename to example/display-names.retro diff --git a/example/Echo.retro b/example/echo.retro similarity index 100% rename from example/Echo.retro rename to example/echo.retro diff --git a/example/EvaluateString.retro b/example/evaluate-string.retro similarity index 100% rename from example/EvaluateString.retro rename to example/evaluate-string.retro diff --git a/example/File.retro b/example/file.retro similarity index 100% rename from example/File.retro rename to example/file.retro diff --git a/example/FloatVar.retro b/example/float-var.retro similarity index 100% rename from example/FloatVar.retro rename to example/float-var.retro diff --git a/example/FloatingPointEncoding.retro b/example/floating-point-encoding.retro similarity index 100% rename from example/FloatingPointEncoding.retro rename to example/floating-point-encoding.retro diff --git a/example/Forget.retro b/example/forget.retro similarity index 100% rename from example/Forget.retro rename to example/forget.retro diff --git a/example/GCD.retro b/example/gcd.retro similarity index 100% rename from example/GCD.retro rename to example/gcd.retro diff --git a/example/Gott.retro b/example/gott.retro similarity index 100% rename from example/Gott.retro rename to example/gott.retro diff --git a/example/IterativeFibonacci.retro b/example/iterative-fibonacci.retro similarity index 100% rename from example/IterativeFibonacci.retro rename to example/iterative-fibonacci.retro diff --git a/example/KeyValueStore.retro b/example/key-value-store.retro similarity index 100% rename from example/KeyValueStore.retro rename to example/key-value-store.retro diff --git a/example/LeastCommonMultiple.retro b/example/least-common-multiple.retro similarity index 100% rename from example/LeastCommonMultiple.retro rename to example/least-common-multiple.retro diff --git a/example/LightWeightFlowControl.retro b/example/light-weight-flow-control.retro similarity index 100% rename from example/LightWeightFlowControl.retro rename to example/light-weight-flow-control.retro diff --git a/example/Marker.retro b/example/marker.retro similarity index 100% rename from example/Marker.retro rename to example/marker.retro diff --git a/example/Matrix.retro b/example/matrix.retro similarity index 100% rename from example/Matrix.retro rename to example/matrix.retro diff --git a/example/NamingQuotes.retro b/example/naming-quotes.retro similarity index 100% rename from example/NamingQuotes.retro rename to example/naming-quotes.retro diff --git a/example/NetFetch.retro b/example/net-fetch.retro similarity index 100% rename from example/NetFetch.retro rename to example/net-fetch.retro diff --git a/example/NumbersWithoutPrefix.retro b/example/numbers-without-prefix.retro similarity index 100% rename from example/NumbersWithoutPrefix.retro rename to example/numbers-without-prefix.retro diff --git a/example/Parse-UPS.retro b/example/parse-ups.retro similarity index 100% rename from example/Parse-UPS.retro rename to example/parse-ups.retro diff --git a/example/PasteToSprunge.retro b/example/paste-to-sprunge.retro similarity index 100% rename from example/PasteToSprunge.retro rename to example/paste-to-sprunge.retro diff --git a/example/Primes.retro b/example/primes.retro similarity index 100% rename from example/Primes.retro rename to example/primes.retro diff --git a/example/RecursiveFactorial.retro b/example/recursive-factorial.retro similarity index 100% rename from example/RecursiveFactorial.retro rename to example/recursive-factorial.retro diff --git a/example/RecursiveFibonacci.retro b/example/recursive-fibonacci.retro similarity index 100% rename from example/RecursiveFibonacci.retro rename to example/recursive-fibonacci.retro diff --git a/example/RFC865.retro b/example/rfc865.retro similarity index 100% rename from example/RFC865.retro rename to example/rfc865.retro diff --git a/example/RFC867.retro b/example/rfc867.retro similarity index 100% rename from example/RFC867.retro rename to example/rfc867.retro diff --git a/example/Roo.retro b/example/roo.retro similarity index 100% rename from example/Roo.retro rename to example/roo.retro diff --git a/example/Sandboxed-Dictionary.retro b/example/sandboxed-dictionary.retro similarity index 100% rename from example/Sandboxed-Dictionary.retro rename to example/sandboxed-dictionary.retro diff --git a/example/SaveAndRestoreStack.retro b/example/save-and-restore-stack.retro similarity index 100% rename from example/SaveAndRestoreStack.retro rename to example/save-and-restore-stack.retro diff --git a/example/StringToNumberWithBase.retro b/example/string-to-number-with-base.retro similarity index 100% rename from example/StringToNumberWithBase.retro rename to example/string-to-number-with-base.retro diff --git a/example/TokenizeString.retro b/example/tokenize-string.retro similarity index 100% rename from example/TokenizeString.retro rename to example/tokenize-string.retro diff --git a/example/TokiPona-Translate.retro b/example/toki-pona-translate.retro similarity index 100% rename from example/TokiPona-Translate.retro rename to example/toki-pona-translate.retro diff --git a/example/TopOfAddressStack.retro b/example/top-of-address-stack.retro similarity index 100% rename from example/TopOfAddressStack.retro rename to example/top-of-address-stack.retro diff --git a/example/Tuporo.retro b/example/tuporo.retro similarity index 100% rename from example/Tuporo.retro rename to example/tuporo.retro