v/examples
2024-05-23 21:30:41 +03:00
..
2048 time: update unix time acces, fix issues related to deviating unix times (#21293) 2024-04-17 00:33:37 +03:00
assets
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 warnings about 0 assignments to reference fields (#21133) 2024-03-29 10:35:37 +02:00
game_of_life examples: fix warnings about 0 assignments to reference fields (#21133) 2024-03-29 10:35:37 +02:00
get_weather all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
gg examples: fix warnings about 0 assignments to reference fields (#21133) 2024-03-29 10:35:37 +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 warnings about 0 assignments to reference fields (#21133) 2024-03-29 10:35:37 +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
macos_tray all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
native
password all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
pendulum-simulation breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
pico picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
process examples: remove obsolete examples/process/.ignore file 2024-04-20 14:03:17 +03:00
quadtree_demo builtin: str.last_index(); pref: hide-auto-str; 2024-03-28 18:26:30 +03:00
readline all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
regex examples: fix v -N examples/regex/regex_example.v 2024-05-01 14:48:55 +03:00
smtp examples: fix unset reader notice for the smtp/mail example (#17998) 2023-05-02 22:54:57 +03:00
snek examples: fix warnings about 0 assignments to reference fields (#21133) 2024-03-29 10:35:37 +02:00
sokol breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
ssl_server net.mbedtls: add SSLListener to allow creating SSL servers (#19022) 2023-08-01 20:45:50 +03:00
submodule v.utils: fix module lookup if module import parts end with the word modules (#21083) 2024-03-24 20:22:16 +02:00
templates examples: fix typos (#18229) 2023-05-25 16:54:46 +03:00
term.ui all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
tetris all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
ttf_font examples: fix warnings about 0 assignments to reference fields (#21133) 2024-03-29 10:35:37 +02:00
vcasino vlib: refactor empty string checks to use s == '' or s != '', instead of s.len == 0 (#21300) 2024-04-18 02:44:31 +03:00
viewer vlib: refactor empty string checks to use s == '' or s != '', instead of s.len == 0 (#21300) 2024-04-18 02:44:31 +03:00
vwatch db.sqlite: make functions return results, breaking change (#19093) 2023-08-10 05:39:32 +03:00
vweb veb: copy x.vweb to veb, and make it work with comptime 2024-04-24 19:23:19 +03: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 vlib: refactor empty string checks to use s == '' or s != '', instead of s.len == 0 (#21300) 2024-04-18 02:44:31 +03:00
.gitignore
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
errors.v
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
fizz_buzz.v examples: cleanup examples/fizz_buzz.v 2024-01-27 19:19:20 +02:00
function_types.v
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
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
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 examples: limit news_fetcher.v 2024-05-23 21:30:41 +03:00
path_tracing.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
pidigits.v examples: add pidigits.v; optimise math.big's Integer divide a bit (#21239) 2024-04-09 17:01:05 +03: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
spectral.v
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
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
vtail.v examples: add vtail.v, deprecate File.read_bytes_into_newline/1 in favor of File.read_bytes_with_newline/1 (#21182) 2024-04-04 11:09:06 +03:00