1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples
2022-03-24 23:37:13 +02:00
..
2048 rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02: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_python examples: enhance the call_v_from_python example, with a fn accepting 2 f64 params (#13480) 2022-02-16 09:12:49 +02:00
clock 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
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 use os.quoted_path more 2022-01-22 22:22:22 +02:00
eventbus examples: improve the sendbus example (#13604) 2022-02-26 09:50:44 +02:00
fireworks rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
flappylearning 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
game_of_life gg: renaming drawing functions (#12913) 2021-12-23 13:31:25 +02:00
get_weather ci: fix failing vweb_test.v 2021-08-17 18:57:04 +03:00
gg rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
hot_reload os: add font module, move from gg (#13144) 2022-01-13 12:16:18 +02:00
js_dom_cube js: add fixes for generic structures and functions; add promise API; refactor modules (#12575) 2021-11-25 16:49:53 +02:00
js_dom_draw js: add fixes for generic structures and functions; add promise API; refactor modules (#12575) 2021-11-25 16:49:53 +02:00
linear_regression
native native: implement for-c and for-in range loops (#12155) 2021-11-30 11:49:30 +02:00
pendulum-simulation examples: improve the pendulum simulation, with several modes and diagrams (#13446) 2022-02-12 19:38:07 +02:00
pico picoev: error handling workaround (#9913) 2021-05-01 14:20:10 +03:00
process
regex all: update copyright year 2022-01-04 12:21:12 +03:00
smtp tools: format most examples and tutorials, add them to v test-cleancode (#9826) 2021-04-20 17:16:35 +03:00
snek rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
sokol builtin: support a.flags.set(.noslices | .noshrink), use it in the particles example (#13818) 2022-03-24 23:37:13 +02:00
submodule Revert "v.util: make mod_path_to_full_name more robust" 2022-01-31 06:57:50 +02:00
templates fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
term.ui rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
tetris rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
ttf_font parser: notice unnecessary parenthesis of reference (fix #11179) (#13739) 2022-03-15 16:11:53 +02:00
vcasino rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
viewer examples: use vmemset instead of C.memset (#13104) 2022-01-09 16:08:11 +02:00
vweb examples: avoid flash of unstyled content in the vweb_assets example 2022-03-21 19:13:53 +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 all: update copyright year 2022-01-04 12:21:12 +03:00
.gitignore log: improve logging interface (#12886) 2021-12-18 12:38:43 +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
bst_map.v datatypes: add a binary search tree implementation (#13453) 2022-02-22 10:28:01 +02: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 all: initial interpreter code (#12605) 2021-12-08 11:09:10 +03:00
file_list.v examples: add web_crawler and get_weather (#10084) 2021-05-14 11:09:21 +03:00
fizz_buzz.v
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
hello_world.v
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
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
log.v log: improve logging interface (#12886) 2021-12-18 12:38:43 +02:00
mini_calculator.v examples/mini_calculator.v: handle ctrl-d gracefully 2021-08-20 10:07:41 +03:00
nbody.v
net_peer_ip.v
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
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 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
path_tracing.v all: update copyright year 2022-01-04 12:21:12 +03:00
quick_sort.v rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
random_ips.v
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 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
toml.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
tree_of_nodes.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
v_script.vsh scanner: multibyte rune literals now support unicode, hex, and octal escape codes (#13140) 2022-01-19 03:23:25 +03:00
vmod.v
vpwgen.v strings: rename Builder.write_b() to Builder.write_byte(), add deprecation (#13313) 2022-01-28 20:34:44 +02:00