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

35 Commits

Author SHA1 Message Date
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Daniel Däschle
76cdf75299
builtin,cgen: rename Option to _option (#14317) 2022-05-06 19:25:54 +03:00
David 'Epper' Marshall
a2338dbb7c
docs: document more builtin functions/methods (#14229) 2022-04-30 12:31:23 +03:00
Delyan Angelov
6f5a513d8b
ci: fix v build-examples 2022-04-15 20:31:10 +03:00
Tim Basel
37c151efe5
docs, builtin, encoding.csv: update error implementations (#13440) 2022-02-12 11:54:10 +02:00
Tim Basel
9d0a5942ac
builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
jeffmikels
5e5d62ed4c
arrays,docs: remove arrays.zip; improve docs (#13082) 2022-01-09 16:12:33 +02:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
playX
0da7e2f8ab
js: make vlib/v/util compile on JS backend (#12660) 2021-12-03 12:25:36 +02:00
playX
57c79770b3
js: port more methods (os, builtin) (#12238) 2021-10-20 16:02:21 +03:00
playX
7d1776b84d
js: equality method generation for V types (#11503) 2021-09-16 07:07:48 +03:00
playX
5b619b99c2
v.gen.js: Interfaces support, fix for error propagation & panic stacktraces (#11471) 2021-09-11 14:24:47 +03:00
playX
a9b705bfd8
js: fix printing, make builtins for result and option types behave correctly (#11336) 2021-08-30 20:47:18 +03:00
playX
61ac7b671d
js: add initial support for optional types, IfGuardExpr codegen for if (#11332) 2021-08-29 14:27:17 +03:00
playX
bdf11d969a
js: add basic support for running tests, fix string.replace_each (#11314) 2021-08-26 15:20:54 +03:00
playX
109d5d5847
js: os now compiles to the JS backend, more builtins & minor codegen fixes (#11302) 2021-08-25 14:40:53 +03:00
playX
0121c8b4fd
v.gen.js: fix method calls and other codegen parts, rand module compiles (#11205) 2021-08-18 11:33:37 +03:00
Daniel Däschle
ad3835b598
parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
yuyi
ae9f8627fc
checker: simplify generic structs (#10167) 2021-05-23 05:54:58 +03:00
zakuro
6bc9ef7373
builtin: vfmt every .v file, except vlib/builtin/int_test.v (#9448) 2021-03-24 20:39:59 +02:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
zakuro
21805ea2a5
all: make eprint[ln] behave same as print[ln] (#7595) 2020-12-27 11:22:16 +01:00
Leah Lundqvist
90c1c639fe
js: types (#7108) 2020-12-08 17:49:20 +01:00
Leah Lundqvist
96b73acad7
jsgen: optional "or blocks" (#6938) 2020-11-24 22:52:23 +01:00
pancake
aa90625819
js: initial support for optional return unwrapping (#6926) 2020-11-24 12:54:26 +01:00
spaceface777
a02aff9126
jsgen: fixes and improvements 2020-06-20 13:22:49 +02:00
Alexander Medvednikov
13a7ce9e69 gg: GG => Context 2020-06-04 20:26:18 +02:00
Leah Lundqvist
f2ea8ca62c
jsgen: class -> factory 2020-05-21 22:36:06 +02:00
Abdullah Atta
9888bacad5
v: make js hello world work 2020-05-21 16:17:16 +03:00
Delyan Angelov
acd80f052b
tests: improve diagnostic output on failure 2020-05-04 11:21:25 +03:00
joe-conigliaro
7f709c3285
update copyright years 2020-02-03 05:00:36 +01:00
Alexander Medvednikov
4e21e9ed44 minor V.js fixes 2019-10-25 12:13:38 +03:00
Ole-Martin Bratteng
b73387647c v.js: make eprintln use console.error 2019-10-19 15:42:37 +03:00
Alexander Medvednikov
5cc81b91cb JavaSript backend (early stage) 2019-09-15 03:49:57 +03:00