1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples
2021-11-11 18:09:57 +02:00
..
2048 examples: use app.gg.quit() instead of exit(0) 2021-11-11 17:45:22 +02:00
assets/fonts examples: add license files for fonts 2020-03-07 14:14:37 +01:00
clock examples: fix initial clock size on hdpi displays 2021-11-11 18:09:57 +02:00
compiletime docs: improve the docs by provide better examples and describe module publishing (#12308) 2021-10-31 11:32:31 +02:00
concurrency tools: format most examples and tutorials, add them to v test-cleancode (#9826) 2021-04-20 17:16:35 +03:00
database orm: fix other int types (#11981) 2021-09-26 11:17:56 +03:00
dynamic_library_loading native: rename cgen to code_gen to avoid confusion with cgen 2021-09-10 03:17:53 +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 parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
flappylearning examples: use app.gg.quit() instead of exit(0) 2021-11-11 17:45:22 +02:00
game_of_life examples: remove unneeded workaround (#12336) 2021-10-30 18:49:54 +03:00
get_weather ci: fix failing vweb_test.v 2021-08-17 18:57:04 +03:00
gg gg: cleanup the minimal gg program more 2021-11-07 09:16:49 +02:00
hot_reload gg: remove obsolete usages of use_ortho: true 2021-06-24 11:15:12 +03:00
js_dom_draw jsdom: add Path2D API, All CanvasRenderingContext2D methods (except image methods) (#12404) 2021-11-07 10:06:28 +02: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 examples: prevent a 180 turn in snek (#12286) 2021-10-25 10:57:05 +03:00
sokol parser: deprecate size_t (#11443) 2021-09-08 13:09:32 +03:00
submodule builder: fix a bug with submodule import (#10318) 2021-06-05 12:45:23 +03:00
templates fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
term.ui parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
tetris examples: use app.gg.quit() instead of exit(0) 2021-11-11 17:45:22 +02:00
ttf_font gg: remove obsolete usages of use_ortho: true 2021-06-24 11:15:12 +03:00
vcasino fmt: reset const field align after multi line exprs (#9916) 2021-04-29 02:17:37 +03:00
vweb examples: improve examples/vweb/file_upload 2021-11-10 18:26:16 +02:00
web_crawler ci: fix failing vweb_test.v 2021-08-17 18:57:04 +03:00
websocket examples: fix a typo (#10984) 2021-07-28 22:39:37 +03: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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
binary_search_tree.v examples: make the binary search tree example generic (#11968) 2021-09-24 21:17:26 +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 net.http: support passing client certificates in http.fetch (#11356) 2021-09-01 01:43:35 +03: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
function_types.v doc: document type Fn = fn (string) string (type aliases) (#10471) 2021-06-22 12:39:57 +03:00
hanoi.v examples: remove unused return types in hanoi.v (#10661) 2021-07-04 17:34:58 +03: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
http_server.v examples: fix 404 status code for not found pages in examples/http_server.v 2021-08-31 12:13:58 +03: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 examples/mini_calculator.v: handle ctrl-d gracefully 2021-08-20 10:07:41 +03: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 net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
net_resolve.v net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
net_t.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
net_udp_server_and_client.v net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03: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 fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +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
rule110.v examples: add Rule 110 example (#11516) 2021-09-17 03:24:28 +03:00
rune.v add str function for rune 2019-07-01 17:36:23 +02:00
spectral.v fmt: remove unnecessary parentheses after return (fix #11423) (#11435) 2021-09-08 14:19:53 +03:00
tcp_echo_server.v net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
tcp_notify_echo_server.v examples: add TCP echo server using os.notify (#10481) 2021-06-16 19:15:56 +03:00
terminal_control.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
toml.v vlib: add toml module + tests (#11964) 2021-09-24 21:13:52 +03: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 v test-all: add a v run examples/v_script.vsh step too 2021-09-10 12:45:52 +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