Commit Graph

87 Commits

Author SHA1 Message Date
3b3ec57f02 Garbage er mere brugbart. 2017-11-13 18:47:10 +01:00
de369fd440 Better tiger_print. 2017-11-13 18:28:21 +01:00
2086af34d9 Also silence yacc and stuff. 2017-11-13 18:14:53 +01:00
6c38906a51 added options for making the emulator less attention-demanding. 2017-11-13 18:05:44 +01:00
cfreksen
dda7b25c15
Support recursive types (through pointers).
Increment version.
2017-11-09 18:24:06 +01:00
cfreksen
5381c0037f
Fix PyPI readme issue.
Increase version number to appease PyPI.
2017-11-09 17:25:04 +01:00
cfreksen
79d6cc9486
Increment version number to reflect recent changes. 2017-11-09 16:56:33 +01:00
cfreksen
fa021d4fc5
Add readme in rst format for PyPI. 2017-11-09 16:55:54 +01:00
cfreksen
242221c89b
Remove unused arguments in parser.py. 2017-11-09 16:41:24 +01:00
cfreksen
669e8627c8
Update README. 2017-11-09 16:41:03 +01:00
cfreksen
3ddab21f72
Update setup files. 2017-11-09 15:36:28 +01:00
cfreksen
cea1cece13
Add support for print from runtime.c. 2017-11-09 15:32:29 +01:00
cfreksen
8afdf563b3
Consider empty structs to be of size 1. 2017-11-09 14:37:40 +01:00
cfreksen
bef14dfa24
Add support for allocRecord and initArray from runtime.c. 2017-11-09 14:37:34 +01:00
cfreksen
53ee6d3ef6
Minor fix to an error message. 2017-11-09 13:13:34 +01:00
cfreksen
ced2c41bc6
Include the script in setup.py. 2017-10-31 20:15:39 +01:00
cfreksen
559b178728
Use a script in the bin folder to start the emulator. 2017-10-31 20:03:16 +01:00
cfreksen
4281442960
Improve some import statements. 2017-10-31 19:52:53 +01:00
cfreksen
e7638887fd
Move emulator back into package directory. 2017-10-31 19:52:08 +01:00
cfreksen
072d704439
Use readme as long description in setup.py. 2017-10-31 17:35:50 +01:00
cfreksen
7e577886a0
Fix typos in readme. 2017-10-31 10:23:49 +01:00
cfreksen
ee9a36af85
Expand readme a bit. 2017-10-31 10:18:12 +01:00
cfreksen
fa57a727c1
Move emulator.py into root directory. 2017-10-30 17:44:26 +01:00
cfreksen
90d99170ab
Fix typo in readme. 2017-10-30 17:36:56 +01:00
cfreksen
5f90fc381b
Add symlink to README.org. 2017-10-30 17:25:00 +01:00
cfreksen
99d9caa932
Use file extension on README. 2017-10-30 17:21:06 +01:00
cfreksen
e5c8522995
Fix typo in an error message. 2017-10-30 17:09:56 +01:00
cfreksen
457559458e
Add readme. 2017-10-30 17:09:16 +01:00
cfreksen
fed8e65afc
Add WIP setup.py file. 2017-10-30 05:30:46 +01:00
cfreksen
2834576683
Update gitignore to ignore files generated by setuptools. 2017-10-30 05:27:35 +01:00
cfreksen
7373d2cdc5
Add setuptools to requirements. 2017-10-30 05:25:53 +01:00
cfreksen
967f382bad
Rename llvm_emulator.py to emulator.py. 2017-10-30 05:04:44 +01:00
cfreksen
ffbdb98528
Move python files into a subdirectory. 2017-10-30 02:54:33 +01:00
cfreksen
3e809a9c30
Add blank lines to printout in auto-mode. 2017-10-30 02:36:10 +01:00
cfreksen
5198d44417
Implement more or less proper user interaction. 2017-10-30 02:31:29 +01:00
cfreksen
d63c5c1d05
Move some of the scaffolding into a more permanent function. 2017-10-30 01:55:57 +01:00
cfreksen
0536c7e683
Implement encoding LLVM strings. 2017-10-30 01:32:35 +01:00
cfreksen
7cd2560956
Implement global identifiers. 2017-10-30 01:09:36 +01:00
cfreksen
6f64647852
Update oper2s. 2017-10-30 00:58:21 +01:00
cfreksen
4d0d13359b
Fix small bug around null in parser. 2017-10-30 00:57:58 +01:00
cfreksen
397c144bba
Allocate globals. 2017-10-30 00:47:50 +01:00
cfreksen
2008b63919
Improve stringification of llvm AST nodes. 2017-10-30 00:47:20 +01:00
cfreksen
b6dafa24f1
Allow capital letters in hex escapes. 2017-10-30 00:15:07 +01:00
cfreksen
89439593e4
Handle getelementptr. 2017-10-30 00:00:56 +01:00
cfreksen
5fc3e23ae5
Improve presentation. 2017-10-30 00:00:35 +01:00
cfreksen
14d9215ac4
Fix missing module qualifier bug. 2017-10-29 22:31:52 +01:00
cfreksen
6398047e64
Try to solve the halting problem. 2017-10-29 22:31:07 +01:00
cfreksen
ce61eb151e
Handle load/store with null. 2017-10-29 22:03:31 +01:00
cfreksen
7deddce45d
Handle more types for Alloca. 2017-10-29 22:00:18 +01:00
cfreksen
5f7a5bf26c
Implement load. 2017-10-29 21:40:26 +01:00