Commit graph

44 commits

Author SHA1 Message Date
crc
8005f95107 repl.cs -> repl in c# for windows users
FossilOrigin-Name: 9399da06915b2bc50c6785680d939283cb801a80456793717a6257dc066fd211
2017-11-22 13:58:58 +00:00
crc
777b15e56a rre, repl: quit if attempt to store before address 0
FossilOrigin-Name: ce61c9c18e464240e22f68b50fe17474ef089a67143e4c3d3b615b83baae42f7
2017-11-21 12:20:55 +00:00
crc
ec4e406feb rre, repl: quit if attempt to store beyond IMAGE_SIZE
FossilOrigin-Name: 9ca790fe4e89dd18914e494d60224dd837e16f43f528037ab73f31374ca432b4
2017-11-21 12:19:00 +00:00
crc
931be26034 add f:PI and f:E to rre
FossilOrigin-Name: e1d4ed5d9b3722f59ba0b5b061621d58e484421df58c92948f14b4b7c818e2f6
2017-11-20 01:19:03 +00:00
crc
9913ffca13 rre: add more commentary in the forth side of the additions
FossilOrigin-Name: b6e5157795016c817bb0f1177868b464cb025e31e9fa04f66d299b47809759a8
2017-11-19 15:08:58 +00:00
crc
29b0370e50 shorten C-part of floating point code a bit
FossilOrigin-Name: a5f0b35f946f25c813de5c16a1b172727b011a7d2bfaa644c9e1e4ca866dd6eb
2017-11-19 15:00:29 +00:00
crc
8185f9839c add f:asin, f:atan, f:acos
FossilOrigin-Name: 6a4e741ad77d6bf322254aeb35da613db702505efe60820d91b100813ac9b5ff
2017-11-19 14:51:25 +00:00
crc
53dc840260 add f:sin, f:tan, f:cos
FossilOrigin-Name: 613582429fb75cee604f8a4e8402286a3cf76b561782a3dbb2156e0a19a3d0ff
2017-11-19 01:04:22 +00:00
crc
44285bc81b rre: now exit on ctrl+d when using listener
FossilOrigin-Name: e7f81e571352dbe594083f98ef72e6707a9bfbb86072322191409630c28e82d8
2017-11-16 17:56:15 +00:00
crc
1e3de483b7 rre: add -i for interactive mode
FossilOrigin-Name: 1298ee794c8f9a90d099b39b2ef4c59f128de0ba73a7ae11f37abadc4ae24241
2017-11-15 19:57:17 +00:00
crc
ac8745a4a4 add unix:sleep
FossilOrigin-Name: 6db38b3d4ff77f35e025658a3ced78cacfcc093742ef7d20cb9767830d738d73
2017-11-14 19:16:49 +00:00
crc
10a5177776 fix s:trim-left
FossilOrigin-Name: 6e7b11d433b2d4098379b0e649c94fa7344b47c4b72c1e285e35c18cb962ed63
2017-11-14 01:47:26 +00:00
crc
9e7c27fcc7 add s:tokenize-on-string to stdlib
FossilOrigin-Name: fbbc60112e0011614b639c24a061eca41d3924b93f9a8e02c0685243e888c3a9
2017-11-13 13:05:46 +00:00
crc
990066ac08 add s:tokenize to stdlib
FossilOrigin-Name: 1c4918bebdacb9e724b29f51f5a80751116c1afbd28606e8a8dfac2a9a71c489
2017-11-13 12:52:10 +00:00
crc
f5ab204483 add file:spew
FossilOrigin-Name: 7e915652801f48ebac0fefaf29fcdfe530968d8e300a8735b9d192cece2c4689
2017-11-11 02:39:41 +00:00
crc
281932ff4a add unix:putenv
FossilOrigin-Name: 0be9f7ec4faec2d57a9d993defc8729a721c9b5f08320d2319d4059fffd5877e
2017-11-10 19:23:28 +00:00
crc
c9aa72a25d unix:getenv, unix:chdir
FossilOrigin-Name: 59da938df20d3bf9fc7b72184e2ae6dd3f971f20f40c3d245e9cf2201d967cb4
2017-11-10 19:10:33 +00:00
crc
c2005b0ea6 s:split-on-string, s:replace
FossilOrigin-Name: 013fcbf0fe7e0f8955f7e7d417422bcdd60bd431e4d0f41f0f9a4087d00997f5
2017-11-09 19:28:01 +00:00
crc
fd20b76fc8 add unix:write to rre
FossilOrigin-Name: 6b8a0b19700bd3ea4bfb63a3c075144dd2c7f2e7fa5a80b11ad0cb662ee71d71
2017-11-09 17:59:04 +00:00
crc
82bb939250 add s:index-of-string
FossilOrigin-Name: 4f06dda1a7ea4539aac4c61d5c0a2ef37bcc1f5234a85f27094ae4a91186c5b0
2017-11-09 13:58:18 +00:00
crc
2af9f76e5e use build.sh instead of Makefiles
FossilOrigin-Name: 0629a8313d079a075c867170be8c4884aeb2b8938ec3e437978af3ce2b67212c
2017-11-08 21:33:18 +00:00
crc
c151963458 add support for using \_ with s:with-format
FossilOrigin-Name: 915c98a041b203161712264b6b30324fb20dc9581c7a8d8fb5b875e5b2d6dd47
2017-11-08 14:42:48 +00:00
crc
7c8234d65a reorder linker flags to better support gcc
FossilOrigin-Name: a513b7f1ed731b676830cac35a396de778474fee7dd64103d783b9c18f849c1b
2017-11-08 11:45:57 +00:00
crc
55fb5ecf42 ASCII: values are now class:data instead of class:word
FossilOrigin-Name: 48de84a700ed456e2311ff723a480acc81fb8fce763dd2fb7a55a20f28e144f2
2017-11-07 13:40:15 +00:00
crc
029d08dd4d add unix:popen and unix:pclose
FossilOrigin-Name: 53698064ecfb0147075a38a1b53a0b62480135b1461c8fd35d99724520f759af
2017-11-05 21:52:49 +00:00
crc
f1177aefba add unix:kill
FossilOrigin-Name: 7b1b1c28f982ca18ae5694507307306b47413c373e1d6f4e8d096d798793ae0c
2017-11-05 02:51:13 +00:00
crc
66c05fc508 add unix:wait, some commentary on the unix: namespace words
FossilOrigin-Name: be7b34cfa06d5cc3e32ad7157711c8b99ad178d9a27a9c447d3db34aff516099
2017-11-05 02:46:38 +00:00
crc
aa0eec214e sys:system is now unix:system; add unix:exit, unix:fork, unix:getpid, unix:exec0, unix:exec1, unix:exec2, unix:exec3
FossilOrigin-Name: 45b455bbe7303845a17d9feadea26d0ea3ffd22bf13bb40db01368100c75bbef
2017-11-04 21:22:36 +00:00
crc
0b4e17e66b rre: add a sys:system word
FossilOrigin-Name: 72327d3b0cc6574bc791de4b5bb6ecbd27e0b41cf198e110a19e42e1f967dfbb
2017-11-04 14:23:49 +00:00
crc
4990a36294 add commentary; improved dup-pair
FossilOrigin-Name: 3d1b2de02798d2b545d6b28f3616700cc2f97688742c827aafb079af405a636b
2017-10-29 21:40:05 +00:00
crc
acc3ca0bb2 add d:lookup-xt to standard image
FossilOrigin-Name: 93028838c88b5a721c03520ed51d80e795ec5006c6dce4bf204f081e0aa1e321
2017-10-29 02:09:56 +00:00
crc
7cffe2aa7e rx: reduce size of quotations by 1 cell
FossilOrigin-Name: e094f1fe2d4b038cbec5287ec16b24bebdbbae87b5e914193168f0dc7dec0cab
2017-10-25 17:17:35 +00:00
crc
ac12c7dcec small tweak to /
FossilOrigin-Name: 0ec95456759c2b81a67ecac0fdc9a3f4e2b74903b03665ed9b10e7ca03961cef
2017-10-25 01:42:06 +00:00
crc
17ca162acb fix a bug with n:MIN
FossilOrigin-Name: 5f0d547a60b25530e9833b47d6ef24ef43c0553d35f30bd9e60ea42e71ab3517
2017-10-25 01:36:47 +00:00
crc
06e82a103c formatting adjustents; use a var in n:to-string
FossilOrigin-Name: 1efd0c15592438ea061a80695253637efd0954230d14bf717d1c7effa78e2e9f
2017-10-25 01:32:19 +00:00
crc
bb2f41959a more commentary; use v:preserve in set:for-each
FossilOrigin-Name: b9bc6a30ef9001562fd92d5a768f6048618158539e24be7d6c67f80b7adc0517
2017-10-25 01:22:49 +00:00
crc
c14797cccf minor reordering in RetroForth.md; save a cell & improve readability
FossilOrigin-Name: de88e6f76488bba8c8dcbf193bc09da14640877fb64b6982d593056e1a50ad30
2017-10-25 01:02:02 +00:00
crc
a6b48ef0ce @ and ! prefixes now pack the lit/fetch and lit/store pairs to save memory & improve performance
FossilOrigin-Name: 8f82817a36a0f884dfcb687a25b761ab1881fd1525cf3a8e486f67aa84ab39c1
2017-10-24 21:00:50 +00:00
crc
7c89a7ee2b Buffer for s:evaluate now at end of memory w/other string buffers.
Added `FREE` to return number of available cells. Image is now ~1k cells smaller.

