Commit Graph

  • 6e18bb6641 Refresh the repo main Krzosa Karol 2026-03-20 08:35:18 +01:00
  • 771e9b59b3 Core: Array is now module Krzosa Karol 2023-04-22 21:00:02 +02:00
  • ad301153d4 Core: Add defer Krzosa Karol 2023-04-22 14:23:08 +02:00
  • d9a7882f8c Core: Factor + start defer Krzosa Karol 2023-04-22 13:46:21 +02:00
  • b51a2080d2 Core: Misc Krzosa Karol 2023-04-22 13:28:01 +02:00
  • 654d6f17e4 Core: Add goto Krzosa Karol 2023-04-22 13:14:08 +02:00
  • eff6b10cf4 Core: Add Ast_Label Krzosa Karol 2023-04-22 12:38:48 +02:00
  • d244608571 Core: Cleanup todos Krzosa Karol 2023-04-22 09:34:19 +02:00
  • 8c0b4439af Core: Polymorphism works better then expected hmm... Krzosa Karol 2023-04-22 09:15:34 +02:00
  • 4657b4460e Core: Fix null pointer crash Krzosa Karol 2023-04-21 23:08:35 +02:00
  • bbd8b0ab91 Core: Remove AST_Tuple, repurpose VAR_UNPACK (buggy probably) Krzosa Karol 2023-04-21 22:49:15 +02:00
  • 108ec6121e Core: #compiler_breakpoint Krzosa Karol 2023-04-21 15:34:59 +02:00
  • 07dcb418dd Core: Small cleanup Krzosa Karol 2023-04-21 15:19:38 +02:00
  • 19fa0509c6 Core: More robust '.' access Krzosa Karol 2023-04-21 15:09:07 +02:00
  • 32cda2b59e Core: New unique_name scheme, more human friendly Krzosa Karol 2023-04-21 14:44:13 +02:00
  • 2578a2a31a Initial add parent_ast to scopes Krzosa Karol 2023-04-21 11:38:00 +02:00
  • 29238b6cc5 Core: Fix casting binding Krzosa Karol 2023-04-21 11:32:38 +02:00
  • 51cebbf4d0 Core: Fix assigning to arrays Krzosa Karol 2023-04-21 09:45:57 +02:00
  • ef243724dc Core: Fix array counting Krzosa Karol 2023-04-21 09:36:33 +02:00
  • 9edb03e1bb Core: Fix casting from array to pointer of same base, improve errors Krzosa Karol 2023-04-21 09:33:29 +02:00
  • 8c80f609af Core: Fix mixing named and positional in compound expressions Krzosa Karol 2023-04-21 09:26:55 +02:00
  • 1e12f51451 Compiler: Fix empty return compound codegen Krzosa Karol 2023-04-21 09:06:48 +02:00
  • 3207a390c8 Core: Fix couldnt infer compound expression Krzosa Karol 2023-04-21 08:39:33 +02:00
  • ada87e6adf Core: Brought back named loads which are a bit counter intuitive Krzosa Karol 2023-04-21 08:28:44 +02:00
  • d5c4caf725 Core: Remove comment Krzosa Karol 2023-04-21 08:04:22 +02:00
  • 200b5e4f9f Core: Add continue keyword Krzosa Karol 2023-04-21 08:02:58 +02:00
  • e6bf6b680e Core: Conditional compound to fix Msvc, better assert but printf based, Fix tests Krzosa Karol 2023-04-21 07:55:34 +02:00
  • fb3800a43a Core: Change lookup rules, 2x speedup Krzosa Karol 2023-04-20 22:29:31 +02:00
  • 7c69537283 RTS: Bug fixing, improvements Krzosa Karol 2023-04-20 15:52:07 +02:00
  • 6be3b60cd4 RTS: Fix history flickering Krzosa Karol 2023-04-20 15:30:58 +02:00
  • 1aed323783 RTS: Simulating entire path always, fix bug one off goal Krzosa Karol 2023-04-20 15:29:15 +02:00
  • a728f5c37f Selection and setting target_p Krzosa Karol 2023-04-20 15:04:55 +02:00
  • 7037416ea7 RTS: Incremental path finding, Selection box, refactor Krzosa Karol 2023-04-20 13:36:50 +02:00
  • 21d97a4397 RTS: Bulletproof algorithm Krzosa Karol 2023-04-19 16:16:11 +02:00
  • 2d5c2d89bc RTS: Trail Krzosa Karol 2023-04-19 15:01:43 +02:00
  • b7385221ac Core RTS :: Randomizing positions, improving visuals, info Krzosa Karol 2023-04-19 13:20:35 +02:00
  • 87657a99a6 Core: match sizeof etc. syntax with C, Core RTS: Beautifying + animations Krzosa Karol 2023-04-19 12:50:58 +02:00
  • 891221441e Core RTS: Multiple actors Krzosa Karol 2023-04-19 10:35:57 +02:00
  • e1903a0331 Core RTS: Actor movement Krzosa Karol 2023-04-19 10:23:33 +02:00
  • 597cee5fb8 RTS, Fix invalid struct names in type info Krzosa Karol 2023-04-19 08:09:59 +02:00
  • 56eb7e6de2 Core RTS: Path finding seems to work! Krzosa Karol 2023-04-18 17:26:08 +02:00
  • bea10a621e Core Compiler: Fix type incomplete polymorph, work on RTS Krzosa Karol 2023-04-18 16:23:36 +02:00
  • 4ecb329033 Compiler game work + enable cast from pointer to int Krzosa Karol 2023-04-18 13:50:57 +02:00
  • 013db0f985 Start rts thing Krzosa Karol 2023-04-17 21:51:41 +02:00
  • 7cb4b7145f More raylib stuff, error messages matching sublime error format Krzosa Karol 2023-04-17 21:07:21 +02:00
  • 556677c42b Add missing type stuff Krzosa Karol 2023-04-16 15:37:29 +02:00
  • 4f658c0c09 Match bool c style Krzosa Karol 2023-04-16 15:30:08 +02:00
  • d4a7fc32c8 raylib bindings Krzosa Karol 2023-04-16 15:27:11 +02:00
  • 7152a710cc Add c types, int is default type Krzosa Karol 2023-04-16 15:02:25 +02:00
  • a2662d1cd8 Lines lexed statistic Krzosa Karol 2023-04-16 14:38:41 +02:00
  • 9b035e85af printf and Raylib TextFormat work! Krzosa Karol 2023-04-14 22:27:39 +02:00
  • 8c4975db35 Implemented C variadic arguments Krzosa Karol 2023-04-14 22:22:34 +02:00
  • fdcdc8ea86 Misc Krzosa Karol 2023-04-14 21:13:38 +02:00
  • 542f2e0297 Fix color codes Krzosa Karol 2023-04-14 21:13:30 +02:00
  • 44b0bededa Factor Krzosa Karol 2023-04-05 21:51:30 +02:00
  • fb9c8728ea Compiling with MSVC, Using raylib! Cleanup Krzosa Karol 2023-04-05 21:49:05 +02:00
  • d7c96b0ebc ast_copy missed case Krzosa Karol 2023-04-03 21:23:44 +02:00
  • 39f4b081a8 Initial polymorph seeking works! Krzosa Karol 2023-04-03 16:15:50 +02:00
  • b543e1df9d Polymorphism: Add already resolved decls for identifiers Krzosa Karol 2023-04-03 11:55:14 +02:00
  • 41d2baa56b We are working! POLYMORPHS There was an error where we have to reconstruct exact typespec from type. This means we will probably have problems with namespaces!! Krzosa Karol 2023-04-02 15:07:47 +02:00
  • c4b27bf604 WOO YEE Basic polymorphism for untyped values, not working for typed expressions yet Krzosa Karol 2023-04-02 14:14:30 +02:00
  • 7203589915 Fix losing type pointer in constant type value Krzosa Karol 2023-04-02 12:51:58 +02:00
  • f8e78c8ee4 Factor Krzosa Karol 2023-04-02 12:36:02 +02:00
  • 18c0af2b99 Factor Krzosa Karol 2023-04-02 12:33:00 +02:00
  • 6320d705a1 Fix folders again Krzosa Karol 2023-04-02 12:17:40 +02:00
  • 031cc2c5af Use core/linked_list.h Krzosa Karol 2023-04-02 12:15:36 +02:00
  • e2140817df Using For from Array Krzosa Karol 2023-04-02 12:13:11 +02:00
  • 9dfa539563 Using ForArrayRemovable Krzosa Karol 2023-04-02 12:12:21 +02:00
  • ad5c692506 Previously it wasnt working but now its working, TRUST ME Krzosa Karol 2023-04-02 11:23:36 +02:00
  • 9bb355ed93 core build system and array, it compiles! Krzosa Karol 2023-04-02 11:16:13 +02:00
  • 2be13cee30 Fix BIG Bug. Win BIGLY Krzosa Karol 2023-04-02 10:58:30 +02:00
  • 14c83a7c5f Small Messages Krzosa Karol 2023-04-01 20:57:44 +02:00
  • 7a369d801a Fix? ordered_remove in loops Krzosa Karol 2023-04-01 20:56:34 +02:00
  • 2ce696b04b PushStruct lambda working yay Krzosa Karol 2023-04-01 20:38:54 +02:00
  • 3c70b45be4 Fix matches list Krzosa Karol 2023-04-01 20:36:36 +02:00
  • 96ce6765fe unique_name sheningans Krzosa Karol 2023-04-01 20:32:29 +02:00
  • e8f82f643a Cleanup compile time variables from generated code Krzosa Karol 2023-04-01 19:54:03 +02:00
  • 3d8dfd49fd Fix polymorph invalid resolved_decl in call Krzosa Karol 2023-04-01 19:45:04 +02:00
  • 7bf3e107bb Polymorphic procedure, with passed in compile time type but without removing the type in params etc. Krzosa Karol 2023-04-01 19:40:12 +02:00
  • 3d438645a0 Polymorphs nested structs Krzosa Karol 2023-04-01 14:31:41 +02:00
  • 2c19658115 Skip resolution of polymorphs Krzosa Karol 2023-04-01 12:22:45 +02:00
  • 7674984f4a Propagate polymorph to declaration Krzosa Karol 2023-04-01 12:20:44 +02:00
  • 96d87390bc Propagate polymorphic to lambda Krzosa Karol 2023-04-01 12:16:38 +02:00
  • 21c9a57d96 Comments Krzosa Karol 2023-04-01 11:54:52 +02:00
  • 4f80cff8e1 Replace set_flag_typespec with iterator! Krzosa Karol 2023-04-01 11:50:11 +02:00
  • acf64024b9 Move iterator to AST Krzosa Karol 2023-04-01 11:44:49 +02:00
  • 9e077d4d88 Unique names for polymorphic types Krzosa Karol 2023-04-01 11:43:26 +02:00
  • b14979d754 We are generating basic polymorphic types! Krzosa Karol 2023-04-01 10:30:07 +02:00
  • db3790016d Polymorphs, recursice typespec tagging Krzosa Karol 2023-04-01 10:11:12 +02:00
  • 5fb4999ca8 Polymorphs Krzosa Karol 2023-04-01 09:28:35 +02:00
  • e2ae8005bb Printing di's proprly Krzosa Karol 2023-03-31 22:45:51 +02:00
  • b6835d0f6a Copying and printing the copy Krzosa Karol 2023-03-31 22:44:11 +02:00
  • e70d544029 Core printing Krzosa Karol 2023-03-31 22:28:18 +02:00
  • dd61594794 Add core printer file Krzosa Karol 2023-03-31 21:43:44 +02:00
  • d552716b49 Add di's to ast_copy Krzosa Karol 2023-03-31 21:40:39 +02:00
  • 61f8c5c825 Removing polymorph from test Krzosa Karol 2023-03-31 17:52:10 +02:00
  • 0e01b785f1 Remove decls from lambda scope after resolution Krzosa Karol 2023-03-31 17:42:19 +02:00
  • b2e8012afa Change name Scratch_Scope to Scoped_Arena Krzosa Karol 2023-03-31 17:39:00 +02:00
  • 277404fe95 Iterator + start to add core to core codegen Krzosa Karol 2023-03-31 17:38:32 +02:00
  • 1839279235 Fix iterator traversal order Krzosa Karol 2023-03-31 12:41:19 +02:00