Commit graph

10 commits

Author SHA1 Message Date
crc
ce91454df1 add in a "d:source" field to the dictionary header
FossilOrigin-Name: d6c27c49b054c022fad6d2898d173f0a2705925a97bb139c1c6fbdb48f896da7
2021-08-10 16:09:58 +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
aff0fb3c6e run black to reformat Python files
FossilOrigin-Name: 3b06a15e14d8f808dbefdde1d129a4f768f803fbb3ce7fe39a82e60ff7ed88e7
2021-01-20 17:41:34 +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
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
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
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