Commit Graph

6758 Commits

Author SHA1 Message Date
gingerBill
9cadd58465 Improve tokenizer slightly 2019-05-28 14:44:32 +01:00
gingerBill
65e9b4d5f0 Update parsers 2019-05-28 12:55:55 +01:00
gingerBill
fb3d73cb20 Make core library use a..<b rather than doing a..b-1 2019-05-28 12:52:20 +01:00
Zilarrezko
d2faa9bef1 make_builder function now properly uses given allocator 2019-05-18 18:57:34 -07:00
gingerBill
665734f04f Fix package odin/parser 2019-05-09 16:35:35 +01:00
gingerBill
ab0afa548b Fix ||= and &&= 2019-05-06 11:32:35 +01:00
gingerBill
40135cbc66 Add float64_range and float32_range to package math/rand 2019-04-28 20:35:14 +01:00
gingerBill
45fbc4e8c5 Add #load to package odin/parser 2019-04-21 22:36:52 +01: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
381fbd3daf Merge branch 'master' of github.com:odin-lang/Odin 2019-03-31 12:03:22 -04: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
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
a9b20c29b1 Fix slicing issue; Change path of math/bits in package json #363 2019-03-30 10:17:31 +00: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
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
gingerBill
b1684fe455 @(private) for foreign blocks; Improve foreign signature similarity rules 2019-03-24 11:58:26 +00:00
gingerBill
886054f0f8 Add error message for when trying to assign a type to a variable. 2019-03-22 13:55:29 +00:00
gingerBill
400558abcd Fix fmt.println a rawptr causes access violation #356 2019-03-19 20:27:29 +00:00
Brendan Punsky
e3d1d1d85c Merge branch 'master' into master 2019-03-18 17:22:57 -04:00
Brendan Punsky
b6ea7b7418 Fix temp allocation on linux 2019-03-18 17:19:21 -04:00
Brendan Punsky
7426f3b092 Fix null termination detection, win32 namespacing 2019-03-18 17:11:17 -04:00
Brendan Punsky
299c299dff Add linux support 2019-03-18 17:07:36 -04:00
matt
314d5a778e Replace calls to deprecated string functions on linux 2019-03-18 07:13:52 -07:00
Jeroen van Rijn
dc706d8a6b Vet CEL 2019-03-17 23:27:13 +01:00
gingerBill
1eaa47ebae Fix using import behaviour - #352 2019-03-17 13:03:39 +00:00
gingerBill
3a31444656 Minor changes to fmt of auto deferencing 2019-03-16 11:00:37 +00:00
gingerBill
f7efaf2ba2 fmt.printf support for pointer to container (one level deep) 2019-03-16 00:10:57 +00:00
gingerBill
14c6f2f258 Add extra pointer printing options to fmt.printf 2019-03-15 23:49:47 +00:00
gingerBill
231f3cc15a %h support in fmt.printf for hexadecimal floats 2019-03-15 23:22:05 +00:00
gingerBill
332e598357 %e and %g support in fmt.printf 2019-03-15 23:13:06 +00:00
gingerBill
fdb60b2d51 Improve package strings 2019-03-15 18:30:39 +00:00
gingerBill
dbcd49acfc Add -pdb-name for custom names of PDBs 2019-03-14 23:26:32 +00:00
Brendan Punsky
e398c074db Fix typo 2019-03-13 18:37:01 -04:00
Brendan Punsky
eadb66c9ef Merge branch 'master' into master 2019-03-13 16:45:46 -04:00
Brendan Punsky
9d7e1c17cc Update kernel32.odin
Add Win32 path functions
2019-03-13 16:44:11 -04:00
Brendan Punsky
775b544326 Update path_windows.odin
Updated `long`, `short`, `full`, `current` to be cleaner, use `win32` for platform procs, and `strings.trim_null` to clean resulting strings
2019-03-13 16:40:26 -04:00
Brendan Punsky
da26e14959 Update path.odin
Fix allocator usage for `rel_current` and `rel_between`
2019-03-13 16:38:02 -04:00
gingerBill
bdab5e00da Minor code clean up 2019-03-11 19:52:40 +00:00