Commit graph

214 commits

Author SHA1 Message Date
crc
3290bcadf5 nga-python: fix for #45
FossilOrigin-Name: 4f8214a52a2a3e7f1a5d8107b3e5cc6fcc8bcfdb4263c432e38b7270a5b23b7a
2021-01-22 19:36:31 +00:00
crc
35af973a8b nga-c: fix #45
FossilOrigin-Name: 1c18136af4052a605131d576086cdd9a45a4566058824692f73556c97b5b88af
2021-01-22 19:29:15 +00:00
crc
260955991e retro-unix: dont accidentally include the scripting words twice
FossilOrigin-Name: 9cb3189e3812f6bcbeca754e9a1efffad08408d7e2c73b409ba6ebb1d4aabe73
2021-01-22 15:28:54 +00:00
crc
2a18d63713 nga-c: fix a bug in execute() that was causing corruption of the return stack when including files in a word
FossilOrigin-Name: 349068afa9fe28a5e68ad738475ed61aa6e227d9b4dd03041d33d376c9a4e85d
2021-01-21 22:24:53 +00:00
crc
57fa16b4d9 nga-c: split invalid opcode reporting to a separate function
FossilOrigin-Name: 0de8b65ac936f5cc5b54c840bd37ca802e98c09de91e81c94df22e0b611c17e4
2021-01-21 14:05:55 +00:00
crc
1052e8a83c nga-python: fix a bug in include
FossilOrigin-Name: 90df732d68816e90c2767c398a07d80c82a65188ca580e9aafbb11442e902ce8
2021-01-21 02:50:05 +00:00
crc
aff0fb3c6e run black to reformat Python files
FossilOrigin-Name: 3b06a15e14d8f808dbefdde1d129a4f768f803fbb3ce7fe39a82e60ff7ed88e7
2021-01-20 17:41:34 +00:00
crc
f51e345931 nga-python: add Makefile.python target to package, upload for pypi (#23)
FossilOrigin-Name: 3ad6ae382f4a6fb777d52cee8bf892ad6c5174642ea64c24fcfd8e5e372c3c6e
2021-01-18 15:43:33 +00:00
crc
475a53d21f vm: add nim implementation from Jorge Acereda
FossilOrigin-Name: dd856dd7f603a9bb3d69a7f70fd842f8019f9985401c6ddf69aed6867e3fb2ff
2021-01-14 19:35:49 +00:00
crc
576efef532 rebuild image
FossilOrigin-Name: 22e07105163fdc74da369e71778df558c0ecd9a405901dccae1635d60696cabe
2021-01-10 15:48:38 +00:00
crc
962c64a3da fix a typo in retro.muri that caused the python version of muri to crash
FossilOrigin-Name: db919ab8d422f54421bc9f85df6218dd1264be8c244c4bc16818120e17a69bb1
2021-01-10 15:47:27 +00:00
crc
04b9c879a1 update some copyright notices, reword part of README to reflect the status of the Python implementation as a primary option now
FossilOrigin-Name: a8a3146dd099e1a2ba68f088af9ec960299bd857d2895e4276c07afc6a897992
2021-01-06 19:47:24 +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
c0db7b267a nga-python: fix random number generator (forgot to import random module)
FossilOrigin-Name: 89b97f70b3f5ad1d1c9ed9d97cdb4fe99448a6b245611bc011fc4a66736ff345
2021-01-06 14:02:23 +00:00
crc
e31cc82656 remove deprecated words
FossilOrigin-Name: e999bdb76459148c72894cde22abd88422e5b79fb822fbd83d037892c4c232b0
2020-12-31 15:04:06 +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
9904d7af16 nga-c: remove unused function
FossilOrigin-Name: 4cc9341655b1ccf9bca1d987eec8620604cf1b23ae769ccc46adfaab9e03399b
2020-12-30 15:23:00 +00:00
crc
e551db2d83 nga-python: add d:words and related to default embedded image
FossilOrigin-Name: aac302474102db7351f1a1131ffbd61a015b14545c178c8b495f494dbc77d9eb
2020-12-29 19:47:07 +00:00
crc
680842f35a nga-python: run black to reformat code
FossilOrigin-Name: 8a6710e5ae7051775e4d9d9f6689f135a74efb6f101bd7940d7fcafc5cb73f4e
2020-12-29 19:10:33 +00:00
crc
b20eac2487 nga-python: fix bug
FossilOrigin-Name: 7654403921fad6941bf6dfb47e8b0bc5c32534224a24672955b037adaea10641
2020-12-28 15:24:14 +00:00
crc
676c09a9f8 nga-python: add a Makefile for the Python image, update embedded image to provide coverage for i/o devices
FossilOrigin-Name: 709420db0d18a7794c208ce4827bd0f948ec47789a672371001faa54f985b498
2020-12-28 14:21:43 +00:00
crc
71f1598033 nga-python: add -u and -i to the command line arguments processor (#33)
FossilOrigin-Name: e488943c77e9374b79a733321829ae4b2908bf12b25748ec7ac3f61466e7e053
2020-12-28 14:04:30 +00:00
crc
27289092f8 nga-python: use https when downloading an image
FossilOrigin-Name: fd6b6b6a570c40bc025df1cecc465ae80497f100173e67276c21cbdedcb9e1f3
2020-12-28 13:12:03 +00:00
crc
3dbab4061a nga-python: load & use embedded image (#33)
FossilOrigin-Name: 2775527083e92f7292440e98cb7e143d3760f0c8f779078684976eb4f3c0e371
2020-12-25 04:30:14 +00:00
crc
370868e4d3 nga-python: small adjustment to RNGDevice (from Arland)
FossilOrigin-Name: a1f3640101ce39fb0cba3ef893d0f9f5fe87ce20c463b085061a023449808609
2020-12-24 11:57:04 +00:00
crc
fbf1444c6a retro-compiler: runtime builds & works again
FossilOrigin-Name: 37e6d4a2ba2821087e24595ef40b5baa5254d0a4a16e66c3f63dac5733cef6df
2020-12-23 18:42:53 +00:00
crc
dac9ad177c nga-python: split i_fetch() to separate out the query handlers
FossilOrigin-Name: 5277a5509c0418c1a7eea301d0489e08264e7de0fcb50ceadba498a68077cd11
2020-12-23 16:16:32 +00:00
crc
e0853c86bb retro.muri: choose now slightly faster (inlined the flag normalization)
FossilOrigin-Name: d26bcb7f1967cc0e6e0e38327d4f6cd5ada10efd594dfe339ed207b4ddf261d8
2020-12-23 12:50:34 +00:00
crc
ef52d0681d nga-python: run black to reformat code
FossilOrigin-Name: 2957a10f96df4dc0a9b6ca304d93e6c4331411706618c8c87deff34eeb3c36f5
2020-12-23 12:23:57 +00:00
crc
58e289d1fc nga-python: raise IndexError on invalid fetch address (#31)
FossilOrigin-Name: 40e85d0ae3d2223e1b465f782f8e4c4b93bc7c1ffad6615f569ebc6a357482e1
2020-12-23 12:21:35 +00:00
crc
84f5134687 nga-python: n:MIN and n:MAX queries now reporting a 128-bit range (#30) along with some comments regarding this
FossilOrigin-Name: 1998a44c226313a0e86b635f10fb6fb06ed6698fd62a75e81f1a6a22883ae125
2020-12-22 12:41:42 +00:00
crc
f05a03d167 nga-python: change i_fetch() to check for valid address, fetch first, before checking the negative query slots (#31)
FossilOrigin-Name: 5f371164d5d74121c018e9e60ffe550fa816d003a27691307ff41736c7a3a14a
2020-12-22 12:26:44 +00:00
crc
39b1d87c95 nga-python: math operations no longer restrict to 32-bits (#30)
FossilOrigin-Name: 892fafaef76c9b73b7f7990ebad39203a80d89b324d9830ee4b13178b989af6b
2020-12-22 05:23:29 +00:00
crc
6f6584401a nga-python: commit missing file (#29)
FossilOrigin-Name: 7ed4a0680dfb90e406462cea30758f4532f211e9b2ffb1129a6192d5a245ae5d
2020-12-22 02:28:15 +00:00
crc
a05a427b17 retro-core: choose now treats non-zero as true (implements #25)
FossilOrigin-Name: f53373e59435e048c43a88db494cf1a0dc891d1a21ba1e96c51ef60094ed016b
2020-12-21 20:55:18 +00:00
crc
8fed194207 nga-python: fix clock, rng devices (#8)
FossilOrigin-Name: c0ecba6ac7b2d06bb755f74092c11ed0de062bd23b83a616076c8c78a304b761
2020-12-21 20:38:44 +00:00
crc
ee5dbeecb5 nga-python: floating point working (#8)
FossilOrigin-Name: 870d97f7e4e28ccabbd3e835a5fff9b86416b7878a672f32b38226ec47ab9b8c
2020-12-21 20:34:27 +00:00
crc
3b15924f71 nga-python: fix a bug in the dictionary population code
FossilOrigin-Name: b1ac26066a2e64aaa7d1b929b7993844d330a244183b8a39911b97596a3380e7
2020-12-18 19:21:43 +00:00
crc
8eba61405d nga-python: fix a typo
FossilOrigin-Name: 63dc1a37b080b5acd531a771c920214601ff2595e11ebf7928f46074e2f0ae7b
2020-12-17 20:04:45 +00:00
crc
cf5df015e7 toolchain: add amalagamate tool for the Python implementation
FossilOrigin-Name: 2d0d2155c6aa3695d72dc2c594dd26200c7660839b4d66449d52696a91e6ce6d
2020-12-17 20:02:56 +00:00
crc
d185b6e423 nga-python: fix a bug in use of IntegerStack (#20)
FossilOrigin-Name: 42d2e7424dbb5d434a9123eed9976f81d6b920cd5beda654eb9ebcfe3a837091
2020-12-17 19:49:54 +00:00
crc
4e78a4ef15 nga-python: IntegerStack now derives from list (#20)
FossilOrigin-Name: 9cebb1e22b77545581e67fa6224286cba01a526684340452a858aa795b42af8c
2020-12-17 19:47:17 +00:00
crc
08a239f537 nga-python: watch calls to d:add-header to update the cached dictionary headers (#20)
FossilOrigin-Name: 55cd8f9b04907101e281c3e576b10e862b8c3b0c0bbfb4715637fb78b4cf68c2
2020-12-17 14:01:45 +00:00
crc
5efaf73271 nga-python: have Memory class inherit from list (#20)
FossilOrigin-Name: 36c77bdca28143d6a2928f9ea2b9dbb4003ef9e48fd61cddac0897af6f888e74
2020-12-17 13:21:35 +00:00
crc
e002be77a8 nga-python: reading files working now
FossilOrigin-Name: 23d2f2ffab871713281137c1645f797493aea0cbd450a00f86c550ce93a5a59e
2020-12-16 20:33:37 +00:00
crc
0cf0f63197 nga-python: begin work to fix file i/o device
FossilOrigin-Name: 41cf0e426d5ffe77d3b1e9c721da667a4bca14e8781f15f3d9f63decc70922c1
2020-12-16 20:14:07 +00:00
crc
bd0d879058 nga-python: use Python int() function in override for s:length (#20)
FossilOrigin-Name: 0094b5d63c75b5ded6b4f523ad9f3c54ac59e55072532a3158510a4b8426cdcb
2020-12-16 19:40:00 +00:00
crc
93290ac28d nga-python: use Python int() function in override for s:to-number (#20)
FossilOrigin-Name: 27e48826a02a254fab1e4ecc342a8f78b8ab2dff5769b96ae85e5147b04338fd
2020-12-16 19:25:52 +00:00
crc
640c63a7ef nga-python: use Python version of d:lookup for faster performance (#20)
FossilOrigin-Name: 72c3b945c4527b3896d3416c7a0d932f2dfcaf69845d6e6650fa021568a8e573
2020-12-16 19:21:18 +00:00
crc
68d2baa2bd nga-python: add populate_dictionary(), find_entry() now checks cached dictionary first (working on #20)
FossilOrigin-Name: 1229de35d262ac6cc1d7b6bde9477165548c5d4ebc35056c24ff8c864f1ac06a
2020-12-16 14:59:08 +00:00