Commit Graph

  • 3a644dad78 Fix issue #101 Ginger Bill 2017-09-20 20:45:40 +01:00
  • d2c1c719bd Fix file load order and allow when statements at file scope Ginger Bill 2017-09-20 20:38:32 +01:00
  • 333db4dc94 Fix issues #95 and #96 Ginger Bill 2017-09-13 22:20:27 +01:00
  • cbcf4b6071 Fix issue #94 Ginger Bill 2017-09-11 22:49:26 +01:00
  • e6e0aba8c3 Remove when suffixes; Implement file scope when statement, evaluated in source order Ginger Bill 2017-09-10 15:17:37 +01:00
  • 85097a9958 Fix global variable initialization IR bug Ginger Bill 2017-09-10 13:50:11 +01:00
  • 7791c343c4 Allow for multiple library collections; Store AstFile as pointer Ginger Bill 2017-09-10 13:26:14 +01:00
  • 3bd762591a Fix path_is_directory for *nix Ginger Bill 2017-09-07 21:33:37 +01:00
  • 8e3b77aba8 Library collections Ginger Bill 2017-09-07 20:55:59 +01:00
  • 36e3a02f67 Fix bit_field type information Ginger Bill 2017-09-02 22:54:11 +01:00
  • 566a242ba3 Fix issue #92 Ginger Bill 2017-09-02 10:06:44 +01:00
  • 1e3b3c107c IR Fix for UnionTagValue Ginger Bill 2017-08-28 23:04:48 +01:00
  • 2ac33285c1 Remove metagen.odin Ginger Bill 2017-08-27 23:28:20 +01:00
  • 7cb8016df3 Add examples Ginger Bill 2017-08-27 23:27:12 +01:00
  • cf3c5a878a export declarations Ginger Bill 2017-08-27 19:36:43 +01:00
  • 2d20bde495 Remove () grouping for foreign_library Ginger Bill 2017-08-27 19:24:30 +01:00
  • b9e347ef50 Replace import_load with using import . Ginger Bill 2017-08-27 17:03:27 +01:00
  • 6707c8750e Import cycle checking Ginger Bill 2017-08-27 14:42:19 +01:00
  • e5502c13ee Restrict global variables to not allow tuples Ginger Bill 2017-08-20 19:35:52 +01:00
  • f30d2e43ea Add priority_queue.cpp and ptr_set.cpp Ginger Bill 2017-08-20 18:39:09 +01:00
  • 6c73f9d3fd Global variable dependency initialization ordering Fuck graph theory Ginger Bill 2017-08-20 18:28:21 +01:00
  • 1161aa829d Fix mem.Arena Ginger Bill 2017-08-13 22:20:44 +01:00
  • 01519f2fd5 Fix push_allocator Ginger Bill 2017-08-13 22:09:26 +01:00
  • 33aad3a8ce Merge branch 'master' of https://github.com/gingerBill/Odin Ginger Bill 2017-08-12 20:04:58 +01:00
  • 4262c125c5 Fix struct #packed alignment calculation Ginger Bill 2017-08-12 20:04:35 +01:00
  • a09d5959ef Fix issues with OSX Ginger Bill 2017-08-11 12:47:07 +01:00
  • d7bd3f8402 Fix compilation issues on OSX Ginger Bill 2017-08-11 00:16:57 +01:00
  • 0fff6a2b74 Fix i128 division Ginger Bill 2017-08-10 23:46:12 +01:00
  • f4c0405221 Fix inline #raw_union bug in issue #87 Ginger Bill 2017-08-08 21:27:42 +01:00
  • 49d337c830 v0.6.2; Use Ada_Case for types v0.6.2 Ginger Bill 2017-08-03 21:21:56 +01:00
  • 294092979e Update build.bat Ginger Bill 2017-08-01 21:38:06 +01:00
  • c454ede184 v0.6.1a v0.6.1a Ginger Bill 2017-08-01 17:30:26 +01:00
  • d854c5003c Fix minor errors for *nix Ginger Bill 2017-08-01 17:28:49 +01:00
  • 66d8776b83 v0.6.1 v0.6.1 Ginger Bill 2017-08-01 15:18:37 +01:00
  • ba6ecf35cf Disable threading on *nix for the time being Ginger Bill 2017-08-01 15:09:43 +01:00
  • 10cc9cf661 Add mutexes to string buffer allocator uses Ginger Bill 2017-08-01 14:24:40 +01:00
  • 2db971eedd Use pthread mutex Ginger Bill 2017-08-01 13:49:12 +01:00
  • 1775e80b41 HACK: Ignore Mutex check Ginger Bill 2017-07-31 23:18:21 +01:00
  • e4a93619db Update gb.h Ginger Bill 2017-07-31 12:17:53 +01:00
  • 4d14b3bcb4 Update remove_temp_files Ginger Bill 2017-07-31 12:15:20 +01:00
  • 9f4f5f9346 Add -keep-temp-files option Ginger Bill 2017-07-31 12:06:04 +01:00
  • 0fae31fb54 Extra type safety; Fix typos Ginger Bill 2017-07-31 11:36:00 +01:00
  • 8987a6630c v0.6.0 v0.6.0 Ginger Bill 2017-07-30 22:26:22 +01:00
  • 10ff8e0426 Fix ir for TypeInfo.Map Ginger Bill 2017-07-30 20:17:25 +01:00
  • a0ae02168a Update add_type_info_type to ignore polymorphic types Ginger Bill 2017-07-30 20:13:23 +01:00
  • a3c1ac2030 Speed up llvm ir printing; Use CRITICAL_SECTION for Mutex on windows Ginger Bill 2017-07-30 19:47:37 +01:00
  • 629b248f53 Parallelization of the Parser ~66% reduction (unoptimized build) ~30% reduction (optimized build) Ginger Bill 2017-07-30 19:01:02 +01:00
  • 62a72f0163 transmute(type)x; Minor code clean up Ginger Bill 2017-07-30 14:52:42 +01:00
  • 655931f0ea Minor Simplification of threading demo Ginger Bill 2017-07-29 15:18:36 +01:00
  • ca36fabfc0 Remove dead code for the "fixed" map idea Ginger Bill 2017-07-29 14:43:42 +01:00
  • 7bd62481ad Fix nil assignment to unions Ginger Bill 2017-07-29 14:23:34 +01:00
  • fbd27d7c45 Fix map internal type generation Ginger Bill 2017-07-29 13:56:45 +01:00
  • 3546391311 Merge branch 'master' of https://github.com/gingerBill/Odin Ginger Bill 2017-07-29 13:01:28 +01:00
  • 24c812115e Remove empty union check on array types; Fix overflowing error printing Ginger Bill 2017-07-29 13:01:17 +01:00
  • 28be0ad69b Fix IR print bug for empty structs; gingerBill 2017-07-28 11:35:01 +01:00
  • f0980c0a98 Fix import name exportation bug; Fix procedure type printing gingerBill 2017-07-24 07:57:09 +01:00
  • 1df4aa90ce Fix struct parameter bugs Ginger Bill 2017-07-21 15:25:58 +01:00
  • 6b3cf051f8 Fix math.odin, again Ginger Bill 2017-07-21 12:39:05 +01:00
  • 4ecd6e592b Fix missing semicolons in math.odin Ginger Bill 2017-07-21 10:37:49 +01:00
  • dbddec33c8 Internal changes; thread.odin for windows only Ginger Bill 2017-07-20 23:57:56 +01:00
  • 401a5955a4 Fix minor check on vector types Ginger Bill 2017-07-20 19:55:54 +01:00
  • 9a3b4167bb Fix polymorphic element types usage; Empty union as opaque type Ginger Bill 2017-07-20 19:40:51 +01:00
  • 13bc6eeea4 Make fields et al an Array rather than a raw pointer Ginger Bill 2017-07-20 15:32:34 +01:00
  • 2da18b6d33 Change internals from Record to Struct Ginger Bill 2017-07-20 15:23:13 +01:00
  • 6d37ed12d2 Update internals of a Union and Tuple Ginger Bill 2017-07-20 15:17:04 +01:00
  • eab23cd5b7 Fix parsing bug with procedure types in return values Ginger Bill 2017-07-19 22:34:50 +01:00
  • d233706a2d Fix minor parsing bug with procedure return types Ginger Bill 2017-07-19 22:17:57 +01:00
  • f1ab17ed4e type_info_of; enum_value_to_string and string_to_enum_value Ginger Bill 2017-07-19 14:01:56 +01:00
  • 6113164211 Change union layout to store type info rather than an integer; ternary expression for types with constant condition Ginger Bill 2017-07-19 12:15:21 +01:00
  • 4db462a703 Fix copy Ginger Bill 2017-07-18 20:39:53 +01:00
  • a22c6d6c0c Fix parsing error for compound literals Ginger Bill 2017-07-18 19:57:30 +01:00
  • 59fb7b020a Merge raw_union into struct as a memory layout tag #raw_union Ginger Bill 2017-07-18 19:24:45 +01:00
  • 65f079ebc4 Remove atomic, ++, and -- Ginger Bill 2017-07-18 18:58:41 +01:00
  • d16aa79492 General specialization for polymorphic parameters Ginger Bill 2017-07-18 18:05:41 +01:00
  • 5af0acc4af Disallow default struct values for any; new_clone Ginger Bill 2017-07-18 16:02:01 +01:00
  • a459364de3 Ignore missing default values for struct literals at the end Ginger Bill 2017-07-18 15:32:34 +01:00
  • 277ef1a68f Allow undefined --- as a struct field default value. Ginger Bill 2017-07-18 15:09:24 +01:00
  • 193c7c82c8 Default struct field values Ginger Bill 2017-07-18 14:56:07 +01:00
  • f7d8ba408c Fix some preload bugs. Ginger Bill 2017-07-18 11:42:16 +01:00
  • 9a8759efef Polymorphic type specialization for procedures Ginger Bill 2017-07-17 15:08:36 +01:00
  • 054948e701 Basic procedure type parameter specialization Ginger Bill 2017-07-16 15:00:16 +01:00
  • 1c5ddd65b4 Rudimentary support for parametric polymorphic types Ginger Bill 2017-07-13 22:35:00 +01:00
  • b8697fb4ed Change precedence order for types e.g. ^T(x) == ^(T(x)) Ginger Bill 2017-07-13 16:20:07 +01:00
  • 03570275c1 Fix issue #78 and have a better error message. Ginger Bill 2017-07-13 11:35:01 +01:00
  • b5587f1937 Fix aliasing of overloaded procedures from other scopes Ginger Bill 2017-07-11 20:54:38 +01:00
  • c4c6975f1b cast(Type)expr; Fix overloaded procedure determination on assignment Ginger Bill 2017-07-11 14:40:27 +01:00
  • 0be0fb2a57 Nested when statements within records Ginger Bill 2017-07-10 23:47:22 +01:00
  • 115e6e7f9e Update demo for both subtyping and union based Entity Ginger Bill 2017-07-10 23:28:53 +01:00
  • 3868a9a0f0 Clean up _preload.odin types Ginger Bill 2017-07-10 23:15:41 +01:00
  • ba5050ac7c Compiler Internal Changes: TypeRecord_Union -> Type_Union Ginger Bill 2017-07-10 22:59:23 +01:00
  • d936ca1ea0 Compiler internal change: TypeRecord_Enum -> Type_Enum Ginger Bill 2017-07-10 22:42:58 +01:00
  • fd8c4d58bb union type allow for any types and removes common fields Ginger Bill 2017-07-10 22:32:21 +01:00
  • ce4b7b8b7d Nested record declarations Ginger Bill 2017-07-10 20:39:42 +01:00
  • 069a47220e Make record semicolon syntax more consistent Ginger Bill 2017-07-10 14:52:58 +01:00
  • 66e4aaffc5 Use semicolons as field delimiters in records Ginger Bill 2017-07-10 13:49:50 +01:00
  • 81336b58cb "Fix" printing of embedded any to prevent recursion Ginger Bill 2017-07-10 10:37:51 +01:00
  • b201670f7a Fix _preload.odin; Add for in without parameters; Change sync.Mutex for windows Ginger Bill 2017-07-08 23:13:57 +01:00
  • 4b051a0d3b .. half closed range; ... open range; ... variadic syntax Ginger Bill 2017-07-07 23:42:43 +01:00
  • 45353465a6 Add sort.odin Ginger Bill 2017-07-07 22:26:55 +01:00
  • c63cb98019 Fix else do Ginger Bill 2017-07-07 17:50:45 +01:00