Commit graph

56 commits

Author SHA1 Message Date
crc
37ef6e1464 retro.forth: smaller a:index-of, a:index-of-string
FossilOrigin-Name: ad35a890a5f73cf68a8dd25f4f3d8f4ea1d3d44fb3dadeb49c8f46487db040e1
2020-02-11 21:36:16 +00:00
crc
406f184be6 retro.forth: more readable a:append
FossilOrigin-Name: 2a36f4191177e1e8e7a4519a1bf7b5630eaedc8aae3d070ac0ce8aa2095fd8c0
2020-02-11 21:32:04 +00:00
crc
237fd4648a retro.forth: minor reorganizations
FossilOrigin-Name: 7e24bacd489b0d5855028649d4c48023a499f5c1e7c50bcabe02dcf192c7b5d1
2020-02-11 21:18:34 +00:00
crc
45bc0209c7 retro.forth: minor reorganizations
FossilOrigin-Name: 0aa751dedd90a0b82e1a545d487c6b64495e11dfaa222bb6ba4cd39b14300290
2020-02-11 21:13:58 +00:00
crc
96fe3943bb retro.forth: smaller, faster lteq?
FossilOrigin-Name: 72c0f243d4d4c50b3610627a9fa48aacd2e3c3ed5917aeab86d96153889293c9
2020-02-11 21:10:51 +00:00
crc
1cd22dcf51 retro.forth: smaller gteq?
FossilOrigin-Name: 3e0f071e1065e6539720fb610b949ca0a25cc9c565b50de5f34cdc3df9d68308
2020-02-11 21:09:12 +00:00
crc
59c30619e0 move patch to allow underscores in names out of the standard library (still enabled by default on unix targets; see package/list.forth and the release notes)
FossilOrigin-Name: 7e123ff0f8fcf768e47f06160944245ab121f63621981f148c278a753e4d7ccc
2020-02-11 20:56:34 +00:00
crc
b5bc9a4b9d retro.forth: split common ASCII: words to start of the namespace
FossilOrigin-Name: e36dc2e6be4cc81f1cbe884c2b0749cfc7b3071fcc3d6edf48d07559b3e173c2
2020-02-11 20:50:08 +00:00
crc
667f03b30b retro.forth: move s:tokenize-on-string, s:replace-all to be grouped with other string words, no longer needs a: words defined first
FossilOrigin-Name: 0aff09c9faea31720dd867fa87309f386365e275330d473b5f20aca154b32168
2020-02-11 20:15:35 +00:00
crc
4c4577374f remove all uses of reorder in stdlib
FossilOrigin-Name: fd1eaac8ef1277bedbbe84f042c25020268be8d38bd0cafcd09e9c86726d13ee
2020-02-11 19:53:00 +00:00
crc
3eeae51934 retro-unix: refactor file:slurp to remove a variable
FossilOrigin-Name: 4c3c9e631df888b38ab52896a3eca650037d514466d55847c87154a950b11c50
2020-02-03 15:46:52 +00:00
crc
703ec71fb1 retro.forth: add a:index-of-string
FossilOrigin-Name: 67e61ed2250bb46b92e68c6f98c1bfb35988399a4ef554bc5f7ad3d0fdb52e41
2020-02-03 15:46:20 +00:00
crc
40c6b897ab example: adding c style comments
FossilOrigin-Name: 256a802203164209e63c63b3cbc42096766477147e221e63d887ad6ee7d5c31e
2020-01-27 14:34:58 +00:00
crc
e13efe10df interpret can now be patched via set-hook
FossilOrigin-Name: f29878d25d749923a647a17dd2c9216d62c87de63f258aa62cc04b635c390afd
2020-01-24 16:01:30 +00:00
crc
b89d90c99b book: add some notes on deprecation policy
FossilOrigin-Name: 2db7a3c6d3f1f5e10d939a55dd40d7e4d3f194708d131942284949ac3365e640
2020-01-22 15:20:57 +00:00
crc
853363e8a0 new example: markdown (subset) to html
FossilOrigin-Name: d893f1fc402a405edb373611ee83e1195ecfcf86bd1465652bfa8c1186c37537
2020-01-15 18:32:55 +00:00
crc
664f9a7e2f work on 2020.4 begins: remove words deprecated by 2020.1
FossilOrigin-Name: ffe0c04cb9ea793da3c06fe05b782c2c2f00fe749acb7f1c3af591fb25419d87
2020-01-15 13:50:04 +00:00
crc
a9d1c48bf2 add man page for retro-locate
FossilOrigin-Name: 02ef290c470997a547433e88a8bb7633af34ce1429a1eb42d5c7d9ff89370a02
2020-01-09 14:53:10 +00:00
crc
b2ac237c35 update documentation
FossilOrigin-Name: 61bec5c3ab74da3be2fa090a346b667bfa03cea534d8b378b9ac3245412bdc72
2020-01-07 14:09:08 +00:00
crc
e7d3030ebf vm/nga-c-no-libc: drop WIP support for OpenBSD as future OpenBSD releases will require syscalls to be routed through libc. Ref thread: https://www.mail-archive.com/tech@openbsd.org/msg54429.html
FossilOrigin-Name: 909ee67a53191440235e0a9dcfdea1e8588c91344541d3bce250eddf2f50897f
2019-12-27 13:58:31 +00:00
crc
28260d7709 update the native image source; lcm example
FossilOrigin-Name: 154e68f1885daf32f0749ba8778cf4efe3d650bfeee6439b1ef298f8c64f33f0
2019-12-24 16:03:42 +00:00
crc
e396c8d6e0 retro.forth: remove use of a variable in a:contains? and a:contains-string?
FossilOrigin-Name: 47253d339d5e3432793f06c03754d3bd7d025be0b0b6feac4f9e6d83527bba4a
2019-12-23 15:52:19 +00:00
crc
6eb14c8e99 retro.forth: small optimizations to some array words
FossilOrigin-Name: 21d0e09186c32877f2a944c8234f93c32c39251016ba6d5b1016d3fe14c69281
2019-12-23 15:38:50 +00:00
crc
1e8dd52ee0 retro.forth: some optimizations in the buffer: words
FossilOrigin-Name: e80f40e3c5dc07db1977fb1b7d0c1d735dd43caf3c71e953f9248d989513c9f9
2019-12-23 15:21:44 +00:00
crc
68661e309c retro.forth: fix bug in a:index-of
FossilOrigin-Name: bdb6c266007a1e69394f8507285f09fcdb1c8ef87805f062a3493dc2df421243
2019-12-23 15:13:12 +00:00
crc
634261a3c6 retro.forth: smaller, faster a:reduce
FossilOrigin-Name: cfd4cdabcd4c667f9f2a2f89a98c48edef94329410ec8d99cee8e53e5dd2782a
2019-12-23 15:04:56 +00:00
crc
fa24e65280 retro.forth: reduce image size a little
FossilOrigin-Name: 8f1beec2e6d78d0e933a2c3a5625423fecf93d946c1ae1a32f859549d21a465c
2019-12-20 22:06:08 +00:00
crc
d7517ff5cb retro.forth: faster skipping over strings in definitions
FossilOrigin-Name: 7931fd29b127c86ec37925e847f4d05b4e04d46ff7ccfcb51841beff41b33bae
2019-12-20 21:56:02 +00:00
crc
a2bc939b25 retro-unix: fix an issue w/builds requiring c99 on some systems
FossilOrigin-Name: 2cdea365bfff9a747112a494c7730c27eb671002a791e86ac8cb9b88cbed68a6
2019-12-20 21:29:06 +00:00
crc
f1d8d866d8 vm/nga-c-no-libc: update sources and work on openbsd support (now builds, but does not run}
FossilOrigin-Name: 3df16411b8c768560c08602d7d88b7bc0dffffb636a099966477623a725075e8
2019-12-20 19:04:13 +00:00
crc
c47ef84a96 retro.forth: more use of inline assembly; simpler and faster reset
FossilOrigin-Name: 218e8cfb47834866f5164d1fba3882d203b50cd3e9aa59558cfb07b7f8f48ea4
2019-12-20 13:09:56 +00:00
crc
3d03f3a4a9 retro.forth: use inline assembly in copy to improve performance
FossilOrigin-Name: ed855663f4a9203ad3882c44bdea4f783d44221e7983bc572c408d2f2e36f514
2019-12-18 17:18:26 +00:00
crc
32edcea7ff fix errors when building vm/nga-c-native-x86 after the source tree reorganization
FossilOrigin-Name: 710d640aa9594a664375b06f8150d31e8cf402704b779840c736e2eeecd75f7d
2019-12-18 13:02:53 +00:00
crc
7a6b31829d fixes to Makefile
FossilOrigin-Name: a3596bbe5642ac4bcbfba053780a78cdf3911aa13ce73d0a9df5bb14d487b712
2019-12-13 19:43:00 +00:00
crc
830f9e2d9d retro.forth: add ^ prefix; remove uses of as{ }as
FossilOrigin-Name: 97ae07fc8e300df16a2cb4fe6fcedfcb728c663b0e3359ff533a4c4c2d0af659
2019-12-11 18:25:47 +00:00
crc
7d8d442d35 add a ^ prefix
FossilOrigin-Name: 5723f858deedf26c1cf95df3f9a68438619b9a52d1c2ae20577d965ac6dfedf8
2019-12-11 18:10:57 +00:00
crc
9ffc6f277f END -> HALT in Nga instruction naming
FossilOrigin-Name: e3a4cbb9ac94f83d9e256cdaca70addde60626771ccb68b9f784ca4b355ee2ea
2019-12-10 18:51:56 +00:00
crc
2c8c4a6611 squeeze r into rx.muri after a bit of shuffling, repacking
FossilOrigin-Name: d04c69f96e77d2729c4c23b4d9651073dee558bf12f8fb4a6408ed15c9200eb3
2019-12-10 15:34:17 +00:00
crc
5ea418302c continue with removing raw bytecode, adding assembly using the \ prefix
FossilOrigin-Name: 654489f3cdd45c4850f5b7830d759508080cb0e814f622d001e59aed9f879f3b
2019-12-10 12:56:52 +00:00
crc
a596017632 work on moving muri into rx
FossilOrigin-Name: 863ac64675c516c0824f40fdc0f7722fdf8560fa6505fad37f9343b86076d939
2019-12-10 03:45:29 +00:00
crc
2deb870e60 interfaces: various updates
FossilOrigin-Name: 7a7f047431c56d94272e54fe7380ab427a76ef8b067fcdf1131bf5d0d0952d7f
2019-12-09 19:37:26 +00:00
crc
791f73fdfa retro.forth: more optimizations
FossilOrigin-Name: bdcff0d0d014e27f495004c577c77f79a921ee8c25c767bff6360af583842ae8
2019-12-09 19:11:13 +00:00
crc
4edba2ef6a retro.forth: cleaner s:trim
FossilOrigin-Name: 828c2ed7d90883edea2c7983840c5b90505b6bed4c3ecd9777a9679071bc97fb
2019-12-09 19:04:12 +00:00
crc
369fc63db6 retro.forth: use inline assembly in times<with-index>
FossilOrigin-Name: 924eb561f269bbcf34e8ea360520e2469d4f9f3f727754a90bcc13f7991b5993
2019-12-09 18:37:25 +00:00
crc
d7414ea63c retro.forth: more [ ... ] to &... to save memory, time
FossilOrigin-Name: 38ec5bbc3ac56947286ebc411d7fa640378e13f6d0a1ea57273e1107325b2546
2019-12-09 18:26:31 +00:00
crc
7e7791bde9 retro.forth: more [ ... ] to &... to save memory, time
FossilOrigin-Name: 5ff7f2b36d1b6e7a68acc43da308281e05afc6fb9041726cb11914ccd49d139c
2019-12-09 18:16:55 +00:00
crc
461a942cc4 retro.forth: use inlined assembly in dip, sip
FossilOrigin-Name: 6cb932b841f41b21ddab40a9ddfb8b376252f53e8193ad355161e651831ce4a6
2019-12-09 18:08:47 +00:00
crc
1427fc62bf retro.forth [ ... ] to &... for various conditions in the stdlib (reduces memory usage, slightly faster)
FossilOrigin-Name: b4bd81cb7806f62ef87421de5482fec0dfe4adc6267e9100d0f63fb95f250e8f
2019-12-09 17:57:49 +00:00
crc
bfdea0f396 retro.forth: use hand packed assembly version of times; this is smaller and much faster
FossilOrigin-Name: b1c20af1999e7d443c6dd47ae409399d64abefb0c21a338bb5420fafbbbcd2ca
2019-12-09 17:09:10 +00:00
crc
4b70820402 retro.forth: better n:abs
FossilOrigin-Name: 6f5d6a8c7c33d463f60f379b081493b312d444cba3a3bb492ef32657e839b275
2019-12-07 13:29:27 +00:00