v/examples
2024-02-11 12:35:45 +02:00
..
2048 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
assets examples: clean file path usage in the examples, move all the fonts in the common assets folder (#12736) 2021-12-06 09:53:46 +02:00
call_c_from_v pref: fix unintended file extensions in default output names, allow for v run file.c.v (#19745) 2023-11-03 19:51:44 +02:00
call_v_from_c all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
call_v_from_python all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
call_v_from_ruby examples: fix "call v from ruby" example for Windows and Mac (#20487) 2024-01-12 15:59:09 +02:00
clock all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
compiletime all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
concurrency vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
coroutines coroutines: use photon work_pool when nr_jobs > 0, and use photon libc fn wrappers (#19711) 2023-10-31 20:12:52 +03:00
database all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
dynamic_library_loader cgen, dl: add windows dll support, fix (#20447) (#20459) 2024-01-10 10:59:52 +02:00
dynamic_library_loading all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
eventbus all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
fireworks cgen: remove the need for [console] for gg or ui programs on windows (#15912) 2022-09-29 15:02:50 +03:00
flappylearning examples: fix link for image flappy.png in examples/flappylearning/README.md (#20605) 2024-01-21 07:48:32 +02:00
game_of_life all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
get_weather all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
gg examples: shrink examples/gg/minimal.v even more 2023-12-29 16:46:18 +02:00
graphs checker: fix generic fn with generic fn call returning generic map (fix #20106) (#20150) 2023-12-12 11:41:58 +02:00
hot_reload examples: fix gg: 0 notice for bounce.v 2024-01-08 04:30:16 +02:00
js_dom_cube ci: run VAUTOFIX=1 ./v check-md -hide-warnings . to fix doc failures 2023-11-25 09:34:46 +02:00
js_dom_draw ci: run VAUTOFIX=1 ./v check-md -hide-warnings . to fix doc failures 2023-11-25 09:34:46 +02:00
js_dom_draw_benchmark_chart examples: fix path in js_dom_draw_benchmark example docs (#20780) 2024-02-11 12:35:45 +02:00
linear_regression .gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
macos_tray all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
native native: implement for-c and for-in range loops (#12155) 2021-11-30 11:49:30 +02:00
password all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
pendulum-simulation examples: cleanup dumps in examples/pendulum-simulation/modules/sim/args/parser.v 2024-01-29 04:39:44 +02:00
pico picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
process examples: add an example of a simple process wrapper, built around an interactive python process, in wrapping_interactive_python.v 2023-12-08 14:39:08 +02:00
quadtree_demo datatypes,examples: fix typos, and silence notice in the quadtree example (#20577) 2024-01-18 15:31:42 +02:00
readline all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
regex examples: fix typo (exteranl -> external) and tidy up list in examples/regex/readme.md (#20601) 2024-01-20 19:53:16 +02:00
smtp examples: fix unset reader notice for the smtp/mail example (#17998) 2023-05-02 22:54:57 +03:00
snek all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
sokol examples: cleanup the glsl includes in the sokol examples 2024-01-29 03:55:09 +02:00
ssl_server net.mbedtls: add SSLListener to allow creating SSL servers (#19022) 2023-08-01 20:45:50 +03:00
submodule examples: add missing v.mod file (#14392) 2022-05-14 14:48:42 +03:00
templates examples: fix typos (#18229) 2023-05-25 16:54:46 +03:00
term.ui examples: add casts to the term.ui callback functions to satisfy stricter type checking with newer versions of clang (or older ones with -cc clang -cstrict) (#20624) 2024-01-23 09:36:10 +02:00
tetris all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
ttf_font all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
vcasino all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
viewer cgen: fix missing line breaks in generated code with closure IIFE, when compiled with '-g' (fix #20306) (#20316) 2023-12-31 07:04:41 +02:00
vwatch db.sqlite: make functions return results, breaking change (#19093) 2023-08-10 05:39:32 +03:00
vweb websocket: enable using an already existing connection (from vweb or another http server) (#20103) 2023-12-19 14:16:07 +02:00
vweb_fullstack all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
vweb_orm_jwt all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
wasm examples: add examples/wasm/change_color_by_id/ (#20519) 2024-01-14 13:34:23 +02:00
wasm_codegen examples: fix brainvuck.v (handle [ and ] properly); allow both brainvuck.v wasm_codegen/bf_compiler.v to work with .b files too 2023-10-03 17:01:55 +03:00
web_crawler net.html: fix semantic inconsistencies of tag retrieving functions (#18558) 2023-06-27 20:10:31 +03:00
websocket net.websocket: make thread safe/concurrent (#18179) 2023-05-18 11:27:00 +02:00
word_counter all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
xvweb x.vweb: add cors middleware (#20713) 2024-02-05 00:16:29 +02:00
.gitignore log: improve logging interface (#12886) 2021-12-18 12:38:43 +02:00
asm.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
binary_search_tree.v examples: fix typos (#18229) 2023-05-25 16:54:46 +03:00
brainvuck.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
bst_map.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
buf_reader.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
c_interop_wkhtmltopdf.v all: make all struct C.XYZ -> pub struct C.XYZ (#19651) 2023-10-25 15:01:50 +03:00
cli.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
control_thread_stack_size.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
custom_error.v examples: add custom_error.v, that shows how to match over possible errors (#16265) 2022-10-31 09:56:41 +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: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fetch_ip.v examples: add examples/fetch_ip.v, showing how to contact http://ifconfig.co/json and parse the result 2023-09-06 12:24:01 +03:00
fibonacci.v docs: document more builtin functions/methods (#14229) 2022-04-30 12:31:23 +03:00
file_list.v examples: add web_crawler and get_weather (#10084) 2021-05-14 11:09:21 +03:00
fizz_buzz.v examples: cleanup examples/fizz_buzz.v 2024-01-27 19:19:20 +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 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
hello_v_js.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
hello_world.v examples: reorganize 2020-03-21 09:47:38 +01:00
http_server.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
json.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
lander.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
links_scraper.v http: refactor and reduce duplication 2020-01-16 18:16:11 +01:00
log.v log: improve the most common use case (#19242) 2023-08-31 06:44:11 +03:00
logfatal.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
mini_calculator.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
nbody.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
net_failconnect.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
net_peer_ip.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
net_raw_http.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
net_resolve.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
net_t.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
net_udp_server_and_client.v examples: fix net_udp_server_and_client.v with latest V and latest net module (listen on 0.0.0.0, and dial to 127.0.0.1) (#19564) 2023-10-14 17:08:26 +03:00
news_fetcher.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
path_tracing.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
quick_sort.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
random_ips.v db, json, time, term: change optional to result (#16201) 2022-10-26 11:26:28 +03:00
readdir.v os: document os.ls (using readdir), add example (#20622) 2024-01-21 20:45:19 +02:00
rule110.v rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02: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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
tcp_notify_echo_server.v checker: check if guard returning non-propagate option or result (fix #17742) (#17794) 2023-03-29 14:51:29 +03:00
terminal_control.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
toml.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
tree_of_nodes.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
v_script.vsh ci: more ? -> ! fixes 2022-10-16 22:57:38 +03:00
vmod.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
vpwgen.v all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00