1
0
Commit Graph

37 Commits

Author SHA1 Message Date
5c67eeafca
Repository structure 2024-07-10 01:14:12 +02:00
9c3d218679
Cleanup 2024-07-10 01:10:01 +02:00
683c22cea2
Porting to Python 3 v2: Something works now 2024-07-10 01:09:14 +02:00
e0f8c0c2a1
Porting to Python 3 2024-07-10 01:03:12 +02:00
6131315d22
Restructuring repository to fit modern repo format 2024-07-10 01:00:52 +02:00
eddb64c9b8 Switched from tabs to spaces. 2018-02-06 20:56:33 +01:00
34e8d6642f Added note about tests folder to README.md 2018-02-06 20:34:31 +01:00
e4237768d4 Updated README.md 2018-02-06 20:31:12 +01:00
50112a554e Updated license to include email instead of username. 2018-02-06 20:22:16 +01:00
4837fd238a Minor adjustments to ASCII painter 2018-02-06 20:20:09 +01:00
0fc2338919 Added license 2018-02-06 18:12:18 +01:00
43584807b1 Painter can now be selected when using the --painter argument 2018-02-06 18:04:57 +01:00
49ff6506e6 Added a new painter, for drawing emulation to terminal. 2018-01-03 18:58:53 +01:00
daad0a3062 Better escaping, and such. 2017-11-20 13:07:07 +01:00
ccca65f4a3 'Executable' 2017-11-19 17:20:03 +01:00
f7aeb27e6e Even more unix. 2017-11-19 16:58:11 +01:00
8d0b672b63 Made infernal-intepreter more unix-like. 2017-11-19 16:53:15 +01:00
57049e1377 Added tests 2016-03-13 15:44:59 +01:00
8b146efe68 Added Junk value, for which all operations are
defined to produce junk.
Any comparison involving junk triggers the i status register.
Any conditional jump triggered when the i register is true,
triggers a python level exception.
2015-12-19 16:55:14 +01:00
6d7de5ae75 More powerful tokenizer regex installed. 2015-12-17 18:35:25 +01:00
4b65c75e21 Moved tikz options into the painter class. 2015-12-17 18:02:07 +01:00
9688172806 Changed stack architecture to move downwards.
TikzPainter have been adjusted for the change.
Stack limits are now shown.
2015-12-17 17:48:37 +01:00
e4ff1d4420 Move Emulator and TikzPainter into their own files. 2015-12-17 01:16:01 +01:00
31075fd0b9 Moved opcodes into their own file. Now the format is crazy extensible. 2015-12-17 00:52:47 +01:00
b783b22bc4 Fixed som small dumb errors. 2015-12-17 00:11:18 +01:00
9397c8cc56 Added simple test infrastructure, and some simple tests. 2015-12-17 00:06:26 +01:00
3f21bb52e3 Merge branch 'master' into 'master'
Added new status flags for comparison. Added new instructions.

Added checks in `compareVal` to set status keys `l` and `e` to signify respectively 'lower than' and 'equal to'.
Added the following control flow operations:
* `jl` (less than)
* `je` (equal to)
* `jge` (greater than or equal to)
* `jle` (less than or equal to)
* `jne` (not equal to)

See merge request !1
2015-12-16 17:33:28 -05:00
Christoffer Müller Madsen
1b046525b3 Merge commit '07018389507e790963f06348083796b650510592' 2015-12-16 22:25:54 +01:00
Christoffer Müller Madsen
42b2ddbd0a Additional compare status flags added. Five new compare ops.
Added checks in compareVal to set status-keys l and e to signify
 respectively 'lower than' and 'equal to'.
Added the following control flow operations:
* jl (less than)
* je (equal to)
* jge (greater than or equal to)
* jle (less than or equal to)
* jne (not equal to)
2015-12-16 22:22:12 +01:00
Christoffer Müller Madsen
0701838950 Added checks in compareVal to set status-keys l and e to signify
respectively 'lower than' and 'equal to'.
Added the following control flow operations:
* jl (less than)
* je (equal to)
* jge (greater than or equal to)
* jle (less than or equal to)
* jne (not equal to)
2015-12-16 22:20:33 +01:00
Christoffer Müller Madsen
658d045846 Now featuring real OS X .gitignore! 2015-12-16 20:21:35 +01:00
Christoffer Madsen
9508d690d1 Added OS X related files to .gitignore 2015-12-16 14:37:13 +01:00
53d45414f8 Added minor functionality, 2015-12-16 02:09:04 +01:00
f564b27fa6 Did a little overhauling for the OPCODES. 2015-12-16 02:02:19 +01:00
5fb171d25c Moved drawing functionality to a new class "TikzPainter". 2015-12-16 01:36:23 +01:00
6334d183dd Fixed naming of the module.
Moved the test case to its own file.
Allowed the emulator to be iterated over.
Minor fixes and such.
2015-12-16 00:43:30 +01:00
63175f36d0 Initial commit. Holy hell this code is terrible. 2015-12-16 00:05:18 +01:00