24 Commits
Author SHA1 Message Date
Barf-Vader 1ce36dd8da refactor: unit tests now work with asm ir refactor 2025-02-21 23:34:37 +00:00
Barf-Vader ee4109e9cd style: fix style 2025-02-21 23:00:59 +00:00
Barf-Vader 02e741c52e feat: implemented println and exit 2025-02-21 22:53:20 +00:00
Barf-Vader 67f7e64b95 feat: add writer for assembly code 2025-02-20 19:47:24 +00:00
Barf-Vader a8420ae45c Merge branch 'master' into assembly-ir 2025-02-20 19:00:11 +00:00
Barf-Vader b692982d73 refactor: gitignore .idea/ 2025-02-20 18:57:41 +00:00
Barf-Vader 2c281066a8 refactor: used varargs instead of noOperand 2025-02-17 18:07:36 +00:00
Barf-Vader 7525e523bb style: reformatted to pass stylecheck 2025-02-16 18:03:39 +00:00
Barf-Vader 4e58e41a2a refactor: abstracted operations, used trait Operand 2025-02-16 17:58:35 +00:00
Barf-Vader 32622cdd7e feat: incomplete initial implementation of assemblyIR 2025-02-13 17:42:50 +00:00
Barf-Vader 3d2725be8d feat: catch indirect function calls 2025-02-07 17:22:54 +00:00
Barf-Vader cf661e6ac7 Merge remote-tracking branch 'origin/more-explicit-invalid-syntax' into more-explicit-invalid-syntax 2025-02-07 16:27:51 +00:00
Barf-Vader 4bf63454f4 fix: catch function call without keyword with parenscheck 2025-02-07 16:27:32 +00:00
Barf-Vader 0f87725f62 fix: added array literal in LexTokens 2025-02-07 13:49:42 +00:00
Barf-Vader 31bb23480b fix: refactored code to use ident.pos 2025-02-07 13:36:18 +00:00
Barf-Vader a09d38a40f fix: cleaned up comments, removed getPosition from ident 2025-02-07 13:33:25 +00:00
Barf-Vader c798fdf416 fix: made missing func return type error atomic 2025-02-07 13:21:13 +00:00
Barf-Vader a65cc01815 fix: added error messages for functions missing type, and late function decls 2025-02-07 11:52:31 +00:00
Barf-Vader b3ecae5dbb fix: quotes around char and str errors, added errors for assign and arrayIndex 2025-02-07 11:52:31 +00:00
Barf-Vader f24f8c87d8 fix: added explanation for nested pair error, added more errors 2025-02-07 11:50:57 +00:00
Barf-Vaderandgc1523 bd779931b6 refactor: style fixes in parser
Co-authored-by: gc1523
2025-02-06 19:54:16 +00:00
Barf-Vaderandgc1523 8b64f2e352 fix: removed redundant labelling in ast
Co-authored-by: gc1523
2025-02-06 19:54:16 +00:00
Barf-Vaderandgc1523 19880321d7 feat: implemented lexer-backed error builder, error messages are now based on predefined tokens
Co-authored-by: gc1523
2025-02-06 19:54:16 +00:00
Barf-Vaderandgc1523 e787d7168f refactor: implemented labelAndExplain(), combining the two, and provided explanations for expr
Co-authored-by: gc1523
2025-02-06 19:53:48 +00:00