v/examples
Delyan Angelov bcb3992406
log: implement .log_to_console_too() method
2021-04-02 10:12:52 +03: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 dl: add dl.open_opt/2, dl.sym_opt/2 and dl.dlerror/0 utility functions 2021-03-24 11:47:04 +02:00
eventbus builtin: add an Option2 struct (#8890) 2021-02-22 18:44:15 +02:00
fireworks examples: fix fireworks exiting when minimized on windows (issue: #9485) (#9487) 2021-03-27 17:28:09 +02: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 examples: add .obj viewer as a sokol example (#9456) 2021-03-25 16:53:13 +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 examples: fix dropping pieces with -autofree for tetris.v 2021-03-17 14:45:32 +02: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: deprecate write_str and replace it with write_string (#9369) 2021-03-20 17:25:51 +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 ci: fix failing `v -W build-tools` and `v -W build-examples`; run vfmt. 2021-03-19 09:49:26 +02:00
cli.v cli: improve multiple value management (#8310) 2021-03-19 13:09:56 +02:00
dump_factorial.v v: support dump(expr) (#9160) 2021-03-06 18:09:28 +01:00
errors.v semver: add custom errors (#9493) 2021-03-29 11:17:00 +02: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 log: implement .log_to_console_too() method 2021-04-02 10:12:52 +03: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 ci: fix failing `v -W build-tools` and `v -W build-examples`; run vfmt. 2021-03-19 09:49:26 +02:00
net_t.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
net_udp_server_and_client.v all: deprecate write_str and replace it with write_string (#9369) 2021-03-20 17:25:51 +01: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 ci: fix failing `v -W build-tools` and `v -W build-examples`; run vfmt. 2021-03-19 09:49:26 +02: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 os: deprecate `os.File.write_bytes` and add `os.File.write_ptr` (#9370) 2021-03-20 09:02:28 +02:00