Commit Graph

1038 Commits

Author SHA1 Message Date
gingerBill
89f4e7a8db -no-crt flag for windows amd64 2018-08-13 01:22:14 +01:00
gingerBill
55f4eabecd Fix map addressing mode bug 2018-08-10 18:22:37 +01:00
gingerBill
d0fc9aa069 Allow for '\"' 2018-08-10 17:48:29 +01:00
gingerBill
708907df31 auto_cast for named parameters 2018-08-09 17:59:18 +01:00
gingerBill
70586b1cf8 auto_cast prefix for procedure parameters 2018-08-09 17:58:11 +01:00
gingerBill
877a78d6ba Fix make error messages 2018-08-08 23:07:51 +01:00
thebirk
5e5f5bfa8d Fixed 'sh: main: command not found' error on linux. 2018-08-08 17:48:17 +02:00
gingerBill
835d7dcab2 make as a user-level procedure rather than a built-in procedure 2018-08-08 13:04:40 +01:00
gingerBill
28816dc491 Fix parenthesis warning on clang 2018-08-08 13:04:40 +01:00
gingerBill
ccdc3438be Refactor handle_parameter_value code 2018-08-06 00:26:38 +01:00
gingerBill
60711dd355 Refactor default parameter values 2018-08-05 23:57:34 +01:00
gingerBill
fad3947e26 Add *with_allocator procedures to mem 2018-08-05 23:40:19 +01:00
gingerBill
d8e5b2d1a4 Fix cstring cast operation 2018-08-05 19:07:03 +01:00
gingerBill
45d3c6c0d3 Fix cstring to string conversion 2018-08-05 18:58:35 +01:00
gingerBill
462d81430c Fix map runtime issue regarding erasing a key 2018-08-05 10:31:20 +01:00
gingerBill
d3cada5bd6 Change rules for how context and defer interact 2018-08-04 23:46:46 +01:00
gingerBill
cdbf831a7a Replace context <- c {} with context = c;. context assignments are scope based 2018-08-04 23:14:55 +01:00
gingerBill
0718f14774 Reduce number of range and slice operators #239
Replace .. and ... with : and ..
2018-08-01 21:34:59 +01:00
gingerBill
a6fe656f21 foreign import x {"foo.lib", "bar.lib"} 2018-07-29 20:56:09 +01:00
gingerBill
dc5da7933a Add older demos 2018-07-29 11:36:24 +01:00
gingerBill
96fc9138d4 Do using Foo :: enum at the type_decl stage 2018-07-29 11:29:20 +01:00
gingerBill
6512a3e5f2 using Foo :: enum {A, B, C}; len(Foo) 2018-07-29 10:50:15 +01:00
gingerBill
49f2124df0 Support larger integer literals to work with the new BigInt system 2018-07-29 10:22:17 +01:00
gingerBill
a11d6e696a expand_to_tuple for fixed arrays 2018-07-28 20:56:27 +01:00
gingerBill
1705ba8069 Fix typos 2018-07-28 19:44:00 +01:00
gingerBill
8504ff920b Correctly handle bitwise operations for negative BigInt 2018-07-28 18:36:45 +01:00
gingerBill
e34a9e6185 Fix big_int_shr 2018-07-28 00:48:36 +01:00
gingerBill
c3c7834246 BigInt support in the constant system 2018-07-28 00:41:31 +01:00
gingerBill
0e91298fd1 Rename free to delete for non pointer types 2018-07-08 11:03:56 +01:00
gingerBill
e515220694 Improve array arithmetic inlining 2018-07-08 10:15:46 +01:00
gingerBill
a55683d287 Remove allocator parameters in ir.cpp 2018-07-07 11:29:45 +01:00
gingerBill
fa4e95105f Loop array arithmetic on large arrays 2018-07-07 11:13:20 +01:00
gingerBill
1e01085ef7 Merge branch 'master' of https://github.com/odin-lang/Odin 2018-07-07 08:12:48 +01:00
gingerBill
04a1f869b5 Fix when statements within a foreign block 2018-07-07 08:11:31 +01:00
Morten Vassvik
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) 2018-07-05 15:46:11 +02:00
Morten Vassvik
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. 2018-07-04 21:04:48 +02:00
Zachary Pierson
5de3b07e2b Made os_osx.odin use the new-style runtime.args__ and added read_directory for macOS 2018-07-02 02:50:08 -05:00
gingerBill
c0ca4d4635 Uncomment code 2018-07-01 18:31:31 +01:00
gingerBill
bc37bd5429 Merge branch 'packages' of https://github.com/odin-lang/Odin into packages 2018-07-01 17:14:43 +01:00
gingerBill
5f20e04259 Fix on *nix 2018-07-01 17:14:22 +01:00
gingerBill
9bef5ec01a Fix anonymous procedures 2018-07-01 16:21:32 +01:00
gingerBill
cdf873542b Add read_directory for linux 2018-06-21 08:39:52 +01:00
gingerBill
4742690dec Fix is_excluded_target_filename 2018-06-21 08:39:07 +01:00
gingerBill
3a16f1e854 Minor style change 2018-06-17 22:25:28 +01:00
gingerBill
877400dd12 Scope to use flags rathers than booleans 2018-06-17 22:22:30 +01:00
gingerBill
a4e3201113 Minor cleanup for builtin scope/pkg 2018-06-17 22:07:27 +01:00
gingerBill
a99cc2fd70 Clean up import lookup code 2018-06-17 21:50:40 +01:00
gingerBill
5fe4c33d0e Allow importation of core:builtin to get built-in entities 2018-06-17 21:46:37 +01:00
gingerBill
4d9d38cc28 Move TypeAndValue to Ast from Map 2018-06-17 16:35:22 +01:00
gingerBill
5b71ffd4f9 Rename clone_ast_node to clone_ast 2018-06-17 11:03:26 +01:00