From 09d29752fbf341a15e508a2292afaa7cccdad5e7 Mon Sep 17 00:00:00 2001 From: crc Date: Mon, 7 May 2018 18:25:49 +0000 Subject: [PATCH] words -> d:words FossilOrigin-Name: dfbcf2d3cc05753ef5fcc91f2b929e47350b93e7a01b9bac7c3011b9175e5d6e --- RELEASE_NOTES.md | 2 + doc/Glossary.txt | 24 ++-- interfaces/image.c | 14 +-- interfaces/rre_image_unix.c | 242 ++++++++++++++++++------------------ literate/RetroForth.md | 4 +- ngaImage | Bin 34928 -> 34936 bytes words.tsv | 2 +- 7 files changed, 145 insertions(+), 143 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index d12fd20..5bf26a2 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -9,6 +9,7 @@ Major Changes: - renamed `putc` to `c:put` - renamed `getc` to `c:get` - renamed `gets` to `s:get` +- renamed `words` to `d:words` - ```` no longer used for code blocks (now reserved for 'tests' under rre) @@ -27,6 +28,7 @@ Core Language: - renamed `putc` to `c:put` - renamed `getc` to `c:get` - renamed `gets` to `s:get` +- renamed `words` to `d:words` Interfaces: diff --git a/doc/Glossary.txt b/doc/Glossary.txt index 7769066..b6c1ea2 100644 --- a/doc/Glossary.txt +++ b/doc/Glossary.txt @@ -1770,6 +1770,18 @@ Class Handler: class:word | Namespace: d | Interface Layer: all ---------------------------------------------------------------- +d:words + + Data: - + Addr: - + Float: - + +Display a list of all named items in the `Dictionary`. + +Class Handler: class:word | Namespace: global | Interface Layer: all + +---------------------------------------------------------------- + d:xt Data: d-a @@ -4897,18 +4909,6 @@ Example #1: ---------------------------------------------------------------- -words - - Data: - - Addr: - - Float: - - -Display a list of all named items in the `Dictionary`. - -Class Handler: class:word | Namespace: global | Interface Layer: all - ----------------------------------------------------------------- - xor Data: mn-o diff --git a/interfaces/image.c b/interfaces/image.c index acd3b2b..0c2f045 100644 --- a/interfaces/image.c +++ b/interfaces/image.c @@ -1,6 +1,6 @@ #include -int32_t ngaImageCells = 8732; -int32_t ngaImage[] = { 1793,-1,8714,8731,201806,0,10,1,10,2,10,3,10,4,10,5,10,6,10, +int32_t ngaImageCells = 8734; +int32_t ngaImage[] = { 1793,-1,8716,8733,201806,0,10,1,10,2,10,3,10,4,10,5,10,6,10, 7,10,8,10,9,10,10,10,11,10,12,10,13,10,14,10,15,10,16,10, 17,10,18,10,19,10,20,10,21,10,22,10,23,10,24,10,25,10,26,10, 68223234,1,2575,85000450,1,656912,354,339,268505089,66,65,135205121,66,10,101384453,0,9,10,2049,59, @@ -432,8 +432,8 @@ int32_t ngaImage[] = { 1793,-1,8714,8731,201806,0,10,1,10,2,10,3,10,4,10,5,10,6, 0,1,10,2049,8572,10,8574,8591,147,115,112,0,1,32,2049,8572,10,8585,8603,147, 116,97,98,0,1,9,2049,8572,10,8596,8617,147,115,58,112,117,116,0,1793,8622, 2049,8572,10,1,8619,2049,3968,10,8608,8636,147,110,58,112,117,116,0,2049,5921,2049, - 8617,10,8627,8650,147,119,111,114,100,115,0,1793,8659,2049,165,2049,8617,2049,8591,10, - 1,8652,2049,6680,10,8641,8673,147,114,101,115,101,116,0,2049,1682,25,5,3,6, - 1,1,18,1,8675,7,10,8664,8700,147,100,117,109,112,45,115,116,97,99,107, - 0,2049,1682,25,3,5,2049,8700,6,2,2049,8636,2049,8591,10,8686,8722,147,70,82, - 69,69,0,2049,3512,1,1025,18,2049,1910,18,10,0 }; + 8617,10,8627,8652,147,100,58,119,111,114,100,115,0,1793,8661,2049,165,2049,8617,2049, + 8591,10,1,8654,2049,6680,10,8641,8675,147,114,101,115,101,116,0,2049,1682,25,5, + 3,6,1,1,18,1,8677,7,10,8666,8702,147,100,117,109,112,45,115,116,97, + 99,107,0,2049,1682,25,3,5,2049,8702,6,2,2049,8636,2049,8591,10,8688,8724,147, + 70,82,69,69,0,2049,3512,1,1025,18,2049,1910,18,10,0 }; diff --git a/interfaces/rre_image_unix.c b/interfaces/rre_image_unix.c index 5563361..dcdacbd 100644 --- a/interfaces/rre_image_unix.c +++ b/interfaces/rre_image_unix.c @@ -1,6 +1,6 @@ #include -int32_t ngaImageCells = 10993; -int32_t ngaImage[] = { 1793,-1,10956,10992,201806,0,10,1,10,2,10,3,10,4,10,5,10,6,10, +int32_t ngaImageCells = 10995; +int32_t ngaImage[] = { 1793,-1,10958,10994,201806,0,10,1,10,2,10,3,10,4,10,5,10,6,10, 7,10,8,10,9,10,10,10,11,10,12,10,13,10,14,10,15,10,16,10, 17,10,18,10,19,10,20,10,21,10,22,10,23,10,24,10,25,10,26,10, 68223234,1,2575,85000450,1,656912,354,339,268505089,66,65,135205121,66,10,101384453,0,9,10,2049,59, @@ -157,7 +157,7 @@ int32_t ngaImage[] = { 1793,-1,10956,10992,201806,0,10,1,10,2,10,3,10,4,10,5,10, 100,97,116,101,45,117,115,105,110,103,0,4,1793,3097,15,4,8,10,1,3093, 2049,2084,16,10,3072,3111,147,99,111,112,121,0,1793,3120,1,59,2049,2072,2049,62, 10,1,3113,2049,2259,3,3,10,3103,3140,147,83,99,111,112,101,76,105,115,116, - 0,10839,10898,10,3127,3149,147,123,123,0,2049,1557,2,1,3140,2049,62,16,10,3143, + 0,10841,10900,10,3127,3149,147,123,123,0,2049,1557,2,1,3140,2049,62,16,10,3143, 3174,147,45,45,45,114,101,118,101,97,108,45,45,45,0,2049,1557,1,3140,2049, 2849,16,10,3158,3188,147,125,125,0,1,3140,2049,59,4,15,11,1793,3202,3841,3140, 4097,2,10,1,3197,1793,3232,3841,3140,1793,3227,1,2,15,2,15,1,3140,2049,2849, @@ -432,121 +432,121 @@ int32_t ngaImage[] = { 1793,-1,10956,10992,201806,0,10,1,10,2,10,3,10,4,10,5,10, 0,1,10,2049,8572,10,8574,8591,147,115,112,0,1,32,2049,8572,10,8585,8603,147, 116,97,98,0,1,9,2049,8572,10,8596,8617,147,115,58,112,117,116,0,1793,8622, 2049,8572,10,1,8619,2049,3968,10,8608,8636,147,110,58,112,117,116,0,2049,5921,2049, - 8617,10,8627,8650,147,119,111,114,100,115,0,1793,8659,2049,165,2049,8617,2049,8591,10, - 1,8652,2049,6680,10,8641,8673,147,114,101,115,101,116,0,2049,1682,25,5,3,6, - 1,1,18,1,8675,7,10,8664,8700,147,100,117,109,112,45,115,116,97,99,107, - 0,2049,1682,25,3,5,2049,8700,6,2,2049,8636,2049,8591,10,8686,8722,147,70,82, - 69,69,0,2049,3512,1,1025,18,2049,1910,18,10,8714,8740,147,99,58,103,101,116, - 0,1001,10,8731,8756,147,110,58,116,111,45,102,108,111,97,116,0,1,0,-6000, - 10,8742,8774,147,115,58,116,111,45,102,108,111,97,116,0,1,1,-6000,10,8760, - 8793,147,102,58,116,111,45,115,116,114,105,110,103,0,2049,3625,2,1,2,-6000, - 10,8778,8807,147,102,58,43,0,1,3,-6000,10,8800,8818,147,102,58,45,0,1, - 4,-6000,10,8811,8829,147,102,58,42,0,1,5,-6000,10,8822,8840,147,102,58,47, - 0,1,6,-6000,10,8833,8855,147,102,58,102,108,111,111,114,0,1,7,-6000,10, - 8844,8868,147,102,58,101,113,63,0,1,8,-6000,10,8859,8882,147,102,58,45,101, - 113,63,0,1,9,-6000,10,8872,8895,147,102,58,108,116,63,0,1,10,-6000,10, - 8886,8908,147,102,58,103,116,63,0,1,11,-6000,10,8899,8923,147,102,58,100,101, - 112,116,104,0,1,12,-6000,10,8912,8936,147,102,58,100,117,112,0,1,13,-6000, - 10,8927,8950,147,102,58,100,114,111,112,0,1,14,-6000,10,8940,8964,147,102,58, - 115,119,97,112,0,1,15,-6000,10,8954,8977,147,102,58,108,111,103,0,1,16, - -6000,10,8968,8992,147,102,58,112,111,119,101,114,0,1,17,-6000,10,8981,9011,147, - 102,58,116,111,45,110,117,109,98,101,114,0,1,18,-6000,10,8996,9024,147,102, - 58,115,105,110,0,1,19,-6000,10,9015,9037,147,102,58,99,111,115,0,1,20, - -6000,10,9028,9050,147,102,58,116,97,110,0,1,21,-6000,10,9041,9064,147,102,58, - 97,115,105,110,0,1,22,-6000,10,9054,9078,147,102,58,97,99,111,115,0,1, - 23,-6000,10,9068,9092,147,102,58,97,116,97,110,0,1,24,-6000,10,9082,9109,147, - 102,58,99,101,105,108,105,110,103,0,1,25,-6000,10,9096,9123,147,102,58,115, - 113,114,116,0,1,26,-6000,10,9113,9137,147,102,58,111,118,101,114,0,2049,8793, - 2049,8936,2049,8774,2049,8964,10,9127,9156,147,102,58,116,117,99,107,0,2049,8964,2049, - 9137,10,9146,9176,147,102,58,112,111,115,105,116,105,118,101,63,0,1,0,2049, - 8756,2049,8908,10,9161,9198,147,102,58,110,101,103,97,116,105,118,101,63,0,1, - 0,2049,8756,2049,8895,10,9183,9217,147,102,58,110,101,103,97,116,101,0,1,-1, - 2049,8756,2049,8829,10,9205,9233,147,102,58,97,98,115,0,2049,8936,2049,9198,1793,9242, - 2049,9217,10,1,9239,2049,75,10,9224,9259,159,112,114,101,102,105,120,58,46,0, - 2049,1788,1793,9266,2049,3666,10,1,9263,1793,9273,2049,3599,10,1,9270,2049,67,1,8774, - 2049,147,10,9247,9291,147,102,58,112,117,116,0,2049,8793,2049,8617,10,9282,9304,147, - 102,58,80,73,0,2049,3640,51,46,49,52,49,53,57,50,0,1,9306,2049,8774, - 10,9296,9327,147,102,58,69,0,2049,3640,50,46,55,49,56,50,56,49,0,1, - 9329,2049,8774,10,9320,9352,147,102,58,78,65,78,0,2049,3640,48,0,1,9354,2049, - 8774,2049,3640,48,0,1,9362,2049,8774,2049,8840,10,9343,9380,147,102,58,73,78,70, - 0,2049,3640,49,46,48,0,1,9382,2049,8774,2049,3640,48,0,1,9392,2049,8774,2049, - 8840,10,9371,9411,147,102,58,45,73,78,70,0,2049,3640,45,49,46,48,0,1, - 9413,2049,8774,2049,3640,48,0,1,9424,2049,8774,2049,8840,10,9401,9443,147,102,58,110, - 97,110,63,0,2049,8936,2049,8882,10,9433,9458,147,102,58,105,110,102,63,0,2049, - 9380,2049,8868,10,9448,9474,147,102,58,45,105,110,102,63,0,2049,9411,2049,8868,10, - 9463,9493,147,103,111,112,104,101,114,58,103,101,116,0,-6200,10,9479,9507,147,115, - 121,115,58,97,114,103,99,0,-6100,10,9495,9521,147,115,121,115,58,97,114,103, - 118,0,2049,3625,4,-6101,10,9509,9541,147,117,110,105,120,58,115,121,115,116,101, - 109,0,1,-8000,-6300,10,9526,9558,147,117,110,105,120,58,102,111,114,107,0,1, - -8001,-6300,10,9545,9575,147,117,110,105,120,58,101,120,105,116,0,1,-8002,-6300,10, - 9562,9594,147,117,110,105,120,58,103,101,116,112,105,100,0,1,-8003,-6300,10,9579, - 9612,147,117,110,105,120,58,101,120,101,99,48,0,1,-8004,-6300,10,9598,9630,147, - 117,110,105,120,58,101,120,101,99,49,0,1,-8005,-6300,10,9616,9648,147,117,110, - 105,120,58,101,120,101,99,50,0,1,-8006,-6300,10,9634,9666,147,117,110,105,120, - 58,101,120,101,99,51,0,1,-8007,-6300,10,9652,9683,147,117,110,105,120,58,119, - 97,105,116,0,1,-8008,-6300,10,9670,9700,147,117,110,105,120,58,107,105,108,108, - 0,1,-8009,-6300,10,9687,9718,147,117,110,105,120,58,112,111,112,101,110,0,1, - -8010,-6300,10,9704,9737,147,117,110,105,120,58,112,99,108,111,115,101,0,1,-8011, - -6300,10,9722,9755,147,117,110,105,120,58,119,114,105,116,101,0,1793,9761,2,2049, - 82,10,1,9757,2049,2072,1,-8012,-6300,10,9741,9783,147,117,110,105,120,58,99,104, - 100,105,114,0,1,-8013,-6300,10,9769,9802,147,117,110,105,120,58,103,101,116,101, - 110,118,0,1,-8014,-6300,10,9787,9821,147,117,110,105,120,58,112,117,116,101,110, - 118,0,1,-8015,-6300,10,9806,9839,147,117,110,105,120,58,115,108,101,101,112,0, - 1,-8016,-6300,10,9825,0,134,102,105,108,101,58,82,0,9843,1,134,102,105,108, - 101,58,87,0,9853,2,134,102,105,108,101,58,65,0,9863,3,134,102,105,108, - 101,58,82,43,0,9873,9897,147,102,105,108,101,58,111,112,101,110,0,118,10, - 9884,9913,147,102,105,108,101,58,99,108,111,115,101,0,119,10,9899,9928,147,102, - 105,108,101,58,114,101,97,100,0,120,10,9915,9944,147,102,105,108,101,58,119, - 114,105,116,101,0,121,10,9930,9959,147,102,105,108,101,58,116,101,108,108,0, - 122,10,9946,9974,147,102,105,108,101,58,115,101,101,107,0,123,10,9961,9989,147, - 102,105,108,101,58,115,105,122,101,0,124,10,9976,10006,147,102,105,108,101,58, - 100,101,108,101,116,101,0,125,10,9991,10022,147,102,105,108,101,58,102,108,117, - 115,104,0,126,10,10008,10040,147,102,105,108,101,58,101,120,105,115,116,115,63, - 0,1,0,2049,9897,2,2049,2399,1793,10054,2049,9913,2049,2289,10,1,10049,1793,10062,3, - 2049,2301,10,1,10058,2049,67,10,10024,10074,134,70,73,68,0,0,10067,10084,134,70, - 83,105,122,101,0,0,10075,10095,134,65,99,116,105,111,110,0,0,10085,10106,134, - 66,117,102,102,101,114,0,0,10096,10116,147,45,101,111,102,63,0,3841,10074,2049, - 9959,3841,10084,13,10,10107,10136,147,112,114,101,115,101,114,118,101,0,1,10074,1793, - 10151,1,10084,1793,10146,8,10,1,10144,2049,3037,10,1,10140,2049,3037,10,10024,10174,147, - 102,105,108,101,58,114,101,97,100,45,108,105,110,101,0,4097,10074,1793,10231,2049, - 1910,2,4097,10106,2049,3419,1793,10223,3841,10074,2049,9928,2,2049,3327,1793,10200,1,13,11, - 10,1,10196,1793,10208,1,10,11,10,1,10204,1793,10216,1,0,11,10,1,10212,2049, - 2136,22,22,10,1,10187,2049,2230,2049,3351,3,10,1,10178,2049,3443,3841,10106,10,10156, - 10260,147,102,105,108,101,58,102,111,114,45,101,97,99,104,45,108,105,110,101, - 0,1793,10297,4097,10095,1,0,2049,9897,4097,10074,3841,10074,2049,9989,4097,10084,1793,10288,3841, - 10074,2049,10174,3841,10095,8,2049,10116,10,1,10278,2049,2204,3841,10074,2049,9913,10,1,10262, - 2049,10136,10,10238,10309,134,70,73,68,0,0,10302,10318,134,83,105,122,101,0,0, - 10238,10333,147,102,105,108,101,58,115,108,117,114,112,0,1793,10369,1,0,2049,9897, - 4097,10309,2049,3419,3841,10309,2049,9989,4097,10318,3841,10318,1793,10360,3841,10309,2049,9928,2049,3327, - 10,1,10353,2049,2259,3841,10309,2049,9913,10,1,10335,2049,3443,10,10319,10381,134,70,73, - 68,0,0,10319,10395,147,102,105,108,101,58,115,112,101,119,0,1,1,2049,9897, - 4097,10381,1793,10408,3841,10381,2049,9944,10,1,10403,2049,3968,3841,10381,2049,9913,10,10382,10434, - 147,117,110,105,120,58,105,111,58,110,58,112,117,116,0,1,-8100,-6300,10,10417, - 10455,147,117,110,105,120,58,105,111,58,115,58,112,117,116,0,1,-8101,-6300,10, - 10438,10470,147,118,101,114,115,105,111,110,0,3841,4,1,100,20,2049,8636,1,46, - 2049,8572,2049,8636,10,10459,10492,147,101,111,108,63,0,1793,10498,1,13,11,10,1, - 10494,1793,10506,1,10,11,10,1,10502,1793,10514,1,32,11,10,1,10510,2049,2136,22, - 22,10,10484,10531,147,118,97,108,105,100,63,0,2,2049,82,2049,2399,10,10521,10543, - 147,111,107,0,2049,1788,1793,10560,2049,8580,2049,3640,79,107,32,0,1,10551,2049,8617, - 10,1,10547,2049,73,10,10537,10578,147,99,104,101,99,107,45,101,111,102,0,2, - 1793,10585,1,-1,11,10,1,10581,1793,10593,1,4,11,10,1,10589,2049,2099,22,1793, - 10615,2049,3640,98,121,101,0,1,10602,2049,200,2049,161,15,8,10,1,10600,2049,75, - 10,10565,10632,147,99,104,101,99,107,45,98,115,0,2,1793,10639,1,8,11,10, - 1,10635,1793,10647,1,127,11,10,1,10643,2049,2099,22,1793,10661,2049,3351,2049,3351,2049, - 2051,10,1,10654,2049,75,10,10620,10675,147,115,58,103,101,116,0,1793,10704,1,1025, - 2049,3419,1793,10695,2049,8740,2,2049,3327,2049,10578,2049,10632,2049,10492,10,1,10683,2049,2230, - 2049,3293,2049,3734,10,1,10677,2049,3443,10,10438,10719,147,98,97,110,110,101,114,0, - 2049,3640,82,69,84,82,79,32,49,50,32,40,114,120,45,0,1,10721,2049,8617, - 2049,10470,1,41,2049,8572,2049,8580,2049,1543,2049,8636,2049,3640,32,77,65,88,44,32, - 84,73,66,32,64,32,49,48,50,53,44,32,72,101,97,112,32,64,32,0, - 1,10753,2049,8617,2049,1910,2049,8636,2049,8580,10,10709,10797,147,98,121,101,0,1,0, - 2049,9575,10,10790,10812,147,108,105,115,116,101,110,0,2049,10543,2049,10675,2049,10531,1793, - 10825,2049,366,2049,10543,10,1,10820,1793,10831,3,10,1,10829,2049,67,1,10814,7,10, - 10802,10850,147,105,110,99,108,117,100,101,0,-9999,10,10839,10862,147,103,97,116,104, - 101,114,0,2,1793,10869,1,8,11,10,1,10865,1793,10877,1,127,11,10,1,10873, - 2049,2099,22,1793,10886,3,10,1,10884,1793,10893,2049,3327,10,1,10890,2049,67,10,10852, - 10907,147,99,121,99,108,101,0,2049,8740,2049,2023,4,8,2049,2653,25,3,2049,10862, - 1,10907,7,10,10839,10938,147,112,97,114,115,101,45,117,110,116,105,108,0,1793, - 10951,2049,3625,2049,3419,2049,10907,2049,2051,2049,3293,10,1,10940,2049,3443,10,10923,10965,147, - 115,58,103,101,116,0,1793,10987,1793,10973,1,10,11,10,1,10969,1793,10981,1,13, - 11,10,1,10977,2049,2099,22,10,1,10967,2049,10938,10,0 }; + 8617,10,8627,8652,147,100,58,119,111,114,100,115,0,1793,8661,2049,165,2049,8617,2049, + 8591,10,1,8654,2049,6680,10,8641,8675,147,114,101,115,101,116,0,2049,1682,25,5, + 3,6,1,1,18,1,8677,7,10,8666,8702,147,100,117,109,112,45,115,116,97, + 99,107,0,2049,1682,25,3,5,2049,8702,6,2,2049,8636,2049,8591,10,8688,8724,147, + 70,82,69,69,0,2049,3512,1,1025,18,2049,1910,18,10,8716,8742,147,99,58,103, + 101,116,0,1001,10,8733,8758,147,110,58,116,111,45,102,108,111,97,116,0,1, + 0,-6000,10,8744,8776,147,115,58,116,111,45,102,108,111,97,116,0,1,1,-6000, + 10,8762,8795,147,102,58,116,111,45,115,116,114,105,110,103,0,2049,3625,2,1, + 2,-6000,10,8780,8809,147,102,58,43,0,1,3,-6000,10,8802,8820,147,102,58,45, + 0,1,4,-6000,10,8813,8831,147,102,58,42,0,1,5,-6000,10,8824,8842,147,102, + 58,47,0,1,6,-6000,10,8835,8857,147,102,58,102,108,111,111,114,0,1,7, + -6000,10,8846,8870,147,102,58,101,113,63,0,1,8,-6000,10,8861,8884,147,102,58, + 45,101,113,63,0,1,9,-6000,10,8874,8897,147,102,58,108,116,63,0,1,10, + -6000,10,8888,8910,147,102,58,103,116,63,0,1,11,-6000,10,8901,8925,147,102,58, + 100,101,112,116,104,0,1,12,-6000,10,8914,8938,147,102,58,100,117,112,0,1, + 13,-6000,10,8929,8952,147,102,58,100,114,111,112,0,1,14,-6000,10,8942,8966,147, + 102,58,115,119,97,112,0,1,15,-6000,10,8956,8979,147,102,58,108,111,103,0, + 1,16,-6000,10,8970,8994,147,102,58,112,111,119,101,114,0,1,17,-6000,10,8983, + 9013,147,102,58,116,111,45,110,117,109,98,101,114,0,1,18,-6000,10,8998,9026, + 147,102,58,115,105,110,0,1,19,-6000,10,9017,9039,147,102,58,99,111,115,0, + 1,20,-6000,10,9030,9052,147,102,58,116,97,110,0,1,21,-6000,10,9043,9066,147, + 102,58,97,115,105,110,0,1,22,-6000,10,9056,9080,147,102,58,97,99,111,115, + 0,1,23,-6000,10,9070,9094,147,102,58,97,116,97,110,0,1,24,-6000,10,9084, + 9111,147,102,58,99,101,105,108,105,110,103,0,1,25,-6000,10,9098,9125,147,102, + 58,115,113,114,116,0,1,26,-6000,10,9115,9139,147,102,58,111,118,101,114,0, + 2049,8795,2049,8938,2049,8776,2049,8966,10,9129,9158,147,102,58,116,117,99,107,0,2049, + 8966,2049,9139,10,9148,9178,147,102,58,112,111,115,105,116,105,118,101,63,0,1, + 0,2049,8758,2049,8910,10,9163,9200,147,102,58,110,101,103,97,116,105,118,101,63, + 0,1,0,2049,8758,2049,8897,10,9185,9219,147,102,58,110,101,103,97,116,101,0, + 1,-1,2049,8758,2049,8831,10,9207,9235,147,102,58,97,98,115,0,2049,8938,2049,9200, + 1793,9244,2049,9219,10,1,9241,2049,75,10,9226,9261,159,112,114,101,102,105,120,58, + 46,0,2049,1788,1793,9268,2049,3666,10,1,9265,1793,9275,2049,3599,10,1,9272,2049,67, + 1,8776,2049,147,10,9249,9293,147,102,58,112,117,116,0,2049,8795,2049,8617,10,9284, + 9306,147,102,58,80,73,0,2049,3640,51,46,49,52,49,53,57,50,0,1,9308, + 2049,8776,10,9298,9329,147,102,58,69,0,2049,3640,50,46,55,49,56,50,56,49, + 0,1,9331,2049,8776,10,9322,9354,147,102,58,78,65,78,0,2049,3640,48,0,1, + 9356,2049,8776,2049,3640,48,0,1,9364,2049,8776,2049,8842,10,9345,9382,147,102,58,73, + 78,70,0,2049,3640,49,46,48,0,1,9384,2049,8776,2049,3640,48,0,1,9394,2049, + 8776,2049,8842,10,9373,9413,147,102,58,45,73,78,70,0,2049,3640,45,49,46,48, + 0,1,9415,2049,8776,2049,3640,48,0,1,9426,2049,8776,2049,8842,10,9403,9445,147,102, + 58,110,97,110,63,0,2049,8938,2049,8884,10,9435,9460,147,102,58,105,110,102,63, + 0,2049,9382,2049,8870,10,9450,9476,147,102,58,45,105,110,102,63,0,2049,9413,2049, + 8870,10,9465,9495,147,103,111,112,104,101,114,58,103,101,116,0,-6200,10,9481,9509, + 147,115,121,115,58,97,114,103,99,0,-6100,10,9497,9523,147,115,121,115,58,97, + 114,103,118,0,2049,3625,4,-6101,10,9511,9543,147,117,110,105,120,58,115,121,115, + 116,101,109,0,1,-8000,-6300,10,9528,9560,147,117,110,105,120,58,102,111,114,107, + 0,1,-8001,-6300,10,9547,9577,147,117,110,105,120,58,101,120,105,116,0,1,-8002, + -6300,10,9564,9596,147,117,110,105,120,58,103,101,116,112,105,100,0,1,-8003,-6300, + 10,9581,9614,147,117,110,105,120,58,101,120,101,99,48,0,1,-8004,-6300,10,9600, + 9632,147,117,110,105,120,58,101,120,101,99,49,0,1,-8005,-6300,10,9618,9650,147, + 117,110,105,120,58,101,120,101,99,50,0,1,-8006,-6300,10,9636,9668,147,117,110, + 105,120,58,101,120,101,99,51,0,1,-8007,-6300,10,9654,9685,147,117,110,105,120, + 58,119,97,105,116,0,1,-8008,-6300,10,9672,9702,147,117,110,105,120,58,107,105, + 108,108,0,1,-8009,-6300,10,9689,9720,147,117,110,105,120,58,112,111,112,101,110, + 0,1,-8010,-6300,10,9706,9739,147,117,110,105,120,58,112,99,108,111,115,101,0, + 1,-8011,-6300,10,9724,9757,147,117,110,105,120,58,119,114,105,116,101,0,1793,9763, + 2,2049,82,10,1,9759,2049,2072,1,-8012,-6300,10,9743,9785,147,117,110,105,120,58, + 99,104,100,105,114,0,1,-8013,-6300,10,9771,9804,147,117,110,105,120,58,103,101, + 116,101,110,118,0,1,-8014,-6300,10,9789,9823,147,117,110,105,120,58,112,117,116, + 101,110,118,0,1,-8015,-6300,10,9808,9841,147,117,110,105,120,58,115,108,101,101, + 112,0,1,-8016,-6300,10,9827,0,134,102,105,108,101,58,82,0,9845,1,134,102, + 105,108,101,58,87,0,9855,2,134,102,105,108,101,58,65,0,9865,3,134,102, + 105,108,101,58,82,43,0,9875,9899,147,102,105,108,101,58,111,112,101,110,0, + 118,10,9886,9915,147,102,105,108,101,58,99,108,111,115,101,0,119,10,9901,9930, + 147,102,105,108,101,58,114,101,97,100,0,120,10,9917,9946,147,102,105,108,101, + 58,119,114,105,116,101,0,121,10,9932,9961,147,102,105,108,101,58,116,101,108, + 108,0,122,10,9948,9976,147,102,105,108,101,58,115,101,101,107,0,123,10,9963, + 9991,147,102,105,108,101,58,115,105,122,101,0,124,10,9978,10008,147,102,105,108, + 101,58,100,101,108,101,116,101,0,125,10,9993,10024,147,102,105,108,101,58,102, + 108,117,115,104,0,126,10,10010,10042,147,102,105,108,101,58,101,120,105,115,116, + 115,63,0,1,0,2049,9899,2,2049,2399,1793,10056,2049,9915,2049,2289,10,1,10051,1793, + 10064,3,2049,2301,10,1,10060,2049,67,10,10026,10076,134,70,73,68,0,0,10069,10086, + 134,70,83,105,122,101,0,0,10077,10097,134,65,99,116,105,111,110,0,0,10087, + 10108,134,66,117,102,102,101,114,0,0,10098,10118,147,45,101,111,102,63,0,3841, + 10076,2049,9961,3841,10086,13,10,10109,10138,147,112,114,101,115,101,114,118,101,0,1, + 10076,1793,10153,1,10086,1793,10148,8,10,1,10146,2049,3037,10,1,10142,2049,3037,10,10026, + 10176,147,102,105,108,101,58,114,101,97,100,45,108,105,110,101,0,4097,10076,1793, + 10233,2049,1910,2,4097,10108,2049,3419,1793,10225,3841,10076,2049,9930,2,2049,3327,1793,10202,1, + 13,11,10,1,10198,1793,10210,1,10,11,10,1,10206,1793,10218,1,0,11,10,1, + 10214,2049,2136,22,22,10,1,10189,2049,2230,2049,3351,3,10,1,10180,2049,3443,3841,10108, + 10,10158,10262,147,102,105,108,101,58,102,111,114,45,101,97,99,104,45,108,105, + 110,101,0,1793,10299,4097,10097,1,0,2049,9899,4097,10076,3841,10076,2049,9991,4097,10086,1793, + 10290,3841,10076,2049,10176,3841,10097,8,2049,10118,10,1,10280,2049,2204,3841,10076,2049,9915,10, + 1,10264,2049,10138,10,10240,10311,134,70,73,68,0,0,10304,10320,134,83,105,122,101, + 0,0,10240,10335,147,102,105,108,101,58,115,108,117,114,112,0,1793,10371,1,0, + 2049,9899,4097,10311,2049,3419,3841,10311,2049,9991,4097,10320,3841,10320,1793,10362,3841,10311,2049,9930, + 2049,3327,10,1,10355,2049,2259,3841,10311,2049,9915,10,1,10337,2049,3443,10,10321,10383,134, + 70,73,68,0,0,10321,10397,147,102,105,108,101,58,115,112,101,119,0,1,1, + 2049,9899,4097,10383,1793,10410,3841,10383,2049,9946,10,1,10405,2049,3968,3841,10383,2049,9915,10, + 10384,10436,147,117,110,105,120,58,105,111,58,110,58,112,117,116,0,1,-8100,-6300, + 10,10419,10457,147,117,110,105,120,58,105,111,58,115,58,112,117,116,0,1,-8101, + -6300,10,10440,10472,147,118,101,114,115,105,111,110,0,3841,4,1,100,20,2049,8636, + 1,46,2049,8572,2049,8636,10,10461,10494,147,101,111,108,63,0,1793,10500,1,13,11, + 10,1,10496,1793,10508,1,10,11,10,1,10504,1793,10516,1,32,11,10,1,10512,2049, + 2136,22,22,10,10486,10533,147,118,97,108,105,100,63,0,2,2049,82,2049,2399,10, + 10523,10545,147,111,107,0,2049,1788,1793,10562,2049,8580,2049,3640,79,107,32,0,1,10553, + 2049,8617,10,1,10549,2049,73,10,10539,10580,147,99,104,101,99,107,45,101,111,102, + 0,2,1793,10587,1,-1,11,10,1,10583,1793,10595,1,4,11,10,1,10591,2049,2099, + 22,1793,10617,2049,3640,98,121,101,0,1,10604,2049,200,2049,161,15,8,10,1,10602, + 2049,75,10,10567,10634,147,99,104,101,99,107,45,98,115,0,2,1793,10641,1,8, + 11,10,1,10637,1793,10649,1,127,11,10,1,10645,2049,2099,22,1793,10663,2049,3351,2049, + 3351,2049,2051,10,1,10656,2049,75,10,10622,10677,147,115,58,103,101,116,0,1793,10706, + 1,1025,2049,3419,1793,10697,2049,8742,2,2049,3327,2049,10580,2049,10634,2049,10494,10,1,10685, + 2049,2230,2049,3293,2049,3734,10,1,10679,2049,3443,10,10440,10721,147,98,97,110,110,101, + 114,0,2049,3640,82,69,84,82,79,32,49,50,32,40,114,120,45,0,1,10723, + 2049,8617,2049,10472,1,41,2049,8572,2049,8580,2049,1543,2049,8636,2049,3640,32,77,65,88, + 44,32,84,73,66,32,64,32,49,48,50,53,44,32,72,101,97,112,32,64, + 32,0,1,10755,2049,8617,2049,1910,2049,8636,2049,8580,10,10711,10799,147,98,121,101,0, + 1,0,2049,9577,10,10792,10814,147,108,105,115,116,101,110,0,2049,10545,2049,10677,2049, + 10533,1793,10827,2049,366,2049,10545,10,1,10822,1793,10833,3,10,1,10831,2049,67,1,10816, + 7,10,10804,10852,147,105,110,99,108,117,100,101,0,-9999,10,10841,10864,147,103,97, + 116,104,101,114,0,2,1793,10871,1,8,11,10,1,10867,1793,10879,1,127,11,10, + 1,10875,2049,2099,22,1793,10888,3,10,1,10886,1793,10895,2049,3327,10,1,10892,2049,67, + 10,10854,10909,147,99,121,99,108,101,0,2049,8742,2049,2023,4,8,2049,2653,25,3, + 2049,10864,1,10909,7,10,10841,10940,147,112,97,114,115,101,45,117,110,116,105,108, + 0,1793,10953,2049,3625,2049,3419,2049,10909,2049,2051,2049,3293,10,1,10942,2049,3443,10,10925, + 10967,147,115,58,103,101,116,0,1793,10989,1793,10975,1,10,11,10,1,10971,1793,10983, + 1,13,11,10,1,10979,2049,2099,22,10,1,10969,2049,10940,10,0 }; diff --git a/literate/RetroForth.md b/literate/RetroForth.md index 1b10212..62bd629 100644 --- a/literate/RetroForth.md +++ b/literate/RetroForth.md @@ -1474,7 +1474,7 @@ Different inteface layers may provide additional I/O words. I provide just a few debugging aids. ~~~ -:words (-) [ d:name s:put sp ] d:for-each ; +:d:words (-) [ d:name s:put sp ] d:for-each ; :reset (...-) depth repeat 0; push drop pop #1 - again ; :dump-stack (-) depth 0; drop push dump-stack pop dup n:put sp ; ~~~ @@ -1500,7 +1500,7 @@ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - Copyright (c) 2008 - 2017, Charles Childers + Copyright (c) 2008 - 2018, Charles Childers Copyright (c) 2012 - 2013, Michal J Wallace Copyright (c) 2009 - 2011, Luke Parrish Copyright (c) 2009 - 2010, JGL diff --git a/ngaImage b/ngaImage index 7bf26c583d9f3e8575eda117d4ea5de439d3e845..7b841209cf05b6bfb189a84d35a8d5f58827d097 100644 GIT binary patch delta 106 zcmew`f$7HtCSFE%28RDYz@x;#AiI(GcN^~+MFxh+3=9k@Kx{Rcw_Tp`>SWz^WyW)p z1KWjJAA@8k2kHw?u4y+Ad(^2 diff --git a/words.tsv b/words.tsv index 5795b48..6335027 100644 --- a/words.tsv +++ b/words.tsv @@ -140,6 +140,7 @@ d:link d-a - - Given a dictionary header, return the link field. class:word {n d:lookup s-d - - Lookup the specified name in the dictionary and return a pointer to its dictionary header. This returns zero if the word is not found. class:word {n/a} {n/a} d all d:lookup-xt a-d - - Lookup the specified address in the dictionary and return a pointer to its dictionary header. This returns zero if the word is not found. class:word {n/a} {n/a} d all d:name d-s - - Given a dictionary header, return the name field. class:word {n/a} {n/a} d all +d:words - - - Display a list of all named items in the `Dictionary`. class:word {n/a} {n/a} global all d:xt d-a - - Given a dictionary header, return the xt field. class:word {n/a} {n/a} d all data - - - Change the class of the most recently defined word to `class:data`. class:word {n/a} {n/a} global all depth -n - - Return the number of items on the stack. class:word {n/a} {n/a} global all @@ -383,7 +384,6 @@ v:update-using aq- - - Fetch a value from the specified address, then run the qu var s- - - Create a variable. The variable is initialized to 0. class:word 'Base var {n/a} global all var ns- - - Create a variable with the specified initial value. class:word #10 'Base var\n {n/a} global all while q- - - Execute quote repeatedly while the quote returns a `TRUE` value. The quote should return a flag of either `TRUE` or `FALSE`, though `while` will treat any non-zero value as `TRUE`. class:word #10 [ dup n:put nl n:dec dup n:-zero? ] while {n/a} global all -words - - - Display a list of all named items in the `Dictionary`. class:word {n/a} {n/a} global all xor mn-o - - Perform a bitwise XOR operation. class:primitive {n/a} {n/a} global all {{ - - - Begin a lexically scoped area. class:word {n/a} {n/a} global all }as f- - - End an assembly section. class:macro {n/a} {n/a} global all