Commit Graph

  • 642aa0bc4b Refactor: use CheckerContext rather than Checker in type checking part gingerBill 2018-05-28 15:57:53 +01:00
  • 45b3067068 Remove tmp_allocator from Checker gingerBill 2018-05-28 14:15:08 +01:00
  • b7858a66b9 Parallelize per file rather than per package gingerBill 2018-05-28 12:06:50 +01:00
  • 4e203feaf4 Change import lookup gingerBill 2018-05-27 23:46:08 +01:00
  • a513b47780 Remove unused packages gingerBill 2018-05-27 23:33:10 +01:00
  • 547a2831c7 Clean up name mangling by using unique package names per project gingerBill 2018-05-27 22:09:11 +01:00
  • 5c52ffe24e Reorganize runtime package gingerBill 2018-05-27 21:22:25 +01:00
  • a5763d6fee Err on empty directory packages gingerBill 2018-05-27 14:12:10 +01:00
  • 95482c554d Fix build.bat gingerBill 2018-05-27 13:53:46 +01:00
  • 10758710d4 Fix demo.odin gingerBill 2018-05-27 13:53:19 +01:00
  • 86cf9383ea Fix delayed assert collection gingerBill 2018-05-27 13:49:55 +01:00
  • 307977d4cf Remove dead code gingerBill 2018-05-27 13:30:18 +01:00
  • 1beff539d7 Single file "main" file gingerBill 2018-05-27 13:22:24 +01:00
  • df578d6ec5 Allow for either .odin file or directory as the initial start gingerBill 2018-05-27 11:40:27 +01:00
  • 6aae381e83 Move ODIN_* platform constants to core:os gingerBill 2018-05-27 11:03:46 +01:00
  • 7ee9051a56 IR now builds with the new package system gingerBill 2018-05-27 10:49:14 +01:00
  • eb11edabe0 Add file scopes for the packages gingerBill 2018-05-27 00:10:38 +01:00
  • c067b90403 Add basic package support (no IR support yet) gingerBill 2018-05-26 23:12:55 +01:00
  • 5b6770f3d2 Parse directories to be packages gingerBill 2018-05-21 20:47:52 +01:00
  • 718b80ba39 Fix demo for removing default struct values gingerBill 2018-05-20 17:39:49 +01:00
  • 4d052d5119 Remove code relating to default struct values gingerBill 2018-05-20 17:31:46 +01:00
  • 7e4c643401 Disable default struct field values; Update README.md gingerBill 2018-05-20 16:00:39 +01:00
  • e920338f21 Remove old dependency gingerBill 2018-05-20 08:58:48 +01:00
  • af2048570c Merge pull request #222 from shuaDev/master gingerBill 2018-05-17 10:33:23 +01:00
  • 1ee4f849cb now return 1 if there were errors Joshua Mark Manton 2018-05-17 02:08:04 -07:00
  • 703393fc63 whitespace Joshua Mark Manton 2018-05-16 23:08:01 -07:00
  • 81420ab246 removed unneeded block Joshua Mark Manton 2018-05-16 23:07:27 -07:00
  • c94d19718b added compiler command for only parsing and typechecking Joshua Mark Manton 2018-05-16 23:03:05 -07:00
  • e25c72ecdd Fix #219 and #220 gingerBill 2018-05-14 17:05:52 +01:00
  • 780b81a59f Allow for NO_DEFAULT_STRUCT_VALUES (will decide later if I want them or not) gingerBill 2018-05-13 21:09:49 +01:00
  • 9f1dda701d Comment out test gingerBill 2018-05-13 18:43:21 +01:00
  • e597a8d72e Fix issues with exact integer bounds and remove dead code gingerBill 2018-05-13 17:38:35 +01:00
  • de9a4b5164 Disable pointer arithmetic gingerBill 2018-05-13 16:10:02 +01:00
  • 319aca3101 Merge pull request #218 from hasenj/osx-timing gingerBill 2018-05-13 11:45:05 +01:00
  • 9dc2c01aaa Fix timing on macos Hasen Judy 2018-05-13 19:33:08 +09:00
  • 6164672421 Change FreeAll to Free_All gingerBill 2018-05-13 10:14:32 +01:00
  • 61906613b0 Add typeid to Type_Info struct gingerBill 2018-05-13 10:09:21 +01:00
  • 3b48fa8e7d Fix default initialized values for globals (#217) gingerBill 2018-05-12 21:22:39 +01:00
  • 324b7d65e7 Use __type_info_of internally gingerBill 2018-05-12 20:17:12 +01:00
  • 373a60b9ef type_info_of allows typeid; typeid_of allows ^Type_Info; Otherwise only allow type gingerBill 2018-05-12 19:54:16 +01:00
  • 2ef22e86e0 Make any use typeid rather than ^Type_Info gingerBill 2018-05-12 18:40:49 +01:00
  • 830f4f540f typeid gingerBill 2018-05-12 17:39:04 +01:00
  • 56ff5496bc Minimal Type Info Dependency handling gingerBill 2018-05-12 16:53:44 +01:00
  • 20fbece14c Change semantics for distinctness for pointers, arrays, dynamic arrays, and maps. gingerBill 2018-05-12 10:47:32 +01:00
  • 9fbfd86cde Add log to math.odin gingerBill 2018-05-12 10:46:00 +01:00
  • 7547bc66cf Complete remove all non required preload stuff from min dep and only use what is used. gingerBill 2018-05-12 10:38:40 +01:00
  • 18a9fa7355 Improve minimal dependency system gingerBill 2018-05-12 10:27:55 +01:00
  • b32af841c5 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2018-05-06 15:31:32 +01:00
  • 66b4252931 Fix #210 gingerBill 2018-05-06 15:31:18 +01:00
  • 2c95eaa418 Merge pull request #216 from lunaticLipid/master gingerBill 2018-05-02 19:40:59 +01:00
  • 7382f52dc9 Fix copy-and-forget in math.odin Lipid 2018-05-02 18:01:15 +02:00
  • 49dd299999 Merge pull request #204 from ThisDrunkDane/master gingerBill 2018-04-14 19:45:00 +01:00
  • e391b05513 Merge branch 'master' of github.com:ThisDrunkDane/Odin Mikkel Hjortshoej 2018-04-13 22:39:17 +02:00
  • 2de62910fc Added more function to windows.odin Mikkel Hjortshoej 2018-03-21 19:30:27 +01:00
  • fc77b5b4ac Try to fix internal compiler error in #208 gingerBill 2018-04-10 21:03:51 +01:00
  • a83d916fad Fix immutable context to any assignment #214 gingerBill 2018-04-10 20:51:44 +01:00
  • e71a641379 Fix internal compiler error trigger for issue #212 gingerBill 2018-04-10 20:46:32 +01:00
  • e2eca45188 Fix race condition caused by parallelized parser: #211 gingerBill 2018-04-10 20:35:05 +01:00
  • 4d78540658 Fix #210 gingerBill 2018-04-10 20:20:33 +01:00
  • b83c3f265b Fix #209 #assert bug gingerBill 2018-04-10 20:18:16 +01:00
  • 30f5a3bb93 Move cycle checking to much earlier on in the semantic stage gingerBill 2018-03-23 20:48:30 +00:00
  • 2e1e1e6034 Type caching gingerBill 2018-03-23 16:35:41 +00:00
  • 991479fbf9 Remove allocator parameter to types.cpp functions gingerBill 2018-03-23 16:01:23 +00:00
  • 5660f98cc3 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2018-03-23 15:23:31 +00:00
  • 5bf0f9d630 Fix type cycle bug gingerBill 2018-03-23 15:23:14 +00:00
  • 15b72119eb Added more function to windows.odin Mikkel Hjortshoej 2018-03-21 19:30:27 +01:00
  • dc30e7a200 Merge pull request #201 from nakst/master gingerBill 2018-03-11 20:52:58 +00:00
  • db2293144a update essence bindings Nakst 2018-03-10 21:33:59 +00:00
  • 5016f45429 Merge pull request #200 from nakst/master gingerBill 2018-03-10 20:50:46 +00:00
  • 9fa4aa40b7 fix compile warnings on linux Nakst 2018-03-10 20:29:43 +00:00
  • 52f60c706a Merge pull request #199 from ThisDrunkDane/resource gingerBill 2018-03-10 13:42:25 +00:00
  • fff4ead96a Fix gb_alloc_str_len gingerBill 2018-03-07 20:36:15 +00:00
  • 3574341b6b Missing .rc error message Mikkel Hjortshoej 2018-03-05 13:10:01 +01:00
  • cbabc80d92 Calls rc.exe if -resource specified Mikkel Hjortshoej 2018-03-05 11:46:50 +01:00
  • f4cf88c2ca Move os_*.odin files to os/ gingerBill 2018-03-04 11:38:49 +00:00
  • 6db95b554f __args__: []cstring gingerBill 2018-03-04 11:25:23 +00:00
  • 105de7705a Add unselector_expr gingerBill 2018-03-04 11:06:59 +00:00
  • 584dffea14 Remove dead code; fix referencing of a type assertion in a selector expression gingerBill 2018-03-04 09:25:02 +00:00
  • 41b6d215bb Fix using determination order gingerBill 2018-03-03 20:07:12 +00:00
  • 9274f29ca9 deprecated attribute for procedure declarations gingerBill 2018-03-03 11:16:48 +00:00
  • 08c87e57f8 Remove cwd in odin run for Linux gingerBill 2018-03-03 10:26:25 +00:00
  • b21cdd5037 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2018-03-03 10:25:13 +00:00
  • 63ab8b2418 Make irGen.output_base use full path rather than relative gingerBill 2018-03-03 10:23:27 +00:00
  • cb7a343caf Fixed '_alloc_command_line_arguments()' in os_linux.odin to use the new cstrings, and made 'odin run' use the full executable path. Morten Vassvik 2018-03-01 12:58:57 +01:00
  • 40542e6e26 Fix comparison against nil for cstring gingerBill 2018-02-28 12:01:26 +00:00
  • 9da05dd4cb Update core library with cstring gingerBill 2018-02-28 11:44:41 +00:00
  • ae9da0abfb Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2018-02-28 11:20:31 +00:00
  • d3ea334e7a cstring gingerBill 2018-02-28 11:20:11 +00:00
  • d76132a3fb Merge pull request #198 from ThisDrunkDane/terminate_thread gingerBill 2018-02-26 10:06:08 +00:00
  • 223c473cf6 Demo fix gingerBill 2018-02-25 20:57:34 +00:00
  • fd57cfa1ae Fix build_settings.cpp gingerBill 2018-02-25 20:52:06 +00:00
  • f23bd2dc27 Revert demo gingerBill 2018-02-25 20:46:32 +00:00
  • 69062ba3ab More code tidying with Array gingerBill 2018-02-25 20:24:38 +00:00
  • e75563cb32 Minor code rearrangement gingerBill 2018-02-25 19:42:12 +00:00
  • d63885a495 array_make gingerBill 2018-02-25 19:23:52 +00:00
  • f28a34fa99 Use Array<irValue *> in ir.cpp gingerBill 2018-02-25 15:31:00 +00:00
  • a1e8de4e00 Fix ir_emit_slice_bounds_check gingerBill 2018-02-25 15:11:20 +00:00
  • d247ba4751 Hexadecimal floats for "perfect values" 0h42f60000 == 123; use bit_cast in compiler gingerBill 2018-02-25 15:09:16 +00:00
  • 27b7dc336a Change parsing for floats and disallow x.0 gingerBill 2018-02-25 14:36:41 +00:00
  • 60a7c68aa6 Minor code reorganization gingerBill 2018-02-25 14:23:45 +00:00