Commit graph

119 commits

Author SHA1 Message Date
crc
1308006c41 fix
FossilOrigin-Name: c87761406ccef6a856710a913be725648b11a6dd003b8b7d169f1efa8cd772d0
2021-05-28 19:04:27 +00:00
crc
cb22c59b5a add support multiple bases
This set of patches:

- adds a `Base` variable
- adds `decimal`, `hex`, `octal`, and `binary`
- extends `s:to-number` to support `Base`
- extends `n:to-string` to support `Base`
- updates the glossary to cover these

Additionally:

- removes the 1024 cell limit for the kernel
- adds a header cell (7) for the start of the text input buffer
- adds a header cell (8) for the end of the text input buffer
- updates most Nga implementations that use the text input buffer to look at
  this instead of hard coding the address

FossilOrigin-Name: 391ad6fc0187e5ff3089d5c42d5d5e1c18fd0b2379c90a148ba44bb66145f020
2021-05-18 19:42:35 +00:00
crc
ccd735b1f9 retro-embedimage: declare cell type correctly for 64-bit
FossilOrigin-Name: 5c193087801db69682131bb96f0d2f5b0c0a502f73f2d6784d8ad05d6e769d4e
2021-04-22 13:31:42 +00:00
crc
6a4aaf8eac prefix: namespace is now sigil:, rename words, update examples, update docs
FossilOrigin-Name: 25cf19660ab7728d7bfee2722ea826a8a438faf92b2504b28d922d2958906aed
2021-03-30 11:58:25 +00:00
crc
b43e63ee69 add example calling retro from C
FossilOrigin-Name: bd9d8be4b5b523620b4d2b1f7208b1091ca8573fe0eb08a8a7f83fe569571c70
2021-03-29 13:03:10 +00:00
crc
e2a139c5fe add more detailed docs on i/o devices
FossilOrigin-Name: e1edc5e9f606b84404c4cbdd114d3cb338bf18aa10995db51cdcd49648621cb2
2021-03-29 12:55:25 +00:00
crc
6ea19bbdd2 nga-python: implement run length encoding for arbitrary value sequences in image (from Arland)
FossilOrigin-Name: 57120962dce31f709627ed2f3ea857b0fe56e662624dab27d16083e9fe79f9a7
2021-02-02 22:28:27 +00:00
crc
9912a4b501 nga-python: implement support for run length encoding in image (#44)
FossilOrigin-Name: a132117aafc756384eb9a63b55678fefa7020b8a07ded9121828bb09658d4770
2021-02-02 15:22:17 +00:00
crc
42dbd43f16 docs: add cover to epub (closes #47)
FossilOrigin-Name: 7e6160c8257973f3df6505babf96d951e6ea563a41ee84e6375f0ea26750ee37
2021-02-02 14:18:51 +00:00
crc
e4a838d588 generate & include html documentation files
FossilOrigin-Name: 03f8a1f5293ceeb245b4e6315578c114c69eb4341027fad8eba5ec8c8dbca5fa
2021-01-21 12:40:28 +00:00
crc
aff0fb3c6e run black to reformat Python files
FossilOrigin-Name: 3b06a15e14d8f808dbefdde1d129a4f768f803fbb3ce7fe39a82e60ff7ed88e7
2021-01-20 17:41:34 +00:00
crc
af4317f7ed toolchain: glossary export to html now has proper background color on examples
FossilOrigin-Name: fd835e4289f5edc203ca75876a28a0c5d0fd829149a8866d7f15dd40603b24ca
2021-01-18 20:54:32 +00:00
crc
da436a5ef5 python: update retro-extend w/latest vm core, more fixes. Now generates a working image. (#34)
FossilOrigin-Name: 945846d37a65d91cb273416eb89b9131696a28a923ed82a75a547fb628d76ac8
2021-01-06 16:08:50 +00:00
crc
9ff6f4a20f toolchain: retro-extend.py now properly sets the internal "which" variable in d:lookup override (#34)
FossilOrigin-Name: 18f36304cddac57017eff8c92c567e05963b0c54621f9ea569441bd48bb6fb56
2021-01-06 15:03:55 +00:00
crc
008dad4d31 toolchain: add a tool to run spell(1) against the chapters in the book (#40)
FossilOrigin-Name: b0a8ab588ab4884adfff4c0f8ae89efdbfcac432deeac6999ba6cab633539659
2021-01-06 13:18:47 +00:00
crc
75f9fcf9e4 python toolchain: more bugfixes in retro-extend.py (#34)
FossilOrigin-Name: fcadbd7c9345704bfafa5b1e9cb623f664d70baec8483dd437fad0c5ed896afb
2021-01-04 20:48:18 +00:00
crc
c84886e12c python toolchain: minor correction to retro-extend.py (#34)
FossilOrigin-Name: 2bc1dd429ef5a38068b3144a3b99c02c120fde2ed2fff2afefa839c949b28fee
2021-01-04 19:40:23 +00:00
crc
dc0aa0cb21 nga-c: work on an easier way to add extensions to the embedded image
FossilOrigin-Name: 7b6fae3d092e9255dba1f54115a8c9c347e73b53cbc3b95daa68a9b437bd6367
2020-12-30 20:50:32 +00:00
crc
23923fa9bd toolchain: remove unused variables in retro-muri
FossilOrigin-Name: e9e3f69a67374ffd1aa3c88468acc878f40c103d7c1b6a35079b21fa42c0a402
2020-12-30 15:22:42 +00:00
crc
3dbab4061a nga-python: load & use embedded image (#33)
FossilOrigin-Name: 2775527083e92f7292440e98cb7e143d3760f0c8f779078684976eb4f3c0e371
2020-12-25 04:30:14 +00:00
crc
dd7e9ea809 toolchain: add initial retro-embedimage.py (#33)
FossilOrigin-Name: 41f9df0b112454e37aae00ad0c9d1bcc054331f7e5eb9b038733884d82c3e143
2020-12-24 15:01:26 +00:00
crc
2d41588415 rx.muri is now retro.muri, drop descriptions of retro as experimental (#24)
FossilOrigin-Name: 02e1da5baf3184c3c4106b4c24902912f80e0af22208a38d32145a38507a0e64
2020-12-21 21:05:30 +00:00
crc
cf5df015e7 toolchain: add amalagamate tool for the Python implementation
FossilOrigin-Name: 2d0d2155c6aa3695d72dc2c594dd26200c7660839b4d66449d52696a91e6ce6d
2020-12-17 20:02:56 +00:00
crc
47a742c04e toolchain: significantly faster retro-extend.py (ref: https://todo.sr.ht/~crc_/retroforth/20)
FossilOrigin-Name: 2466027e9147a452b1d0fd5fa5ab776a3bec11594b285e49af1d472626c31605
2020-12-01 20:49:53 +00:00
crc
37a6739d80 retro-extend: begin work on source cleanup
FossilOrigin-Name: a0ffc2548840b469fa106f35fed0668046152a7aaf029a2a04d88df3b9ccf036
2020-10-16 17:02:39 +00:00
crc
d984dbc969 toolchain: update header comments
FossilOrigin-Name: 8ccbb53b221ee1d79359b4d23b158303f609afbf4ba9bac96728101cb02f122d
2020-10-16 16:36:18 +00:00
crc
ae35d569fc retro-muri: formatting improvements
FossilOrigin-Name: db6ad0bc4efc4cca74f53a0802e2db6ba7997cb3fd51271182d0398b1ff57bdb
2020-10-16 14:33:23 +00:00
crc
52536767d1 retro-muri: cleanups, separate each step into a separate pass
FossilOrigin-Name: 0b883a21d86730a59b1886555d42a2753fad06f5c48bd12e0a372aa20a03168a
2020-10-16 14:28:14 +00:00
crc
4fd7671e2d retro-unu: add some comments
FossilOrigin-Name: 29186ae8f2cc4cdcaa3c66458d5fe46868e389726dc4e0576acff420ec037dd3
2020-10-16 13:52:16 +00:00
crc
3c4343ce41 retro-unu: add support for user defined code and test block delimiters
FossilOrigin-Name: 97c165d58f0cb8b344f1027c06a8e290918891d5bc89bd8244c662a548990644
2020-10-16 12:15:59 +00:00
crc
b6f4787352 build: fix a bug causing loss of the Markdown copy when building the .epub
FossilOrigin-Name: 5b1826cb48f9b3bc5cea70d9be4e83313ef8e556980fba1eca17f1290bcff6d1
2020-10-15 20:23:36 +00:00
crc
33118ff158 retro-describe: remove use of -J from xargs as it is not supported by GNU
FossilOrigin-Name: b7c7e29a709ec6621782b64302f3e8a92f806bf9f8f73b69e8d2bdf54ef8c0d0
2020-10-15 18:44:14 +00:00
crc
f78fa3063e book: add section on my markdown syntax
FossilOrigin-Name: 457d31d4c744817dbfd7fcb3d602fb0549500f2025fe22410c838e27d5b6d620
2020-10-13 17:00:58 +00:00
crc
7f2a9ca4b3 book: move copyrights to end, fix some formatting in the bulleted lists
FossilOrigin-Name: d79fa938496a1d1e107b39df70f27ec68c93971bd4cfbdfff03701adfae90636
2020-10-02 17:03:08 +00:00
crc
c38f11224e toolchain: move generate-epub.retro to tools/, fix make-book.retro
FossilOrigin-Name: e7506b632a7289a7b25c3c84332efa243f0c9075a576f7411345a474065c65e2
2020-10-01 16:53:52 +00:00
crc
c3a55274ac epub: minor restructuring of source locations
FossilOrigin-Name: 522f32b3aa14ccc1ca01350073b3251e68bc10a755c83e5b9ee473f4866f5e6e
2020-10-01 16:50:36 +00:00
crc
a4bb5eec3f toolchain: add a tool to locate deprecated words (based on the shell snippit used by john_cephalopoda)
FossilOrigin-Name: 0f15a232ef1685f5cda43681de1eed41c5d76b43326c6c285964935b85021789
2020-10-01 13:37:36 +00:00
crc
d78edca386 remove last uses of old names for file i/o operations
FossilOrigin-Name: ca063e29bf5ffaec73bd2503d71244f6e28852fef0c7189064bd2e583e8bd957
2020-10-01 13:35:37 +00:00
crc
4b8c651bf2 epub: chapter titles now work, chapters now start with 1 instead of 0
FossilOrigin-Name: 478d5f52924ab3ad4f5929c7f006e431eb848b3c860f670590bef498b907633b
2020-09-30 19:59:50 +00:00
crc
6f52af0631 epub: work on supporting chapter titles for TOC
FossilOrigin-Name: 8ee04ffb447238daa87e3a3c920fc1346abddc5b567eeeefd970d5dbacc26437
2020-09-30 19:41:45 +00:00
crc
e84bd6a953 epub: fix more problems, now down to 7 errors when validating the output file
FossilOrigin-Name: aaee7a1f4a5931470b6974cc320e8bda43cf14f71b523ecd3a207387e119bedd
2020-09-25 15:45:41 +00:00
crc
5f67310f80 epub: top level build script now runs the xhtml conversion; some file renamings
FossilOrigin-Name: 88b0d1563e642fcd96acacb9896641abd77562bd61d26d5ebacdd8238886eba3
2020-09-24 18:43:59 +00:00
crc
332e9b17ce rename export-as-xhtml.retro to markdown-to-xhtml.retro
FossilOrigin-Name: f3f171dbe3a055a3aa2b7c146ecd11a1ee7c7b12e2f4e42be3217329ed202477
2020-09-24 18:09:51 +00:00
crc
15dbfbbe0b begin work on xhtml generation for the Markdown
FossilOrigin-Name: 0878cff65e3988b7000cc0fa5cd1fef4d3b8bbcc5b03fe5788a08eb47e319c3f
2020-09-23 17:45:28 +00:00
crc
d53e540f6c toolchain: add comments to retro-unu.py
FossilOrigin-Name: b64bddd72a1fbf4cf3ec6c2011187fc3594722ec82d1ad0602b1b3f2d4be8779
2020-09-22 15:54:04 +00:00
crc
a8b8f5a2bc toolchain: retro-muri.py gets some comments, minor internal layout change
FossilOrigin-Name: ca10fc2d2b2c757ca6b1b7e073ee9b8e3b25c13cb137f011f9393efd8b376f75
2020-09-22 15:48:56 +00:00
crc
de6c62d5f2 toolchain: retro-extend.py now handles multiple inputs, passing image name on command line
FossilOrigin-Name: ba4fc1a5e2b043520ccdd82c01b9a56616c95a80416db7e125434f4cf7f2529e
2020-09-22 15:34:05 +00:00
crc
bac77af47e toolchain: implement retro-extend in Python
FossilOrigin-Name: 5d9d03c34cf2b4365681cfdd3d5211f352d2038e430669dffb9007873fbcadcd
2020-09-22 12:48:44 +00:00
crc
9c69997d23 reformat python code for consistency
FossilOrigin-Name: 736acb6c40df186d519b832766543bb2a14ae09bb7aed1064922a211b3fff322
2020-09-22 12:06:40 +00:00
crc
8064f1ce47 toolchain: implementation of unu in python
FossilOrigin-Name: ca615c7e08e9ff31de5fea01fa71519c808c872abe9fe6de5d0bc288d7b5ecfc
2020-09-21 18:38:58 +00:00