FossilOrigin-Name: 44379d08471b4afa256d98ee7e3e3f8c48af7d9b94da0395142b16bbf2a80571
2017-10-23 19:27:14 +00:00
crc
022ff9060c max string length no longer hard coded
FossilOrigin-Name: 8967ed0307b01da24f83efc1396a6ec724de01c8de54e7bcf99a676a84740cf2
2017-10-23 19:14:41 +00:00
crc
2ddce97006 add s:const to stdlib
FossilOrigin-Name: 87ce2066d166476f2739747e97d4daa070b674173433fbf912cc6fba94afcbdd
2017-10-20 13:30:31 +00:00
crc
851f1f4463 some slight reorg, commentary in rre.forth
FossilOrigin-Name: 2c117dc84ead9ea4ad79d07659cd40309f58fe89d19651b492c4c3ea1ee40a18
2017-10-20 03:05:43 +00:00
crc
317633ea9e some cleanups to rre
FossilOrigin-Name: e5640507a0128e1244c04abdd9a92a0aaa5f71a621d48f7c12190af7b0389afd
2017-10-20 01:30:55 +00:00
crc
af66c0079e source -> interfaces; remove tanu
FossilOrigin-Name: 4bba4776c0c7e6b1a336592eb50beaff4a81a70d8c20be376e12322ef5bfd16c
2017-10-20 01:16:46 +00:00