v/examples
Delyan Angelov 344f7ccdcb
Some checks are pending
Graphics CI / gg-regressions (push) Waiting to run
vlib modules CI / build-module-docs (push) Waiting to run
native backend CI / native-backend-ubuntu (push) Waiting to run
native backend CI / native-backend-windows (push) Waiting to run
Shy and PV CI / v-compiles-puzzle-vibes (push) Waiting to run
Sanitized CI / sanitize-undefined-clang (push) Waiting to run
Sanitized CI / sanitize-undefined-gcc (push) Waiting to run
Sanitized CI / tests-sanitize-address-clang (push) Waiting to run
Sanitized CI / sanitize-address-msvc (push) Waiting to run
Sanitized CI / sanitize-address-gcc (push) Waiting to run
Sanitized CI / sanitize-memory-clang (push) Waiting to run
sdl CI / v-compiles-sdl-examples (push) Waiting to run
Time CI / time-linux (push) Waiting to run
Time CI / time-macos (push) Waiting to run
Time CI / time-windows (push) Waiting to run
toml CI / toml-module-pass-external-test-suites (push) Waiting to run
Tools CI / tools-linux (clang) (push) Waiting to run
Tools CI / tools-linux (gcc) (push) Waiting to run
Tools CI / tools-linux (tcc) (push) Waiting to run
Tools CI / tools-macos (clang) (push) Waiting to run
Tools CI / tools-windows (gcc) (push) Waiting to run
Tools CI / tools-windows (msvc) (push) Waiting to run
Tools CI / tools-windows (tcc) (push) Waiting to run
Tools CI / tools-docker-ubuntu-musl (push) Waiting to run
vab CI / vab-compiles-v-examples (push) Waiting to run
vab CI / v-compiles-os-android (push) Waiting to run
wasm backend CI / wasm-backend (ubuntu-22.04) (push) Waiting to run
wasm backend CI / wasm-backend (windows-2022) (push) Waiting to run
examples,gg: add examples/gg/grid_of_rectangles.v; add gg.Context.draw_rect_filled_no_context/5 and gg.Context.draw_rect_empty_no_context/5
2025-09-01 23:28:47 +03:00
..
1brc tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
2048 gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
archive archive.tar: fix type in new_compressor fn name (#25006) 2025-07-30 19:49:00 +03:00
assets examples: add examples/assets/v.svg and examples/assets/v_16x16.svg 2024-10-31 11:56:17 +02:00
asteroids gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
breakout gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
build_system build: add build system (#23853) 2025-04-15 20:04:58 +03:00
call_c_from_v
call_v_from_c tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
call_v_from_python tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
call_v_from_ruby tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
clock gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
compiletime
concurrency
coroutines tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
cpu_features/SSE_and_MMX_Extensions examples: add a cpu_features/ folder, with several examples, using SSE and MMX assembly instructions (#22645) 2024-11-22 01:20:51 +02:00
database db: modify mysql/pg/sqlite interface for pool working (#24780) 2025-06-27 02:25:13 +03:00
dynamic_library_loader
dynamic_library_loading ci: remove the // vtest flaky: true tags from the remaining tests (#24379) 2025-06-19 20:16:49 +03:00
eventbus fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
fireworks gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
flag fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
flappylearning examples: add a consistent background to flappylearning, shown when the height of the view is very high (on Android) 2024-09-23 13:30:22 +03:00
game_of_life gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
get_weather
gg examples,gg: add examples/gg/grid_of_rectangles.v; add gg.Context.draw_rect_filled_no_context/5 and gg.Context.draw_rect_empty_no_context/5 2025-09-01 23:28:47 +03:00
graphs
hot_reload gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
js_dom_cube
js_dom_draw
js_dom_draw_benchmark_chart all: replace fn name '@xxx' with 'xxx' (#22506) 2024-10-12 22:17:02 +03:00
linear_regression
macos_tray tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
native
orm examples: remove unused import orm from orm_sql.v 2025-04-21 20:13:01 +03:00
password
pendulum-simulation gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
pico tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
process
quadtree_demo gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
readline
regex
smtp tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
snek gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
sokoban gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
sokol gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
ssl_server
submodule
templates fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
term.ui examples: cleanup examples/term.ui/event_viewer.v 2024-12-15 15:09:56 +02:00
tetris gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
thread_safety examples: fix some of the instructions in examples/thread_safety/ (#22571) 2024-10-22 11:36:38 +03:00
ttf_font gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
vanilla_http_server parser, ast, fmt: convert "hello".str => c"hello" (fix #24635) (#24652) 2025-06-08 11:44:38 +03:00
vcasino
veb veb: deprecate vweb (part 2); move all vweb examples to veb 2025-03-02 14:37:20 +03:00
viewer gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
vwatch
vweb_fullstack Duplicate ./examples/assets/v.svg history in ./examples/vweb_fullstack/src/assets/v-logo.svg history. 2024-10-31 11:56:17 +02:00
vweb_orm_jwt
wasm tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
wasm_codegen
web_crawler
websocket tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
word_counter
.gitignore
asm.v tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
binary_search_tree.v
brainvuck.v
bst_map.v
buf_reader.v
c_interop_wkhtmltopdf.v checker: do not allow &u8(0), force nil like we do with &Type(0) 2025-05-03 22:37:51 +03:00
cli.v
control_thread_stack_size.v
custom_error.v
diff.v vlib,tools: add an arrays.diff module, implement a simple platform independent tool v diff file1.txt file2.txt using it (#24428) 2025-05-08 11:09:36 +03:00
dump_factorial.v
errors.v
euler.v examples: add euler.v 2025-08-23 13:50:45 +03:00
fetch.v
fetch_ip.v
fibonacci.v all: use arguments() instead of os.args in some files 2025-02-20 03:07:30 +03:00
file_list.v
fizz_buzz.v
function_types.v
get_raw_line.v os: fix get_raw_line() on windows (fix #23843) (#23846) 2025-03-03 06:55:35 +02:00
hanoi.v
hello_world.v
http_server.v tests: add a test for short enum syntax across modules (related #12183) (#22210) 2024-09-13 17:07:01 +03:00
js_hello_world.v examples: reduce completion friction, when doing the very common v run examples/hello_world.v in a shell 2024-12-08 23:50:47 +02:00
json.v
lander.v
links_scraper.v builtin: string.index_after() ?int 2025-03-12 23:03:25 +03:00
log.v
logfatal.v
mini_calculator.v
mini_calculator_recursive_descent.v examples: cleanup and shorten mini_calculator_recursive_descent.v to 98 lines (#23847) 2025-03-03 19:34:43 +02:00
minimal_c_like_program_using_puts.v tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
nbody.v
net_failconnect.v
net_peer_ip.v
net_raw_http.v
net_resolve.v examples: change var name '@type' to 'type' in net_resolve.v (#22526) 2024-10-15 13:00:09 +03:00
net_t.v
net_udp_server_and_client.v
news_fetcher.v examples: fetch 30 stories instead of 10 in examples/news_fetcher.v 2025-03-25 09:13:56 +02:00
path_tracing.v
pidigits.v
poll_coindesk_bitcoin_vs_usd_rate.v examples: fix poll_coindesk_bitcoin_vs_usd_rate.v, use the new v2 API endpoint 2025-03-02 09:19:25 +02:00
primes.v examples: use a sieve of Eratosthenes in primes.v, to handle bigger inputs more efficiently 2025-07-31 07:54:36 +03:00
quick_sort.v
random_ips.v
readdir.v
rule110.v
rune.v
sha256sum_with_io_cp.v examples,io: add sha256sum_with_io_cp.v, make the size of the buffer used by io.cp parametrisable (#23585) 2025-01-26 15:44:15 +02:00
spectral.v
sudoku.v examples: add a simple sudoku solver 2025-05-18 11:54:56 +03:00
sync_pool.v examples: add sync_pool.v for easier testing/diagnosing issues with the sync.pool implementation on different platforms 2025-03-25 20:11:19 +02:00
tcp_echo_server.v
tcp_notify_echo_server.v
term_display_sixel.v
term_key_pressed.v term: add key_pressed, enable_echo (fix #21826) (#23171) 2024-12-27 10:36:39 +02:00
terminal_control.v
toml.v
tree_of_nodes.v
v_script.vsh
vascii.v examples: add vascii.v showing a table of the first 128 ASCII characters with their names and codes in dec, oct, hex, bin formats (#23466) 2025-01-14 21:38:52 +02:00
vmatrix.v
vmod.v
vpwgen.v
vtail.v