1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples
2021-03-17 01:43:17 +01:00
..
2048 math: add a pure V math.mathutil, with generic min, max and abs functions (#9176), and use it consistently 2021-03-12 11:28:04 +02:00
assets/fonts examples: add license files for fonts 2020-03-07 14:14:37 +01:00
compiletime all: change .ReturnType and .Type to .return_type and .typ (#6494) 2020-09-28 06:13:38 +02:00
concurrency time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
database all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
dynamic_library_loading os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974) 2021-03-08 20:52:13 +02:00
eventbus builtin: add an Option2 struct (#8890) 2021-02-22 18:44:15 +02:00
fireworks examples: fix fireworks.v 2021-02-17 06:50:09 +01:00
flappylearning all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
game_of_life examples: remove unused 629KB demo.gif animation 2021-03-12 11:57:47 +02:00
gg gg: add draw_convex_poly/2 and draw_empty_poly/2 methods (#8487) 2021-02-01 18:18:23 +02:00
hot_reload time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
linear_regression .gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
pico examples: fix v build-examples 2020-07-24 13:29:47 +03:00
process all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
regex all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
smtp examples: add example for using the SMTP module (#5870) 2020-07-18 15:59:54 +03:00
snek gg: use gg types for Events instead of sapp 2021-02-17 06:44:01 +01:00
sokol gg: window_size_real_pixels that for 3D without dpi scaling (#9004) 2021-02-27 22:11:26 +01:00
templates all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
term.ui all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
tetris time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
ttf_font all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
vcasino examples: fix warnings when doing ./v -W -progress -check-syntax build-examples 2020-10-26 13:14:26 +02:00
vweb vweb: add .mount_static_folder_at/2 , use it instead of app.handle_static in the server_sent_events example 2021-03-02 21:30:18 +02:00
websocket all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
word_counter all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
x64 make v build-examples work: part 1 2020-06-02 16:09:41 +02:00
.gitignore jsgen: fix string and array for loops and improve casting (#9295) 2021-03-14 08:20:01 +02:00
asm.v all: reimplement inline assembly (#8645) 2021-03-17 01:43:17 +01:00
binary_search_tree.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
buf_reader.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
cli.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
dump_factorial.v v: support dump(expr) (#9160) 2021-03-06 18:09:28 +01:00
fetch.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
fibonacci.v all: reimplement inline assembly (#8645) 2021-03-17 01:43:17 +01:00
fizz_buzz.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
hanoi.v examples,tools: cleanup most warnings 2020-12-04 16:05:39 +02:00
hello_v_js.v examples: build examples/hello_v_js.v without warnings/errors 2020-10-18 09:33:55 +03:00
hello_world.v examples: reorganize 2020-03-21 09:47:38 +01:00
json.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
lander.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
links_scraper.v http: refactor and reduce duplication 2020-01-16 18:16:11 +01:00
log.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
mini_calculator.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
nbody.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
net_peer_ip.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
net_raw_http.v all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +02:00
net_t.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
net_udp_server_and_client.v examples: add net_udp_server_and_client.v 2021-02-02 10:36:56 +02:00
news_fetcher.v sync: move pool related code to sync.pool, cleanup, add a README.md 2021-02-11 10:55:23 +02:00
path_tracing.v all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
quick_sort.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
random_ips.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
rune.v add str function for rune 2019-07-01 17:36:23 +02:00
spectral.v examples: fix spectral.v 2020-12-21 08:50:31 +01:00
terminal_control.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
tree_of_nodes.v examples: use Empty instead of Leaf in tree_of_nodes.v 2021-01-15 11:15:29 +02:00
v_script.vsh all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
vmod.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
vpwgen.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
wkhtmltopdf.v checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00