Commit Graph

40 Commits

Author SHA1 Message Date
f4480fe6b1 Generator no longer generates constants because I assumed untrue things 2024-04-21 11:01:07 -04:00
f05efb749d Generator generates constants 2024-04-21 00:19:33 -04:00
650289f03e Generate switch statements 2024-03-26 00:42:27 -04:00
491a9b2369 Untested for loop generation 2024-03-20 02:52:01 -04:00
a9adc77658 For loop generation stub 2024-03-20 02:09:26 -04:00
54f69ca786 Add match stub 2024-03-05 03:32:31 -05:00
23052aa6f0 Changed repository import paths 2024-02-22 19:22:53 -05:00
122cafbc2b Unexport generator.resultMode 2024-02-08 16:06:00 -05:00
94a25f0aac Generator compiles and runs 2024-02-08 13:14:21 -05:00
83aefbae07 *Greatly* reduced the amount of excess IR related to string literals 2024-01-28 14:11:41 -05:00
1f53fc5214 Struct literals now support irDestLoc 2024-01-28 04:50:18 -05:00
185a6114a6 Array literals now support irDestLoc 2024-01-28 04:18:33 -05:00
a4c7212709 Add more tests for loops 2024-01-28 03:29:49 -05:00
1b4a0621de Fix some issues with control flow, add tests 2024-01-28 03:16:05 -05:00
f039be92b6 Remove redundant val variable/declaration generation 2024-01-27 14:17:52 -05:00
a4fc8746bd Fix more names and orgaization of statement generation 2024-01-27 17:33:15 +00:00
64d246a997 Added -Any suffix to appropriate generation routines 2024-01-27 17:24:47 +00:00
e188b2f349 Fixed segfault relating to break and return statements 2024-01-27 17:11:44 +00:00
8e9b5e0613 Introducing ResultMode! time to got to bed. 2024-01-27 10:43:27 +00:00
12ab7dd3e3 Updated control flow generation 2024-01-27 10:03:15 +00:00
c63e077f9a Made generic block generation routine 2024-01-27 09:18:41 +00:00
75ec6a2ddc Made panic messages in expression-multiplex.go more informative 2024-01-27 09:15:39 +00:00
8b45c91239 Add Val onto value expressions 2024-01-27 09:09:27 +00:00
934af40e4b Update block generation routines 2024-01-27 09:06:17 +00:00
f827bfeb7a Add generateStatement routine 2024-01-27 08:53:29 +00:00
32ce14f032 Renamed generateStatement to generateStatementVal 2024-01-27 08:49:25 +00:00
ac6a969ac9 Add generateExpression function 2024-01-27 08:48:00 +00:00
cfc894ff29 Rename generateExpression to generateExpressionVal 2024-01-27 08:39:05 +00:00
cd688c91af Added nil (zero initializer) literals 2023-12-21 23:33:38 -05:00
fb360c3398 Operands to IR binary instructions now have identifiers instead of names 2023-12-07 03:04:29 -05:00
30c346c6b7 Generator alloca's variables when they are defined 2023-12-07 02:48:27 -05:00
7f866d102d Fixed several cases where the generator would output invalid IR 2023-12-03 22:23:04 -05:00
4fa7848452 Add operation stub 2023-11-30 02:13:47 -05:00
3fd00d56eb Added casting 2023-11-30 02:06:12 -05:00
df1bc20388 Added bit casts 2023-11-29 20:37:56 -05:00
c709500d58 Facehoof 2023-11-29 00:13:54 -05:00
19b8825f5b Add string literals to generator WIP 2023-11-28 01:15:12 -05:00
85e77c36c6 This should have been way more commits 2023-11-26 04:02:22 -05:00
7690f683a4 Migrated generator to use new llvm code generation package 2023-11-22 20:37:37 -05:00
54b693620e Generator WIP 2023-11-21 15:04:22 -05:00