v/examples
Delyan Angelov b25c0e5ef6
examples: do not write to files in examples/templates/templates.v
2021-06-12 17:08:14 +03:00
..
2048 gg: fix width and height in draw_rounded_rect primitive (#9926) 2021-04-29 10:58:57 +03:00
assets/fonts examples: add license files for fonts 2020-03-07 14:14:37 +01:00
compiletime tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
concurrency tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
database examples: rename "Chield" to "Child" in examples/database/orm.v (#10414) 2021-06-11 11:52:06 +03:00
dynamic_library_loading v.markused: mark all `pub` functions on `-shared -skip-unused` 2021-04-12 09:29:34 +03:00
eventbus tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
fireworks tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
flappylearning tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
game_of_life examples: fix compilation with -prod 2021-04-23 14:48:07 +03:00
get_weather examples: add web_crawler and get_weather (#10084) 2021-05-14 11:09:21 +03:00
gg examples: add a gg timer example, drawing the result coming from a worker thread (#10065) 2021-05-10 11:30:24 +03:00
hot_reload tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
linear_regression .gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
native x64: rename to `native` to not conflict with the x64 comptime variable 2021-04-27 12:24:58 +03:00
pendulum_sim example: add a pendulum simulation (#9992) 2021-05-05 16:09:38 +03:00
pico picoev: error handling workaround (#9913) 2021-05-01 14:20:10 +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 tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
snek gg: use gg types for Events instead of sapp 2021-02-17 06:44:01 +01:00
sokol all: new string interpolation in pure V (#10181) 2021-05-24 05:20:45 +03:00
submodule builder: fix a bug with submodule import (#10318) 2021-06-05 12:45:23 +03:00
templates examples: do not write to files in examples/templates/templates.v 2021-06-12 17:08:14 +03:00
term.ui all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
tetris examples: fix dropping pieces with -autofree for tetris.v 2021-03-17 14:45:32 +02:00
ttf_font all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
vcasino fmt: reset const field align after multi line exprs (#9916) 2021-04-29 02:17:37 +03:00
vweb vweb: detect mime type automatically in serve_static() 2021-05-22 07:02:25 +03:00
web_crawler strings: simplify Builder (#10263) 2021-05-31 14:21:06 +03:00
websocket all: deprecate write_str and replace it with write_string (#9369) 2021-03-20 17:25:51 +01:00
word_counter tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
.gitignore jsgen: fix string and array for loops and improve casting (#9295) 2021-03-14 08:20:01 +02:00
asm.v Revert "examples: split asm.v to asm.amd64.v and asm.i386.v" 2021-06-07 20:23:44 +03:00
bfs.v examples: add a BFS example for finding the shortest distance between nodes in a graph (#10006) 2021-05-05 21:52:28 +03:00
binary_search_tree.v example: improve binary search tree example (#10226) 2021-05-27 20:13:02 +03:00
buf_reader.v io: deprecate io.make_reader (not needed anymore) 2021-05-13 10:26:26 +03:00
c_interop_wkhtmltopdf.v examples: fix -cstrict compilation of c_interop_wkhtmltopdf.v 2021-06-05 10:03:57 +03:00
cli.v tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03: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 tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
file_list.v examples: add web_crawler and get_weather (#10084) 2021-05-14 11:09:21 +03: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 tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +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 compilation 2021-04-04 20:14:51 +03: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 tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +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