v/examples
jacksonmowry 76b4c92848
db.sqlite: make functions return results, breaking change (#19093)
2023-08-10 05:39:32 +03:00
..
2048 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +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_v_from_c examples: use `-Wl,-rpath=.` instead of `LD_LIBRARY_PATH=.` in the `call_v_from_c` example (#17244) 2023-02-08 09:44:10 +02:00
call_v_from_python examples: mention `-d no_backtrace` in examples/call_v_from_python/README.md 2022-11-01 18:16:30 +02:00
call_v_from_ruby examples: show how to call a simple v module from ruby (#19073) (#19073) 2023-08-07 07:07:00 +03:00
clock time: store time with nanosecond resolution in time.Time, deprecate Time.microsecond, add utility methods and tests (#19062) 2023-08-05 23:41:23 +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 examples: add http.get and file writes to the coroutines example 2023-06-12 13:05:59 +03:00
database db.sqlite: make functions return results, breaking change (#19093) 2023-08-10 05:39:32 +03:00
dynamic_library_loader vlib: add a new dl.loader module, to simplify dynamic library loading, when the DLLs may be in multiple customisable locations (#17161) 2023-01-31 09:27:48 +02:00
dynamic_library_loading vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
eventbus eventbus: add generic support for event name (#18805) 2023-07-07 22:33:57 +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 gg: make create_image() return !Image 2023-03-29 19:04:41 +02:00
game_of_life fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
get_weather vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
gg examples: add examples/gg/many_thousands_of_circles.v, thanks to @xjunko, document how to use `ctx.end(how:.passthru)`. (#18832) 2023-07-10 15:33:14 +03:00
graphs examples: fix typos (#18229) 2023-05-25 16:54:46 +03:00
hot_reload fmt: replace `go` with `spawn` 2022-11-05 10:46:40 +03:00
js_dom_cube examples, readme: fix typos (#18994) 2023-07-29 15:27:03 +03:00
js_dom_draw examples, readme: fix typos (#18994) 2023-07-29 15:27:03 +03:00
js_dom_draw_bechmark_chart examples, readme: fix typos (#18994) 2023-07-29 15:27:03 +03:00
linear_regression .gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
macos_tray vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
native native: implement for-c and for-in range loops (#12155) 2021-11-30 11:49:30 +02:00
password vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
pendulum-simulation fmt: fix functions with short arguments (fix #18398) (#18459) 2023-06-16 09:47:40 +03:00
pico picoev, picohttparser: reimplement in V (#18506) 2023-07-12 09:40:16 +03:00
process examples: cleanup `process_script.v` (#18899) 2023-07-18 17:22:26 +03:00
quadtree_demo vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
readline termios: new termios module (#17792) 2023-03-30 08:58:52 +03:00
regex examples: fix typos (#18229) 2023-05-25 16:54:46 +03:00
smtp examples: fix unset reader notice for the smtp/mail example (#17998) 2023-05-02 22:54:57 +03:00
snek vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
sokol tools: add cmd/tools/show_ancient_deprecations.v, to cleanup ancient functionality, deprecated over an year ago (#18946) 2023-07-22 19:13:58 +03: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 term.ui, vweb, v: update deprecated functions (#18726) 2023-07-02 09:38:33 +03:00
tetris all: 2023 copyright 2023-03-28 22:55:57 +02:00
ttf_font examples: fix typos (#18229) 2023-05-25 16:54:46 +03:00
vcasino vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
viewer examples: fix typos (#18229) 2023-05-25 16:54:46 +03:00
vwatch db.sqlite: make functions return results, breaking change (#19093) 2023-08-10 05:39:32 +03:00
vweb vweb: use `<head>` instead of `<header>` in the html templates (#18516) 2023-06-22 11:11:02 +03:00
vweb_fullstack tools: remove residues that specify size for tab indents (#18426) 2023-06-13 08:53:12 +03:00
vweb_orm_jwt tools: remove residues that specify size for tab indents (#18426) 2023-06-13 08:53:12 +03:00
wasm wasm: add a webassembly compiler backend, based on using binaryen (#17368) 2023-02-28 23:58:53 +02:00
wasm_codegen wasm: add basic debuginfo through `name` section (#18130) 2023-05-08 09:31:36 +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 examples: fix typos (#18229) 2023-05-25 16:54:46 +03: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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03: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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
cli.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
control_thread_stack_size.v cgen: support `[spawn_stack: 131072]` fn attribute, for controlling the max size of the stack, of the spawned threads (#17222) 2023-02-09 15:57:53 +02: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
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 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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
logfatal.v log: mark log.fatal as `[noreturn]` (#16129) 2022-10-21 10:33:49 +03:00
mini_calculator.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
nbody.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02: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 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
news_fetcher.v all: 2023 copyright 2023-03-28 22:55:57 +02:00
path_tracing.v examples: fix typos (#18229) 2023-05-25 16:54:46 +03:00
quick_sort.v all: replace generic `<>` with `[]` - part 2 (#16536) 2022-11-26 18:23:26 +02:00
random_ips.v db, json, time, term: change optional to result (#16201) 2022-10-26 11:26:28 +03: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