Commit graph

86 commits

Author SHA1 Message Date
XOR
12f70b1a88 Exit the program if there were errors found 2023-09-30 18:17:17 +02:00
XOR
44beccfd06 mark fall through as intentional 2023-09-30 16:51:47 +02:00
XOR
26095748df Add support for CRLF text files 2023-09-30 16:51:10 +02:00
XOR
edf807a5b3 Open eipa assembly in binary mode, to make LF files work in Windows 2023-09-30 16:49:50 +02:00
XOR
38d14eec25 Change types for better OS compatibility 2023-09-30 14:10:43 +02:00
XOR
19c0d887b5 Added universal OS support and version bump to 0.2.1 beta 2023-09-25 18:43:53 +02:00
XOR
9926b9da54 Version bump to 0.2.0 beta 2023-09-22 00:11:32 +02:00
XOR
89efb81f3e Remove print statements used for debugging 2023-09-21 23:42:45 +02:00
XOR
6238291ab3 Fix memory leak 2023-09-21 23:39:50 +02:00
XOR
e9a3dc6ec7 Add resizing to target_code_generator 2023-09-21 22:51:01 +02:00
XOR
52c0e49073 Add resizing to replace_labels_with_adresses 2023-09-21 22:32:18 +02:00
XOR
7bc5189aef Add resizing to remove_label_tokens 2023-09-21 12:39:28 +02:00
XOR
508bf04793 Add resizing to the lexer 2023-09-20 22:00:47 +02:00
XOR
1cf8f9cae2 Add dynamic buffers and reduce memory usage 2023-09-19 22:32:26 +02:00
XOR
b7802a6b83 Fix dependency_setup.sh 2023-09-07 22:45:56 +02:00
XOR
770276a68c fix typo 2023-09-07 22:04:47 +02:00
XOR
d84921f4cb Simplify the building process 2023-09-07 21:58:19 +02:00
XOR
640e8bcdaf Finish label processing 2023-09-07 18:41:46 +02:00
XOR
0d2d613bc8 Add label support to error detection 2023-09-05 00:42:36 +02:00
XOR
7ea187efc6 Fix some indenting and proceed with label processing 2023-08-31 22:18:44 +02:00
XOR
84a26a7189 Add comment 2023-08-31 22:17:21 +02:00
XOR
7ffca91f95 Snapshot of non working code where I now forgot what I was doing... 2023-08-17 21:43:38 +02:00
XOR
f22407ddd0 Add emacs specific things to .gitignore 2023-08-17 21:30:36 +02:00
XOR
e3e31b5b27 Add missing translation 2023-05-02 07:49:46 +02:00
XOR
35a485d1d7 Add a error analyzer 2023-05-01 21:19:52 +02:00
XOR
dc905669a9 lexer.c: add visual hint that tokens are printed
(When the -t flag is specified)
2023-05-01 21:18:05 +02:00
XOR
22f0c00462 Fix bug when freeing the instruction information table 2023-05-01 21:16:53 +02:00
XOR
94dc063b8d Fix faulty code in test file 2023-04-19 17:35:31 +02:00
XOR
9b903db2e3 fix typo (INC->INP) 2023-04-19 17:34:30 +02:00
XOR
32159f7eb3 lexer.c fix bug when assembly file ends with newline 2023-04-19 17:33:22 +02:00
XOR
e6d112e263 instruction_table.h: fix missing ';' 2023-04-15 23:19:17 +02:00
XOR
d1748f65b1 Competle init/destroy functions of instruction information table 2023-04-15 23:16:35 +02:00
XOR
e81e0a6e94 Add a hashtable that contains information about the instructions 2023-04-14 16:55:57 +02:00
XOR
3ce1b99f26 design.txt: specify a supported label at all jump instructions 2023-04-14 16:54:10 +02:00
XOR
0dc28085ed Add the shash library into the source tree 2023-04-13 23:05:54 +02:00
XOR
a1c42a4baa Merge local changes with the ones done from the git viewer
Merge branch 'main' of https://h2939863.stratoserver.net/git/EIPA/Assembler
2023-04-13 06:36:19 +02:00
XOR
fce1fa6a72 Make readme more readable 2023-04-04 23:40:32 +02:00
XOR
ac8344af93 Update desgin.txt to add support for labels 2023-03-27 10:50:12 +02:00
XOR
8b75dbd887 Update TODO 2023-03-19 14:17:24 +01:00
XOR
58b707c7ef Delete not anymore needed comment
In lexer.c
2023-03-12 09:11:51 +01:00
XOR
1ffd59b615 Fix some compiler warnings 2023-03-04 23:55:51 +01:00
XOR
ab328bd2f5 Delete German part of README for easier maintance and consistency 2023-02-27 15:06:36 +01:00
XOR
20f729d0fd The commit before this one also contained:
Refactoring
Adding error handling
Adding a clang format file
Updating gitignore
Updating TODO
2023-02-27 14:52:37 +01:00
XOR
6431d32c36 bugfix: Fix infinite loop error 2023-02-25 19:41:58 +01:00
XOR
e1c947a455 Add Comments and refactor some code 2023-02-13 10:28:28 +01:00
XOR
244770c125 Add options for printing tokens and target code 2023-02-04 19:37:04 +01:00
XOR
eea7693a14 Make Comment more clear 2023-02-04 19:36:42 +01:00
XOR
2368a92f58 Add Command line Arguments 2023-02-04 18:53:08 +01:00
XOR
3ad00c45dc Makefile now recompiles stuff too if only headers changed 2023-02-04 18:52:13 +01:00
=
b1fd802e89 Add a proper makefile
which automatically scans for files and only compiles new changes
2023-01-14 00:49:42 +01:00