gingerBill
86649e6b44
Core library clean up: Make range expressions more consistent and replace uses of .. with ..=
2021-06-14 11:15:25 +01:00
gingerBill
54e6c50769
Implement f16 functionality
2021-04-01 10:06:00 +01:00
gingerBill
b727b6438b
Minimize unneeded casts
2021-03-03 14:31:17 +00:00
gingerBill
aa93305015
Replace usage of inline proc with #force_inline proc in the core library
2021-02-23 16:14:47 +00:00
gingerBill
825c5a963f
Improve fmt's %#v behaviour for nested records
2021-02-04 14:52:23 +00:00
Tetralux
c06528d702
Improve number parsing procedures
...
- No longer returns true for partial string parsing.
All characters in the string must be part of the number.
i.e: parse_int("2.345") no longer returns (2, true) - it now returns (2, false)
- Return (0, false) on empty strings.
2020-12-06 11:39:03 +00:00
gingerBill
fc4fdd588e
Remove usage of do in core library
2020-09-23 17:17:14 +01:00
gingerBill
f043e92650
Add strconv.unquote_string and strconv.unquote_char
2020-05-09 13:58:45 +01:00
Tetralux
7d4f9545a7
Fix parsing of single-digit numbers
2020-05-06 23:21:24 +00:00
Tetralux
25f77e32ee
Fix doc comments
2020-04-29 23:35:26 +01:00
Tetralux
704ee9f851
Return (value: T, ok: bool) instead
2020-04-29 22:37:33 +01:00
Tetralux
190932935c
Refactor parse_* procedures: arbitrary bases, and return (value, rest_of_string)
2020-04-29 21:33:33 +01:00
gingerBill
e92fdb4a99
x if cond else y and x when cond else y expressions
2020-03-05 20:34:30 +00:00
gingerBill
7267004a55
Remove import "core:runtime" in integers.odin to make -vet happy
2019-12-22 10:28:48 +00:00
gingerBill
08392d885e
Add strconv/integers.odin
2019-12-21 14:01:29 +00:00
gingerBill
d462dbb5be
Deprecate using import
2019-12-21 12:11:16 +00:00
gingerBill
494b1e7eaa
Add -help which prints information about the compiler flags
2019-12-21 11:22:46 +00:00
Mikkel Hjortshoej
851118faf4
Fix #399 by removing unused parameter
2019-12-08 02:09:03 +01:00
gingerBill
f170648629
Fix issue with -thread-count flag with <= 0 count
2019-12-03 18:23:14 +00:00
gingerBill
9db81498d8
Make the string type elements "immutable", akin to char const * in C
...
Allows for extra security and optimization benefits
2019-12-01 14:10:59 +00:00
gingerBill
5aa46d31b2
Move package decimal to be a subpackage of package strconv
2019-10-26 14:46:21 +01:00
gingerBill
939459b635
Change implicit semicolon rules for record types within procedure bodies; Update package odin/*
2019-10-06 19:16:55 +01:00
gingerBill
4e8a801b35
strings.split; strings.index; eprint* over print*_err;
2019-10-06 18:13:15 +01:00
gingerBill
f25818e923
Make procedure parameters just named values rather than copied variables
2019-07-15 21:18:37 +01:00
gingerBill
3d2279fba0
Support 128-bit integers i128 u128
2019-05-28 20:27:45 +01:00
gingerBill
fb3d73cb20
Make core library use a..<b rather than doing a..b-1
2019-05-28 12:52:20 +01:00
gingerBill
a019059975
Fix -vet for demo.odin
2019-03-30 10:52:53 +00:00
gingerBill
6b18b90222
Fix possible buffer overflows in package strconv
2019-03-25 21:26:23 +00:00
gingerBill
b978959fae
Improve package strconv
2019-03-24 20:58:01 +00:00
gingerBill
332e598357
%e and %g support in fmt.printf
2019-03-15 23:13:06 +00:00
gingerBill
c67ea97845
Add implicit selector expressions for in/notin
2019-03-06 19:08:37 +00:00
gingerBill
d035d48c8e
Fix issue #280
2018-11-17 09:45:52 +00:00
gingerBill
71f94bff76
Minor sanity features for bit_set
2018-08-14 19:22:48 +01:00
gingerBill
acc010cba5
Add bit_set type
2018-08-14 17:07:56 +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
5b6770f3d2
Parse directories to be packages
2018-05-21 20:47:52 +01:00