1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
yuyi
f6844e9766
all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
Delyan Angelov
4894f61998
toml: add pub fn (d Doc) value_opt(key string) ?Any { and some tests for toml.parse_dotted_key/1 2022-05-28 09:18:18 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Larpon
156efec278
toml: deprecate input.auto_config() and toml.parse() (#13770) 2022-03-18 22:33:51 +02:00
Larpon
839ae6b2e4
toml: fix a doc string (#13246) 2022-01-22 10:27:16 +02:00
Larpon
2b4f7e7685
toml: add encode<T> and decode<T> (#13244) 2022-01-21 21:21:31 +02:00
Larpon
7e6d4ebfe1
toml: add doc string to reflect methods (#12666) 2021-12-03 23:07:44 +02:00
Larpon
1d6cc57d9c
toml: add reflection method (#12664) 2021-12-03 12:40:46 +02:00
Larpon
a59eabc4ab
toml: clean up and improve spaced and dotted key parsing (#12576) 2021-11-25 16:51:54 +02:00
Larpon
9a2c563735
toml: add conversion of ast inf and nan to Any (#12567) 2021-11-25 12:33:54 +02:00
Larpon
11d70624af
toml: streamline value() api (#12568) 2021-11-24 20:39:22 +02:00
Larpon
4b9e8e243c
toml: support arrays in value key query syntax (#12527) 2021-11-20 19:45:17 +02:00
Larpon
96554fad71
toml: improve number conversion (#12509) 2021-11-18 19:46:19 +02:00
Larpon
7ec70d5477
toml: small refactor, move all json functionality to submodule (#12502) 2021-11-18 13:27:59 +02:00
Larpon
409321327b
toml: don't use time.Time for time representation (#12498) 2021-11-18 07:44:24 +02:00
Larpon
81455acd29
toml: simplify Doc.to_any() method (#12495) 2021-11-17 20:58:06 +02:00
Larpon
dbf469e000
toml: move to_burntsushi functionality (#12492) 2021-11-17 17:25:50 +02:00
Larpon
bd9ac598f7
toml: add support for validation of structure and values (#12481) 2021-11-17 08:30:40 +02:00
Larpon
7b9cca7524
toml: add convenience convertion of Doc to map[string]toml.Any (#12473) 2021-11-15 19:00:09 +02:00
Larpon
9c508237bd
toml: support for [a."b.c"] quoted keys (#12444) 2021-11-13 11:17:35 +02:00
Larpon
5e4594a121
toml: isolate, fix and regress-test sumtype cast causing memory corruption (#12329) 2021-10-28 19:57:30 +03:00
Larpon
4ff061927b
toml: easier scanner configuration (#12016) 2021-09-29 14:53:06 +03:00
Larpon
da47638f42
toml: correct documentation (#11976) 2021-09-26 07:34:47 +03:00
Larpon
13b2aa701c
toml: rename ast.Node -> ast.Value (#11974) 2021-09-25 20:31:02 +03:00
Larpon
5541ec8670
vlib: add toml module + tests (#11964) 2021-09-24 21:13:52 +03:00