Commit Graph

  • 91b534d128 Fix transmute gingerBill 2017-11-27 23:00:23 +00:00
  • 3268f43340 Update ABI for basic types gingerBill 2017-11-27 20:37:09 +00:00
  • 05e374934d Change proc ABI for Odin specific types gingerBill 2017-11-27 20:18:06 +00:00
  • 3e1ff0ec67 Update fmt for runes; Add strings.contains_rune gingerBill 2017-11-26 23:54:23 +00:00
  • 65945dac09 Fix comparison against nil for slices gingerBill 2017-11-26 22:49:31 +00:00
  • 1608da2dc8 for key, val in some_map {}; for val, idx in some_array {} gingerBill 2017-11-26 18:56:47 +00:00
  • c340827381 Remove old slice procedures gingerBill 2017-11-26 18:38:46 +00:00
  • 74fa7ca25d New slice memory layout (ptr+len); byte gingerBill 2017-11-26 18:36:46 +00:00
  • 5a9223afda nil_allocator; Fix IR type checking assert; append_string gingerBill 2017-11-26 15:25:45 +00:00
  • febcd73323 Fix merge from essence cross compile #154 gingerBill 2017-11-26 11:11:29 +00:00
  • df06236076 Merge pull request #154 from nakst/master gingerBill 2017-11-26 11:10:13 +00:00
  • b0d3fbba47 essence cross compile Nakst 2017-11-26 11:03:11 +00:00
  • adb6c7637e Fix 'fallthrough' gingerBill 2017-11-25 11:16:23 +00:00
  • 425f83b17d Merge pull request #150 from zangent/master gingerBill 2017-11-21 22:33:39 +00:00
  • 976415ff9d Fix key lookup of pointer to map gingerBill 2017-11-21 22:32:41 +00:00
  • 4d7fb3e8d6 Changed string_has_extension to string_ends_with. Fixed macOS target triple. Zachary Pierson 2017-11-21 16:16:53 -06:00
  • bcca3bf322 Remove target triple from windows gingerBill 2017-11-19 16:55:24 +00:00
  • 74aaa3408f Fix debug symbol generation gingerBill 2017-11-19 16:45:12 +00:00
  • 2a5beee88c Remove /SYMBOLS flag gingerBill 2017-11-19 15:11:07 +00:00
  • cec9f7abfe Add -debug command (still in development) gingerBill 2017-11-19 15:06:56 +00:00
  • 284a9cd4c3 Update usage text v0.7.1 gingerBill 2017-11-19 09:57:37 +00:00
  • 5955c101d4 Update version gingerBill 2017-11-19 09:56:51 +00:00
  • f80b910ba3 Set version number to v0.7.1 gingerBill 2017-11-19 09:50:22 +00:00
  • 2b0521347b Begin with on debugging symbol; fix version number 0.7.0 gingerBill 2017-11-19 09:49:55 +00:00
  • 0c06a8d154 Fix issue #146 regarding polymorphic type parameters v0.7.0 gingerBill 2017-11-18 20:56:53 +00:00
  • b0e3a4e276 build_dll replace with -build-mode=dll gingerBill 2017-11-17 20:21:58 +00:00
  • b651466630 Add ptr_to_bytes gingerBill 2017-11-16 19:01:57 +00:00
  • 24c09c9201 Allow for printf style assert and panic gingerBill 2017-11-16 18:57:03 +00:00
  • 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