Commit graph

23 commits

Author SHA1 Message Date
2c659f1f8c
Add README.md 2024-07-21 12:17:38 +02:00
e30d95ca8b
Set a little more complex example calculation 2024-07-21 11:26:40 +02:00
896d2c6f7b
feat(runtime): Implement add sub mult and div opcodes
Implement calculation of add sub mult and div operations
2024-07-21 11:25:07 +02:00
780042035c
fix: Encode constants using little endian 2024-07-20 22:47:36 +02:00
920251e99f
Implement OperandStack for Runtime 2024-07-20 21:41:27 +02:00
986c04053e
Create minimal C Project 2024-07-20 18:46:52 +02:00
11500fefed
Encode bytecode version in first byte of binary 2024-07-20 18:30:21 +02:00
29e5f97dae
feat: Implement Assembler 2024-07-20 18:15:58 +02:00
8e5fba32f6
Implement Compiler 2024-07-20 09:23:21 +02:00
eb03afe343
Represent negative constants as negative values instead of -1 * positiveValue 2024-07-20 08:41:38 +02:00
62528a6d75
Implement AbstractSyntaxTree 2024-07-18 18:04:36 +02:00
7c19a6e890
chore(Parser): Ignore HLINT warnings 2024-07-18 16:32:58 +02:00
929285b5ef
feat: Add high-level parse function to Parser 2024-07-17 23:47:29 +02:00
9d1a80bf2b
Implement Parsing for Tokens of AST 2024-07-17 21:21:28 +02:00
39d77eafe0
Implement Alternative Parser 2024-07-17 21:20:04 +02:00
3deaeee24a
Implement Applicative Parser 2024-07-17 00:22:38 +02:00
bf4592540a
Add AST to Parser 2024-07-17 00:21:23 +02:00
b51be83eff
Read input for Lexer from file 2024-07-16 00:05:15 +02:00
34bad5af43
refactor: Rename Tokens 2024-07-15 23:49:18 +02:00
9123e0b882
refactor: lexNumbers 2024-07-15 23:46:50 +02:00
5c2dc50872
feat: Implement Lexer 2024-07-15 23:38:30 +02:00
fffa295d3c
Add tokens to Lexer 2024-07-15 23:37:14 +02:00
08aba8bf40
Create cabal project 2024-07-15 22:17:08 +02:00