Commit graph

3 commits

Author SHA1 Message Date
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
1be0d4b85f nga-nim: fix bug in shift instruction
FossilOrigin-Name: f7509ee85d3ab174afc4d7429761a9501cd282042b4b0714de1c6ed06b899a66
2021-04-30 17:00:38 +00:00
crc
475a53d21f vm: add nim implementation from Jorge Acereda
FossilOrigin-Name: dd856dd7f603a9bb3d69a7f70fd842f8019f9985401c6ddf69aed6867e3fb2ff
2021-01-14 19:35:49 +00:00