Commit graph

9 commits

Author SHA1 Message Date
crc
350e3b86d6 fix bug in retro-compiler that was causing a segfault during compilation
FossilOrigin-Name: a186c652947c1957553c5c0ceb075d4e97fdd7628741e4478908f74f852bcbd2
2022-01-14 18:45:24 +00:00
crc
07e40ca9fd report a warning if no code blocks found in source file(s) provided
FossilOrigin-Name: 913d4bfce24cb7eabfe5c94da778be0f21406d7d90aa91fcf3854d54d334a412
2021-11-02 10:30:19 +00:00
crc
ce91454df1 add in a "d:source" field to the dictionary header
FossilOrigin-Name: d6c27c49b054c022fad6d2898d173f0a2705925a97bb139c1c6fbdb48f896da7
2021-08-10 16:09:58 +00:00
crc
91aa668160 retro-compiler: fix a duplicate #define
FossilOrigin-Name: 3a84e4797f2d2e039c029607ee2e39d09a1e16ec6622e6a931169444411e4603
2021-06-01 13:44:53 +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
c45816157f work on the retro-compiler
specifically:

- remove old runtime implementation
- use the standard retro.c as basis of new runtime
- remove old files
- update Makefile

this does not address issue #3.

FossilOrigin-Name: 959bab6910c41cd3ce24bf46d3b9b61bb83864edb25afc5148e7023ffd58fbf5
2021-05-18 12:42:15 +00:00
crc
4fb2f1456f retro-compiler: continue cleanup, refactoring to separate out common bits
FossilOrigin-Name: c33321dd6375683b53dd22e201d9b455eb6b601edff7b303f32de55234cdfafd
2020-11-02 12:49:34 +00:00
crc
9ffc6f277f END -> HALT in Nga instruction naming
FossilOrigin-Name: e3a4cbb9ac94f83d9e256cdaca70addde60626771ccb68b9f784ca4b355ee2ea
2019-12-10 18:51:56 +00:00
crc
ea8e12d32a finish reorg of main sources
FossilOrigin-Name: 6a7ee82ed6b024ee1d8f7a51a9b91a66a8041cde06b53cce649d6bd383ae9677
2019-11-22 18:30:02 +00:00
Renamed from interface/retro-compiler.c (Browse further)