Commit Graph

  • e48346a9ee Disable negation of unsigned constants (Issue: #145) gingerBill 2017-11-15 21:25:16 +00:00
  • 9bd8bdaa5a Disable all cyclic importations gingerBill 2017-11-13 23:53:01 +00:00
  • a137699d95 Add optional truncate parameter to write_entire_file (#144) gingerBill 2017-11-13 20:35:21 +00:00
  • f6a56c2f82 Remove #const; Minor fixes gingerBill 2017-11-12 20:15:17 +00:00
  • dffa791607 In error messages, remove with '; Fix error messages for switch` gingerBill 2017-11-12 19:00:48 +00:00
  • 5ce6555721 Allow for default arguments after a variadic parameter gingerBill 2017-11-12 17:55:16 +00:00
  • 53b3ad186f Fix untyped type IR bug gingerBill 2017-11-10 22:37:38 +00:00
  • 82c1c5b3fe Merge pull request #142 from zangent/master gingerBill 2017-11-10 22:14:40 +00:00
  • 6d880bc3bb Added static linking for macOS. Also fixed the build.sh. Thanks, vass :/ Zachary Pierson 2017-11-10 16:11:55 -06:00
  • 40281d595d Fix parsing errors for variadic signatures gingerBill 2017-11-10 22:03:05 +00:00
  • 85fab55e57 Fix make gingerBill 2017-11-10 21:43:37 +00:00
  • 1d2eb8055e Merge pull request #140 from vassvik/master gingerBill 2017-11-10 21:17:16 +00:00
  • 9e0b69312b Fixed foreign import for linux. Modified .gitignore to ignore temp files and files in shared/. Added a Makefile for linux vassvik 2017-11-10 21:31:13 +01:00
  • bbddbba340 Fix cast to uintptr gingerBill 2017-11-10 18:56:47 +00:00
  • 0d01a6f552 Fix issue #139 gingerBill 2017-11-10 18:24:49 +00:00
  • ae3672608d Fix link_name overriding gingerBill 2017-11-09 23:36:10 +00:00
  • e5c39fb2a9 Fix opening file without close; Minor fixes gingerBill 2017-11-09 22:58:44 +00:00
  • eb4b3f5976 Change push allocator system; update core libraries gingerBill 2017-11-09 22:48:00 +00:00
  • dbb070524f Allow nil in a ternary statement gingerBill 2017-11-09 21:10:08 +00:00
  • 36b0b50ba4 Amend allocation procedures with caller location; Compound literals missing type can determine type in certain cases. gingerBill 2017-11-09 20:51:13 +00:00
  • ac46b2053d Remove unnecessary IR bound checks gingerBill 2017-11-08 22:14:07 +00:00
  • 0ffcccdae5 Add Source_Code_Location parameter Allocator_Proc (#138) gingerBill 2017-11-08 22:05:51 +00:00
  • 4777bd607e Fix issue #137 gingerBill 2017-11-08 22:02:15 +00:00
  • 39e9b50482 Remove debug code gingerBill 2017-11-07 23:09:05 +00:00
  • 30adb9c770 Fix issue #134 gingerBill 2017-11-07 23:05:39 +00:00
  • b1d1497f4b Fix array of array arithmetic gingerBill 2017-11-07 23:02:53 +00:00
  • 9df3a94d33 Fix cyclic type checking bug gingerBill 2017-11-05 23:38:09 +00:00
  • d4f335d068 Fix fmt.odin %#v fancy printing gingerBill 2017-11-05 19:47:18 +00:00
  • 74341b9b74 Fix IR generation issue gingerBill 2017-11-05 19:37:46 +00:00
  • 66ee2cb6ed #const value procedure parameters; $N for polymorphic array lengths gingerBill 2017-11-05 18:26:24 +00:00
  • 1d4881cbbe Add array programming gingerBill 2017-11-05 14:22:18 +00:00
  • 04b917a60a More code clean up gingerBill 2017-11-04 10:53:47 +00:00
  • e6c99cd289 Cleanup attribute handling gingerBill 2017-11-04 10:26:56 +00:00
  • 6bc5584add Fix fmt printing uintptr type gingerBill 2017-11-04 00:16:54 +00:00
  • 121f0185d6 Custom thread local models gingerBill 2017-11-03 23:46:42 +00:00
  • e7999f8450 Foreign context cleanup gingerBill 2017-11-03 23:20:30 +00:00
  • 0b29e42adb link_prefix; thread_local; fix link_name for file-scope variables gingerBill 2017-11-03 23:11:06 +00:00
  • fcc8b89e6b Fix issue #130; allow conversion from any pointer to uintptr and vice versa gingerBill 2017-11-02 22:34:09 +00:00
  • 529d1c78c7 Fix issue #131 gingerBill 2017-11-02 22:30:12 +00:00
  • 414486829a Add string_set.cpp; Code clean up gingerBill 2017-10-30 20:26:05 +00:00
  • 3e05be8eb8 @(default_calling_convention = ...) for foreign blocks gingerBill 2017-10-29 18:09:05 +00:00
  • ae24a8e5ae Fix pointer arithmetic; remove suffix #tags for proc types gingerBill 2017-10-29 17:00:54 +00:00
  • d2588f9d1d Infix proc calling convention proc "std" (...) gingerBill 2017-10-29 16:44:44 +00:00
  • 1eb9994d88 Attributes; @(link_name="foo") gingerBill 2017-10-29 15:46:23 +00:00
  • a43b89f36e #alias type declarations; core library additions; _global import name for the global scope gingerBill 2017-10-29 11:35:21 +00:00
  • 0ed34af19d Fix importation of empty file (issue #128) gingerBill 2017-10-18 22:52:42 +01:00
  • 71729c2855 Add anonymous using import names with an underscore (#127) using import _ "foo.odin" gingerBill 2017-10-18 22:29:14 +01:00
  • 6c8c430c2a Fix enum iteration (issue #126) gingerBill 2017-10-18 22:26:04 +01:00
  • 57b97ad0bd Fix issue #124 gingerBill 2017-10-15 23:30:55 +01:00
  • 56f7a859df Refactor code to remove entity flag for export gingerBill 2017-10-15 16:16:16 +01:00
  • 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