Commit Graph

207 Commits

Author SHA1 Message Date
5539f8722f Created function for making slices 2023-12-02 04:21:10 -05:00
67eb74c66e Ditch brackets around break and return statements 2023-12-01 01:53:33 -05:00
Sasha Koshka
9ccb1490bf Completed operations 2023-12-01 01:18:10 -05:00
Sasha Koshka
ccd3ddd82a Made native target actually work 2023-11-30 17:16:55 -05:00
af4827590e Operation stub part II 2023-11-30 15:44:30 -05:00
1c5a58aa23 Add operation stub 2023-11-30 02:13:47 -05:00
f87a4a4b78 Added casting 2023-11-30 02:06:12 -05:00
c24113ba51 Add length to analyzer and parser 2023-11-30 02:05:32 -05:00
78d4276a57 Added bit casts 2023-11-29 20:37:56 -05:00
a58b058025 Generator properly uses subscript offset 2023-11-29 20:31:40 -05:00
593683156a Generator grabs slice type from proper place 2023-11-29 20:31:07 -05:00
b96d9c6c4c Multi-layer location expression type inference 2023-11-29 20:07:16 -05:00
0b4aef1530 Analyzer does light upward type inference for location expressions 2023-11-29 18:52:27 -05:00
c5a61e15f6 Generator now adds null terminator to c-strings 2023-11-29 00:45:38 -05:00
37819645cd Reduce element type when generating string literal data 2023-11-29 00:21:58 -05:00
0afccbe6b1 Facehoof 2023-11-29 00:13:54 -05:00
Sasha Koshka
ced43a161d Added string literals to generator 2023-11-29 00:01:35 -05:00
Sasha Koshka
c08f5d7706 Add string literals to generator WIP 2023-11-28 01:15:12 -05:00
Sasha Koshka
9808fc0e7c Added string literal to analyzer 2023-11-26 17:27:31 -05:00
905522af56 Added string literal to parser 2023-11-26 05:16:40 -05:00
fddccf2967 Add escape sequences to strings in lexer 2023-11-26 04:56:14 -05:00
aa107072d8 This should have been way more commits 2023-11-26 04:02:22 -05:00
3a751666ba Fixed scope OverVariables stopping immediately 2023-11-26 04:01:55 -05:00
f08a09cee2 fsplc command now infers output type from output file name ext 2023-11-26 04:01:03 -05:00
ae9bace68a Analyzer no longer deletes dereferences 2023-11-26 04:00:44 -05:00
36e70c0c97 LLVM improvements 2023-11-26 04:00:20 -05:00
0a54cbdd63 Typedefs that are never referenced are never generated 2023-11-23 01:44:48 -05:00
8258c4f400 Basic compiler command 2023-11-23 01:26:28 -05:00
94bf21536d Generator returns an LLVM module 2023-11-23 01:26:14 -05:00
15fece8154 Various fixes 2023-11-23 00:02:00 -05:00
a2d4252428 Migrated generator to use new llvm code generation package 2023-11-22 20:37:37 -05:00
0efc4d209e Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
0331b486bf Generator WIP 2023-11-21 15:04:22 -05:00
ff9fdfeab0 Slight modifications to analyzer 2023-11-21 15:04:01 -05:00
Sasha Koshka
05e298583e Functions/behaviors stub 2023-11-16 22:41:20 -05:00
Sasha Koshka
652a6c313b Add CLI stub 2023-11-16 22:40:57 -05:00
Sasha Koshka
729af04963 Add type generator 2023-11-16 22:04:56 -05:00
13b18c0ce0 Generator stub II 2023-11-16 15:52:28 -05:00
3f96704723 Generator stub 2023-11-14 02:49:55 -05:00
5e4d2a32e4 Pass all analyzer tests 2023-11-04 17:59:04 -04:00
9706e844d6 Pass all but one test 2023-11-04 16:34:40 -04:00
162487490e Fix goofy bugs 2023-10-31 21:52:47 -04:00
b6a7b237ba uhhhh 2023-10-31 15:43:19 -04:00
58513e7d15 Can now assign array directly to slice 2023-10-31 01:46:18 -04:00
1a09e9ba2a Pass all literal assignment tests 2023-10-29 15:18:44 -04:00
b839517e9a Array literal can be used in array and slice 2023-10-29 15:13:25 -04:00
45574d3cd5 Pass a bunch of tests 2023-10-29 15:09:20 -04:00
8ce12b8a71 Removed Void as a concept 2023-10-29 14:47:28 -04:00
7b0d2d50bd Expression analysis actually runs now 2023-10-29 14:40:29 -04:00
65a32c3cdb Fix entity string conversion 2023-10-29 14:34:21 -04:00