Commit Graph

  • 3928614326 Merge pull request #241 from thebirk/fix-sh-main-not-found gingerBill 2018-08-08 22:41:42 +01:00
  • 5e5f5bfa8d Fixed 'sh: main: command not found' error on linux. thebirk 2018-08-08 17:48:17 +02:00
  • 3a1a7b40f9 Add runtime messages for make for the len/cap parameters gingerBill 2018-08-07 12:10:36 +01:00
  • 835d7dcab2 make as a user-level procedure rather than a built-in procedure gingerBill 2018-08-07 11:36:18 +01:00
  • 28816dc491 Fix parenthesis warning on clang gingerBill 2018-08-07 10:45:58 +01:00
  • ccdc3438be Refactor handle_parameter_value code gingerBill 2018-08-06 00:26:38 +01:00
  • 60711dd355 Refactor default parameter values gingerBill 2018-08-05 23:57:34 +01:00
  • fad3947e26 Add *with_allocator procedures to mem gingerBill 2018-08-05 23:40:19 +01:00
  • d8e5b2d1a4 Fix cstring cast operation gingerBill 2018-08-05 19:07:03 +01:00
  • 2d26ad0226 Remove opengl package gingerBill 2018-08-05 19:01:15 +01:00
  • 45d3c6c0d3 Fix cstring to string conversion gingerBill 2018-08-05 18:58:35 +01:00
  • c6bffd7c35 Change build.bat to use release_mode=1 by default gingerBill 2018-08-05 10:37:09 +01:00
  • 462d81430c Fix map runtime issue regarding erasing a key gingerBill 2018-08-05 10:31:20 +01:00
  • d3cada5bd6 Change rules for how context and defer interact gingerBill 2018-08-04 23:46:46 +01:00
  • cdbf831a7a Replace context <- c {} with context = c;. context assignments are scope based gingerBill 2018-08-04 23:14:55 +01:00
  • 0718f14774 Reduce number of range and slice operators #239 Replace .. and ... with : and .. gingerBill 2018-08-01 21:34:59 +01:00
  • a6fe656f21 foreign import x {"foo.lib", "bar.lib"} gingerBill 2018-07-29 20:56:09 +01:00
  • dc5da7933a Add older demos gingerBill 2018-07-29 11:36:24 +01:00
  • 96fc9138d4 Do using Foo :: enum at the type_decl stage gingerBill 2018-07-29 11:29:20 +01:00
  • 6512a3e5f2 using Foo :: enum {A, B, C}; len(Foo) gingerBill 2018-07-29 10:50:15 +01:00
  • 49f2124df0 Support larger integer literals to work with the new BigInt system gingerBill 2018-07-29 10:22:17 +01:00
  • a11d6e696a expand_to_tuple for fixed arrays gingerBill 2018-07-28 20:56:27 +01:00
  • 1705ba8069 Fix typos gingerBill 2018-07-28 19:44:00 +01:00
  • 8d2c4a78a1 Merge pull request #238 from odin-lang/big-int gingerBill 2018-07-28 18:39:15 +01:00
  • 8504ff920b Correctly handle bitwise operations for negative BigInt gingerBill 2018-07-28 18:36:45 +01:00
  • e34a9e6185 Fix big_int_shr gingerBill 2018-07-28 00:48:36 +01:00
  • c3c7834246 BigInt support in the constant system gingerBill 2018-07-28 00:41:31 +01:00
  • 1ab40d8600 Merge pull request #237 from lunaticLipid/master gingerBill 2018-07-17 08:25:21 +01:00
  • 92ce02dab0 Fix indent characters Lipid 2018-07-16 20:30:49 +02:00
  • 8abe9ef507 Add mat3_mul and generic transpose to math.odin Lipid 2018-05-13 20:05:55 +02:00
  • d0e04bf569 Merge pull request #236 from hasenj/master gingerBill 2018-07-14 19:39:11 +01:00
  • b92599879a free -> delete in os_osx and os_linux Hasen Judy 2018-07-13 10:22:03 -06:00
  • 0e91298fd1 Rename free to delete for non pointer types gingerBill 2018-07-08 11:03:56 +01:00
  • e515220694 Improve array arithmetic inlining gingerBill 2018-07-08 10:15:46 +01:00
  • a55683d287 Remove allocator parameters in ir.cpp gingerBill 2018-07-07 11:29:45 +01:00
  • fa4e95105f Loop array arithmetic on large arrays gingerBill 2018-07-07 11:13:20 +01:00
  • 1e01085ef7 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2018-07-07 08:12:48 +01:00
  • 04a1f869b5 Fix when statements within a foreign block gingerBill 2018-07-07 08:11:31 +01:00
  • e04ba7530d Updated makefile to run demo package instead of demo.odin Morten Vassvik 2018-07-05 15:48:55 +02:00
  • ea055f1465 Surrounded explicit link paths (.a and .so) and the exe path for 'odin run' in quotes, so that it works in paths containing characters that must be escaped (like spaces) Morten Vassvik 2018-07-05 15:46:11 +02:00
  • 3b2c867817 Replaced CLOCK_PROCESS_CPUTIME_ID with CLOCK_MONOTONIC in calls to clock_gettime and clock_getres to make timings on calling external executables accurate instead of showing them taking negligible time on linux. Morten Vassvik 2018-07-04 21:04:48 +02:00
  • 3de23eb0bf Merge pull request #233 from zangent/master gingerBill 2018-07-02 08:57:22 +01:00
  • 5de3b07e2b Made os_osx.odin use the new-style runtime.args__ and added read_directory for macOS Zachary Pierson 2018-07-02 02:50:08 -05:00
  • c0ca4d4635 Uncomment code gingerBill 2018-07-01 18:31:31 +01:00
  • efe4b71bae Fix build.sh gingerBill 2018-07-01 17:17:31 +01:00
  • bc37bd5429 Merge branch 'packages' of https://github.com/odin-lang/Odin into packages gingerBill 2018-07-01 17:14:43 +01:00
  • 5f20e04259 Fix on *nix gingerBill 2018-07-01 17:14:22 +01:00
  • 9bef5ec01a Fix anonymous procedures gingerBill 2018-07-01 16:21:32 +01:00
  • cdf873542b Add read_directory for linux gingerBill 2018-06-21 08:39:52 +01:00
  • 4742690dec Fix is_excluded_target_filename gingerBill 2018-06-21 08:39:07 +01:00
  • 3a16f1e854 Minor style change gingerBill 2018-06-17 22:25:28 +01:00
  • 877400dd12 Scope to use flags rathers than booleans gingerBill 2018-06-17 22:22:30 +01:00
  • a4e3201113 Minor cleanup for builtin scope/pkg gingerBill 2018-06-17 22:07:27 +01:00
  • a99cc2fd70 Clean up import lookup code gingerBill 2018-06-17 21:50:40 +01:00
  • 5fe4c33d0e Allow importation of core:builtin to get built-in entities gingerBill 2018-06-17 21:46:37 +01:00
  • 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