Commit Graph

1251 Commits

Author SHA1 Message Date
gingerBill
e326f41d16 Fix demo 2018-08-17 15:26:29 +01:00
gingerBill
1d0ac72e4a Disable non-comparison operations for enum (use bit_set for flags) 2018-08-17 15:24:44 +01:00
gingerBill
b216e44870 Add underlying type for bit_set 2018-08-17 15:11:41 +01:00
gingerBill
7d39b26cf4 Minor refactor 2018-08-16 20:52:46 +01:00
gingerBill
884d5fed9f bit_set['A'..'Z'], bit_set[0..8] 2018-08-16 15:16:57 +01:00
gingerBill
ec84188597 Fix typos in parser 2018-08-16 10:30:44 +01:00
gingerBill
85ac95f81b Constant evaluation for in expression for bit_sets 2018-08-16 00:07:26 +01:00
gingerBill
042550cf87 Fix default value bug 2018-08-15 19:36:32 +01:00
gingerBill
b3ebff715a Fix defer ir bug 2018-08-15 15:44:41 +01:00
gingerBill
1ee60663bb Fix issue #244 with constant array comparisons 2018-08-14 19:43:36 +01:00
gingerBill
59da98d3f0 Improve type hinting for compound literals 2018-08-14 19:39:28 +01:00
gingerBill
2d41a42f61 Cleaning type hinting for assignments 2018-08-14 19:33:42 +01:00
gingerBill
e1e4a916a5 Fix demo and improve type hinting 2018-08-14 19:29:31 +01:00
gingerBill
71f94bff76 Minor sanity features for bit_set 2018-08-14 19:22:48 +01:00
gingerBill
c7d6467cfa Fix assigning issue for bit sets 2018-08-14 18:43:47 +01:00
gingerBill
79a3c0b36c Fix bit_set range 2018-08-14 18:35:14 +01:00
gingerBill
966249c10a bit_set constants 2018-08-14 18:32:34 +01:00
gingerBill
acc010cba5 Add bit_set type 2018-08-14 17:07:56 +01:00
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
8be9b5082c Fix default make parameters for dynamic arrays 2018-08-09 18:15:49 +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
gingerBill
3928614326 Merge pull request #241 from thebirk/fix-sh-main-not-found
Fixed 'sh: main: command not found' error on linux.
2018-08-08 22:41:42 +01:00
thebirk
5e5f5bfa8d Fixed 'sh: main: command not found' error on linux. 2018-08-08 17:48:17 +02:00
gingerBill
3a1a7b40f9 Add runtime messages for make for the len/cap parameters 2018-08-08 13:04:40 +01: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
2d26ad0226 Remove opengl package 2018-08-05 19:01:15 +01:00
gingerBill
45d3c6c0d3 Fix cstring to string conversion 2018-08-05 18:58:35 +01:00
gingerBill
c6bffd7c35 Change build.bat to use release_mode=1 by default 2018-08-05 10:37:09 +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
8d2c4a78a1 Merge pull request #238 from odin-lang/big-int
Big int
2018-07-28 18:39:15 +01:00
gingerBill
8504ff920b Correctly handle bitwise operations for negative BigInt 2018-07-28 18:36:45 +01:00