Commit Graph

  • 4d9d38cc28 Move TypeAndValue to Ast from Map gingerBill 2018-06-17 16:35:22 +01:00
  • 5b71ffd4f9 Rename clone_ast_node to clone_ast gingerBill 2018-06-17 11:03:26 +01:00
  • c2ca24a486 Big renaming: AstNode to Ast gingerBill 2018-06-17 10:58:59 +01:00
  • e5aff6fd6d Minimize AstNode size gingerBill 2018-06-17 10:48:50 +01:00
  • 3eb8aa8268 Modify CommentGroup parsing gingerBill 2018-06-17 10:29:20 +01:00
  • 6d1c32eb77 Add escape code for ESC \e gingerBill 2018-06-15 23:13:26 +01:00
  • ba776a3c9f Fix bitwise not for signed integers gingerBill 2018-06-15 23:01:12 +01:00
  • cd7e260f4e Fix cyclic polymorphic procedure usage and improve its error message gingerBill 2018-06-15 22:49:06 +01:00
  • ba67e474d3 Make source code compile with 32 bit (but not build 32 bit code) gingerBill 2018-06-15 21:46:03 +01:00
  • b92a8c513e Modify how build settings are handled gingerBill 2018-06-15 21:38:22 +01:00
  • 13572aeef0 Fix gb.h gingerBill 2018-06-15 20:26:39 +01:00
  • 5081ea1a0c Fix type aliasing comparison; Fix gb_utf8_decode gingerBill 2018-06-15 19:59:35 +01:00
  • e9e7ce2606 Allow .allocator for dynamic arrays; Add mem.Pool gingerBill 2018-06-12 19:10:14 +01:00
  • 915dcb0c28 Fix min dependency check gingerBill 2018-06-11 22:57:40 +01:00
  • 8236c6d4b7 Allow for base enum type with an enum declaration gingerBill 2018-06-11 22:50:13 +01:00
  • 555fe37ad8 Remove the need for a look ahead gingerBill 2018-06-11 18:06:58 +01:00
  • 881f667558 Change how context <- is parsed to remove the need for a look-ahead gingerBill 2018-06-11 18:02:04 +01:00
  • 0a99595efe Remove using in stuff gingerBill 2018-06-11 17:34:57 +01:00
  • 268491b224 Use global arena for AstNode allocations gingerBill 2018-06-09 19:53:06 +01:00
  • 49ea9ed722 Entity aliasing clean up gingerBill 2018-06-09 10:08:17 +01:00
  • d7108416c9 Remove dead code gingerBill 2018-06-07 23:52:13 +01:00
  • b136630856 Fix type info generation for empty structs gingerBill 2018-06-07 23:24:37 +01:00
  • fa6f31186a Merge pull request #228 from shuaDev/shwadev-packages gingerBill 2018-06-03 21:09:57 +01:00
  • b027b1d60f Fix min type info for polymorphic procedures and named types gingerBill 2018-06-03 21:09:08 +01:00
  • 7ed1d931cb fix quick_sort_proc calling quick_sort instead of recursively calling itself Joshua Mark Manton 2018-06-03 11:27:57 -07:00
  • 2570296b01 fix core opengl ODIN_OS reference and pointer math stuff Joshua Mark Manton 2018-06-03 11:25:46 -07:00
  • f0a4526250 Fix alloc.odin using old raw file Joshua Mark Manton 2018-06-03 11:22:42 -07:00
  • c39332c7e7 Revert name mangling gingerBill 2018-06-03 19:18:47 +01:00
  • 3f4b6b22dc Change our IR name mangling rules gingerBill 2018-06-03 17:55:13 +01:00
  • e0549df03e Fix minor possible issue gingerBill 2018-06-03 17:44:10 +01:00
  • e46662a546 Rename os.default_allocator to os.heap_allocator gingerBill 2018-06-03 16:40:58 +01:00
  • 360a74e2fe Merge pull request #226 from BrettRToomey/packages gingerBill 2018-06-03 16:35:43 +01:00
  • 597c4591bc Merge branch 'packages' of github.com:odin-lang/Odin into packages Brett R. Toomey 2018-06-03 17:13:11 +02:00
  • 80833ed703 Dsymutil fixes for macOS Brett R. Toomey 2018-06-03 17:12:30 +02:00
  • 106302189c Use gbString for opt_flags gingerBill 2018-06-03 16:09:24 +01:00
  • 05c5f98e8e Add -debug-compile parameter for llc gingerBill 2018-06-03 15:55:14 +01:00
  • d556fa2cd8 Remove special shared scope for runtime stuff gingerBill 2018-06-03 15:06:40 +01:00
  • 9bd7f023b2 Split up init_preload into specific parts gingerBill 2018-06-03 11:38:02 +01:00
  • 398109ac84 Remove need for __llvm_core gingerBill 2018-06-03 10:51:43 +01:00
  • 12b870ba66 Use const & for Array<AstNode *> parameters gingerBill 2018-06-03 10:30:31 +01:00
  • 6202fb8373 Re-allow when statements at the file scope gingerBill 2018-06-02 19:44:34 +01:00
  • ced818ad54 Remove dead code from checker gingerBill 2018-06-02 11:58:35 +01:00
  • ccbb6df749 Handle multiple +build package tags with '!' (nots) gingerBill 2018-05-28 21:25:08 +01:00
  • 6eb505a677 Comment based build tags for packages (basic and temporary) gingerBill 2018-05-28 20:59:06 +01:00
  • 619783ca1b Remove clutter parameters and begin parallelizing the type checker gingerBill 2018-05-28 18:46:39 +01:00
  • 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