Commit Graph

85 Commits

Author SHA1 Message Date
Sasha Koshka e71b9951e9 Fixed scope OverVariables stopping immediately 2023-11-26 04:01:55 -05:00
Sasha Koshka 2559b88fbb fsplc command now infers output type from output file name ext 2023-11-26 04:01:03 -05:00
Sasha Koshka 2db97a42b1 Analyzer no longer deletes dereferences 2023-11-26 04:00:44 -05:00
Sasha Koshka 38a4cd7aaa LLVM improvements 2023-11-26 04:00:20 -05:00
Sasha Koshka dc16a17271 Typedefs that are never referenced are never generated 2023-11-23 01:44:48 -05:00
Sasha Koshka 31829df4da Basic compiler command 2023-11-23 01:26:28 -05:00
Sasha Koshka 05b389dd3c Generator returns an LLVM module 2023-11-23 01:26:14 -05:00
Sasha Koshka 3b9ed0c35f Various fixes 2023-11-23 00:02:00 -05:00
Sasha Koshka 7690f683a4 Migrated generator to use new llvm code generation package 2023-11-22 20:37:37 -05:00
Sasha Koshka 8ce12613e2 Add custom LLVM code generation package 2023-11-22 20:37:16 -05:00
Sasha Koshka 54b693620e Generator WIP 2023-11-21 15:04:22 -05:00
Sasha Koshka 72941e1ab4 Slight modifications to analyzer 2023-11-21 15:04:01 -05:00
Sasha Koshka ec78adf42d Functions/behaviors stub 2023-11-16 22:41:20 -05:00
Sasha Koshka 4cbe29e777 Add CLI stub 2023-11-16 22:40:57 -05:00
Sasha Koshka 3a1d9e20c2 Add type generator 2023-11-16 22:04:56 -05:00
Sasha Koshka e501577555 Generator stub II 2023-11-16 15:52:28 -05:00
Sasha Koshka 1c6e485bf7 Generator stub 2023-11-14 02:49:55 -05:00
Sasha Koshka 605fd24228 Pass all analyzer tests 2023-11-04 17:59:04 -04:00
Sasha Koshka 47beb9e41f Pass all but one test 2023-11-04 16:34:40 -04:00
Sasha Koshka a2e22d1154 Fix goofy bugs 2023-10-31 21:52:47 -04:00
Sasha Koshka af52bbb070 uhhhh 2023-10-31 15:43:19 -04:00
Sasha Koshka dd9f866165 Can now assign array directly to slice 2023-10-31 01:46:18 -04:00
Sasha Koshka fa60f8c814 Pass all literal assignment tests 2023-10-29 15:18:44 -04:00
Sasha Koshka 8cdeab6efa Array literal can be used in array and slice 2023-10-29 15:13:25 -04:00
Sasha Koshka 6f14b8a1b3 Pass a bunch of tests 2023-10-29 15:09:20 -04:00
Sasha Koshka d435a1b1be Removed Void as a concept 2023-10-29 14:47:28 -04:00
Sasha Koshka 24af8e0b49 Expression analysis actually runs now 2023-10-29 14:40:29 -04:00
Sasha Koshka ab262207db Fix entity string conversion 2023-10-29 14:34:21 -04:00
Sasha Koshka 359441d5fa Analyze return statement 2023-10-29 14:28:51 -04:00
Sasha Koshka 8751cc7b89 Analyze break statements 2023-10-29 02:59:45 -04:00
Sasha Koshka b8d573f2cd Analyze more expressions 2023-10-29 02:18:41 -04:00
Sasha Koshka 2018ccead6 Add loop stack management to scopeManager and scopeContextManager 2023-10-29 02:18:03 -04:00
Sasha Koshka 68951a3af4 Analyze all the literals 2023-10-28 03:24:17 -04:00
Sasha Koshka 037c59172c Revise spec a bit 2023-10-28 03:24:08 -04:00
Sasha Koshka a6fec780c7 Start analyzing literals 2023-10-27 16:10:31 -04:00
Sasha Koshka c88ba16bdc Add package for determining integer sizes 2023-10-27 16:10:05 -04:00
Sasha Koshka 4da8ecd25f More expressions (wip) 2023-10-26 10:43:50 -04:00
Sasha Koshka 964daf01ed Analysis of value/bit casts 2023-10-25 01:57:02 -04:00
Sasha Koshka 0bcc5e7d46 Location expressions 2023-10-24 21:54:59 -04:00
Sasha Koshka 9a7087ab14 Added analysis for numerous types of expressions 2023-10-24 18:29:33 -04:00
Sasha Koshka ee8eabcfc4 I forgor 2023-10-24 01:34:58 -04:00
Sasha Koshka 5ac046d5b1 Function call analysis 2023-10-20 13:48:05 -04:00
Sasha Koshka 99c09d9b07 Added basic equality checks to types 2023-10-19 21:53:19 -04:00
Sasha Koshka fc97c3ed49 WIP expression analysis type checking 2023-10-19 19:13:55 -04:00
Sasha Koshka 75c18763a9 New syntax for method calls
This will free up the '::' token for namespace/module access. Exciting!
2023-10-19 17:19:23 -04:00
Sasha Koshka 30636e18aa Expression analysis stub 2023-10-18 02:29:24 -04:00
Sasha Koshka 92e8205bb9 That, but for operation arg count testing 2023-10-18 01:39:43 -04:00
Sasha Koshka 1302731793 Updated analyzer tests to account for lexer changes 2023-10-18 01:33:22 -04:00
Sasha Koshka cdee4adf1c Star is now a separate token 2023-10-18 01:14:17 -04:00
Sasha Koshka a80492420e Implement custom lexer FINALLY 2023-10-18 00:48:35 -04:00