Commit Graph

150 Commits

Author SHA1 Message Date
4c07b9f206 Add length to analyzer and parser 2023-11-30 02:05:32 -05:00
df1bc20388 Added bit casts 2023-11-29 20:37:56 -05:00
ca401442b4 Generator properly uses subscript offset 2023-11-29 20:31:40 -05:00
7cf4067167 Generator grabs slice type from proper place 2023-11-29 20:31:07 -05:00
6ddb32fd5c Multi-layer location expression type inference 2023-11-29 20:07:16 -05:00
19a6b73f0e Analyzer does light upward type inference for location expressions 2023-11-29 18:52:27 -05:00
1cd972f50f Generator now adds null terminator to c-strings 2023-11-29 00:45:38 -05:00
1d4bcb44a2 Reduce element type when generating string literal data 2023-11-29 00:21:58 -05:00
c709500d58 Facehoof 2023-11-29 00:13:54 -05:00
e92377bc95 Added string literals to generator 2023-11-29 00:01:35 -05:00
19b8825f5b Add string literals to generator WIP 2023-11-28 01:15:12 -05:00
e5be4dba02 Added string literal to analyzer 2023-11-26 17:27:31 -05:00
d0245e4375 Added string literal to parser 2023-11-26 05:16:40 -05:00
496a8c5e78 Add escape sequences to strings in lexer 2023-11-26 04:56:14 -05:00
85e77c36c6 This should have been way more commits 2023-11-26 04:02:22 -05:00
e71b9951e9 Fixed scope OverVariables stopping immediately 2023-11-26 04:01:55 -05:00
2559b88fbb fsplc command now infers output type from output file name ext 2023-11-26 04:01:03 -05:00
2db97a42b1 Analyzer no longer deletes dereferences 2023-11-26 04:00:44 -05:00
38a4cd7aaa LLVM improvements 2023-11-26 04:00:20 -05:00
dc16a17271 Typedefs that are never referenced are never generated 2023-11-23 01:44:48 -05:00
31829df4da Basic compiler command 2023-11-23 01:26:28 -05:00
05b389dd3c Generator returns an LLVM module 2023-11-23 01:26:14 -05:00
3b9ed0c35f Various fixes 2023-11-23 00:02:00 -05:00
7690f683a4 Migrated generator to use new llvm code generation package 2023-11-22 20:37:37 -05:00
8ce12613e2 Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
54b693620e Generator WIP 2023-11-21 15:04:22 -05:00
72941e1ab4 Slight modifications to analyzer 2023-11-21 15:04:01 -05:00
ec78adf42d Functions/behaviors stub 2023-11-16 22:41:20 -05:00
4cbe29e777 Add CLI stub 2023-11-16 22:40:57 -05:00
3a1d9e20c2 Add type generator 2023-11-16 22:04:56 -05:00
e501577555 Generator stub II 2023-11-16 15:52:28 -05:00
1c6e485bf7 Generator stub 2023-11-14 02:49:55 -05:00
605fd24228 Pass all analyzer tests 2023-11-04 17:59:04 -04:00
47beb9e41f Pass all but one test 2023-11-04 16:34:40 -04:00
a2e22d1154 Fix goofy bugs 2023-10-31 21:52:47 -04:00
af52bbb070 uhhhh 2023-10-31 15:43:19 -04:00
dd9f866165 Can now assign array directly to slice 2023-10-31 01:46:18 -04:00
fa60f8c814 Pass all literal assignment tests 2023-10-29 15:18:44 -04:00
8cdeab6efa Array literal can be used in array and slice 2023-10-29 15:13:25 -04:00
6f14b8a1b3 Pass a bunch of tests 2023-10-29 15:09:20 -04:00
d435a1b1be Removed Void as a concept 2023-10-29 14:47:28 -04:00
24af8e0b49 Expression analysis actually runs now 2023-10-29 14:40:29 -04:00
ab262207db Fix entity string conversion 2023-10-29 14:34:21 -04:00
359441d5fa Analyze return statement 2023-10-29 14:28:51 -04:00
8751cc7b89 Analyze break statements 2023-10-29 02:59:45 -04:00
b8d573f2cd Analyze more expressions 2023-10-29 02:18:41 -04:00
2018ccead6 Add loop stack management to scopeManager and scopeContextManager 2023-10-29 02:18:03 -04:00
68951a3af4 Analyze all the literals 2023-10-28 03:24:17 -04:00
037c59172c Revise spec a bit 2023-10-28 03:24:08 -04:00
a6fec780c7 Start analyzing literals 2023-10-27 16:10:31 -04:00