Commit Graph

1708 Commits

Author SHA1 Message Date
gingerBill
b1663a14e9 Add an error for C-style pointer selector expressions using '->' when parsing 2019-05-09 22:59:17 +01:00
gingerBill
3fc60930e6 Fix constant representability rules 2019-05-09 22:46:50 +01:00
gingerBill
665734f04f Fix package odin/parser 2019-05-09 16:35:35 +01:00
gingerBill
16f3bc2c0b Allow comparisons with bit field values 2019-05-09 13:18:57 +01:00
gingerBill
71a733e3b5 Allow booleans to be assigned to a 1-bit bit field value 2019-05-09 13:04:15 +01:00
gingerBill
a66612e8ae Remove test code 2019-05-09 11:07:26 +01:00
gingerBill
00c0ce45b3 Fix bug with clamp 2019-05-06 18:29:22 +01:00
gingerBill
ab0afa548b Fix ||= and &&= 2019-05-06 11:32:35 +01:00
gingerBill
ea1690b7a1 Improve type inference for variadic parameters 2019-05-04 14:01:04 +01:00
gingerBill
a5ff983266 Fix parapoly related bugs #370 2019-05-04 13:11:56 +01:00
gingerBill
a46a1f5f34 Minor change to bit_field assignment rules 2019-05-04 13:02:15 +01:00
gingerBill
40135cbc66 Add float64_range and float32_range to package math/rand 2019-04-28 20:35:14 +01:00
gingerBill
c61fd3a70a Modify type_set_offsets to patch minor bug 2019-04-28 20:34:51 +01:00
gingerBill
45fbc4e8c5 Add #load to package odin/parser 2019-04-21 22:36:52 +01:00
gingerBill
9ce8f124bb Slight change to determine_path_from_string rules 2019-04-20 16:52:09 +01:00
gingerBill
63bbb9b62f Change the file name rules for imports (use / rather than \ on windows) 2019-04-20 16:47:28 +01:00
gingerBill
56c4039e72 #load directive (request from #368) (Basic implementation) 2019-04-20 15:05:35 +01:00
gingerBill
0755dfbd5d Merge branch 'master' of https://github.com/odin-lang/Odin 2019-04-19 11:39:12 +01:00
gingerBill
2780f82f30 Fix is_operand_value to support more addressing modes 2019-04-19 11:39:01 +01:00
Jeroen van Rijn
5dcb5c2ba3 Merge pull request #367 from kevinw/fix-json-parsing
Fix some JSON parsing bugs.
2019-04-06 16:35:46 +02:00
Jeroen van Rijn
9d552d04ea Merge pull request #358 from kevinw/master
Fix some -vet warnings; change import to core:math/bits
2019-04-06 16:34:01 +02:00
Kevin Watters
88e1b93786 Fix som JSON parsing bugs.
- Single digit integer keys `{"a": 5}`
` Negative float keys `{"b": -42.0}`
2019-04-06 09:24:53 -04:00
Kevin Watters
62f5eb5bca Fix som JSON parsing bugs.
- Single digit integer keys `{"a": 5}`
` Negative float keys `{"b": -42.0}`
2019-04-06 09:19:09 -04:00
Kevin Watters
6ab471ff87 Merge branch 'master' of github.com:odin-lang/Odin 2019-04-06 08:41:56 -04:00
Jeroen van Rijn
155b138aa4 call_external_process cleanup 2019-04-05 13:18:50 +02:00
Jeroen van Rijn
a730b04bf1 Add helpers to launch process and open website. 2019-04-05 13:02:49 +02:00
Kevin Watters
957e1e1f07 Merge branch 'master' of github.com:odin-lang/Odin 2019-04-01 09:34:25 -04:00
gingerBill
133f88406f The Proposal Process 2019-03-31 23:50:56 +01:00
gingerBill
ecd2eacd75 Remove dead keywords; Fix min and max for enum types 2019-03-31 22:35:05 +01:00
gingerBill
2614830c69 Minor code organization change 2019-03-31 18:29:57 +01:00
Kevin Watters
381fbd3daf Merge branch 'master' of github.com:odin-lang/Odin 2019-03-31 12:03:22 -04:00
gingerBill
dd9113786c Remove -keep-temp-files from the build.bat 2019-03-31 13:06:01 +01:00
gingerBill
1354f53d02 Remove derived from context; Fix parsing issue for typeid specializations in record parameters; Fix runtime printing of types 2019-03-31 11:58:54 +01:00
gingerBill
564e85ee29 Modify ir_generate_array name logic slightly 2019-03-31 11:22:27 +01:00
gingerBill
ef04d13337 Use context for assert-based things. 2019-03-30 15:10:40 +00:00
gingerBill
68d4bde82f Overrideable stdin, stdout, stderr at the context level 2019-03-30 14:51:42 +00:00
gingerBill
a019059975 Fix -vet for demo.odin 2019-03-30 10:52:53 +00:00
gingerBill
7580ec494b Disallow ambiguous singularly variadic polymorphic parameters #361 2019-03-30 10:43:53 +00:00
gingerBill
a9b20c29b1 Fix slicing issue; Change path of math/bits in package json #363 2019-03-30 10:17:31 +00:00
Kevin Watters
76a2807b56 Remove unused import from demo.odin. 2019-03-26 11:20:49 -04:00
Kevin Watters
14ff561f6c Merge branch 'master' of github.com:odin-lang/Odin 2019-03-26 11:17:58 -04:00
gingerBill
1fd677b42e Remove *_remove from demo and use built-in versions 2019-03-25 21:29:21 +00:00
gingerBill
6b18b90222 Fix possible buffer overflows in package strconv 2019-03-25 21:26:23 +00:00
gingerBill
9e6d488063 Modify slice_expr_error_* logic to change depending on which parameters are passed 2019-03-25 21:20:12 +00:00
gingerBill
4a15689776 Remove bounds checks for slice expressions with both indices empty 2019-03-25 21:00:45 +00:00
gingerBill
c785c3569f Fix runtime.*_expr_error error 2019-03-25 20:42:47 +00:00
Kevin Watters
e6f9b4fb11 Fix some -vet warnings; change import to core:math/bits 2019-03-25 09:23:46 -04:00
gingerBill
b978959fae Improve package strconv 2019-03-24 20:58:01 +00:00
gingerBill
8b09ab6fe7 Move core:bits to core:math/bits 2019-03-24 20:39:01 +00:00
gingerBill
2347dca9d9 Improve package math/rand 2019-03-24 20:36:39 +00:00