Commit Graph

  • e5e14b9947 Remove name mangling for foreign export variables gingerBill 2017-10-15 16:11:34 +01:00
  • 3d8bf36a30 foreign export block `` foreign export { my_i32: i32; my_foo :: proc() -> i32 { return 123; } } `` gingerBill 2017-10-15 16:05:42 +01:00
  • 85f7c2d040 Change foreign_library to foreign import gingerBill 2017-10-15 15:21:56 +01:00
  • 26ea8f6dcb Syntax: Replace foreign_system_library "kernel.lib" to foreign_library "system:kernel.lib"; Remove keyword: foreign_system_library gingerBill 2017-10-15 12:11:33 +01:00
  • e05fe1837d Fix minimal dependency generation for polymorphic structs (related to issue #121) gingerBill 2017-10-15 11:21:48 +01:00
  • 94762b56f6 Fix issue #122 gingerBill 2017-10-15 10:14:17 +01:00
  • b3b688fa50 Fix issue #123 gingerBill 2017-10-15 10:09:50 +01:00
  • 5eaa8de8f9 Fix issue with #118 Ginger Bill 2017-10-12 21:01:16 +01:00
  • 26d3c54aff Fix issue #119 This may need better error messages Ginger Bill 2017-10-12 20:52:19 +01:00
  • 349a62121c Fix issue #120 Ginger Bill 2017-10-12 20:32:44 +01:00
  • bbb0e14633 Fix using import to work correctly Ginger Bill 2017-10-12 20:28:32 +01:00
  • 42312d9def Fix typos in c.odin Ginger Bill 2017-10-10 23:43:31 +01:00
  • 065d0e4ee3 Fix string_to_enum_value Ginger Bill 2017-10-09 22:56:48 +01:00
  • b772ad7094 Fix issue #116 Ginger Bill 2017-10-09 17:58:12 +01:00
  • 444d366c39 Fix issue #115 Ginger Bill 2017-10-09 17:56:26 +01:00
  • 8e4233b86a Correct union size Ginger Bill 2017-10-08 15:19:01 +01:00
  • 6424966b7a Union tag stored as an integer Ginger Bill 2017-10-08 15:16:13 +01:00
  • 4e42d7df43 Minor code reorganization Ginger Bill 2017-10-08 12:27:03 +01:00
  • 580ee5cc4a Fix using on import names Ginger Bill 2017-10-08 11:08:15 +01:00
  • 56a98a483f Better error messages for import cycles Ginger Bill 2017-10-08 10:58:16 +01:00
  • df7a4eda8a Allow for cyclic import but disallow cyclic using import and export Ginger Bill 2017-10-07 11:37:43 +01:00
  • 91cc0b282a Fix issue #114 Ginger Bill 2017-10-04 18:57:27 +01:00
  • 01d8aea4df Disallow procedures literals as default values in anonymous struct types Ginger Bill 2017-10-01 21:44:55 +01:00
  • ee904060c5 Disallow anonymous structs with procedures as default values Ginger Bill 2017-10-01 21:22:39 +01:00
  • afb5538e83 Default procedure values for proc Ginger Bill 2017-10-01 20:27:02 +01:00
  • 1f24f105cc "Constant" procedure values for default values in structs Ginger Bill 2017-10-01 20:10:13 +01:00
  • 8f39ebbe5a Procedure literals for default values in structs Ginger Bill 2017-10-01 20:01:00 +01:00
  • c1e720a49b match to switch; Optional semicolons after "import" statements Ginger Bill 2017-10-01 17:09:57 +01:00
  • f38c8875b2 Fix issue #104 Ginger Bill 2017-10-01 14:29:54 +01:00
  • e7e51f53ce Fix cyclic polymorphic struct bug #111 Ginger Bill 2017-10-01 14:10:31 +01:00
  • 5259de5872 Reserve the link_name main Ginger Bill 2017-09-30 11:28:17 +01:00
  • e2b9c87aa8 Wrap entry point main around the C style main in the IR Ginger Bill 2017-09-30 11:20:35 +01:00
  • 8c7cf0dbb0 Fix union array bug (Issue #112) Ginger Bill 2017-09-29 21:35:59 +01:00
  • e6e9375b09 Remove http_test.odin Ginger Bill 2017-09-29 21:20:39 +01:00
  • c6096f9205 Revert to demo.odin Ginger Bill 2017-09-29 21:11:51 +01:00
  • 11614c2649 Fix old_demos; Fix when bug; Fix enum .names Ginger Bill 2017-09-29 21:11:16 +01:00
  • 793bc8c585 Fix issue #89 Ginger Bill 2017-09-25 23:08:22 +01:00
  • 335e88b738 Fix issue #106 Ginger Bill 2017-09-25 23:06:04 +01:00
  • b77ea94976 Fix issue #108 Ginger Bill 2017-09-25 22:59:59 +01:00
  • ae17a51c0d Fix issue #109 Ginger Bill 2017-09-25 22:53:59 +01:00
  • ee7a83f124 Merge pull request #110 from ThisDrunkDane/invalid-token-print-pos gingerBill 2017-09-25 22:51:41 +01:00
  • 67ac551a2f The position that the invalid token was found at is printed Mikkel Hjortshoej 2017-09-25 21:42:02 +02:00
  • 572ac616c1 Prevent statements after branch statements. Ginger Bill 2017-09-24 14:58:15 +01:00
  • 96bf6a5bcb Fix cyclic importation error printing Ginger Bill 2017-09-23 20:47:02 +01:00
  • c43d66c286 Use comma for struct field separators (disallow nesting) Ginger Bill 2017-09-21 23:18:28 +01:00
  • 95fb5fa46c Fix #export proc tag Ginger Bill 2017-09-21 22:32:24 +01:00
  • d614913c11 Fix decimal.odin, again Ginger Bill 2017-09-20 23:17:33 +01:00
  • 3bfaac0844 Fix decimal.odin assignment bug Ginger Bill 2017-09-20 22:59:46 +01:00
  • 14d0cbf6d7 Fix load order of files (again) Ginger Bill 2017-09-20 21:42:42 +01:00
  • 61a163d773 Fix crash with build_dll (Issue #100) Ginger Bill 2017-09-20 21:00:40 +01:00
  • 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