Delyan Angelov
|
bb13e6601e
|
examples: use a sieve of Eratosthenes in primes.v, to handle bigger inputs more efficiently
|
2025-07-31 07:54:36 +03:00 |
|
gechandesu
|
75417c55fc
|
archive.tar: fix type in new_compressor fn name (#25006)
|
2025-07-30 19:49:00 +03:00 |
|
Jorge Mireles
|
a8d75c10b5
|
vlib: add archive.tar module to enable reading of .tar ang .tar.gz files (#24995)
|
2025-07-30 19:11:41 +03:00 |
|
Delyan Angelov
|
952f63ef43
|
examples: add examples/sokol/sounds/simple_keyboard_synth.v
|
2025-07-06 15:05:22 +03:00 |
|
kbkpbot
|
7039081d66
|
db: modify mysql/pg/sqlite interface for pool working (#24780)
|
2025-06-27 02:25:13 +03:00 |
|
Delyan Angelov
|
99be39cbd1
|
ci: remove the // vtest flaky: true tags from the remaining tests (#24379)
|
2025-06-19 20:16:49 +03:00 |
|
Jose Mendoza
|
a5f400ee77
|
parser, ast, fmt: convert "hello".str => c"hello" (fix #24635) (#24652)
|
2025-06-08 11:44:38 +03:00 |
|
Delyan Angelov
|
262a72ea96
|
examples: cleanup memory.v (reduce it to 135 lines)
|
2025-06-03 11:17:13 +03:00 |
|
Delyan Angelov
|
d7061cbfef
|
examples: add a small memory game (#24643)
|
2025-06-02 23:02:48 +03:00 |
|
Delyan Angelov
|
ddfedc79ae
|
examples: add primes.v, that shows how to get command line arguments, and use loops and functions
|
2025-05-19 17:39:18 +03:00 |
|
Delyan Angelov
|
d06e11188b
|
examples: add a simple sudoku solver
|
2025-05-18 11:54:56 +03:00 |
|
Delyan Angelov
|
91328346a5
|
examples: support boxoban style collections of levels files (from https://github.com/google-deepmind/boxoban-levels/)
|
2025-05-15 15:42:53 +03:00 |
|
Delyan Angelov
|
5e61690898
|
examples: add more Sokoban levels
|
2025-05-12 12:32:20 +03:00 |
|
Delyan Angelov
|
d96310f07d
|
examples: support directly loading sokoban level files by path
|
2025-05-12 11:49:56 +03:00 |
|
Delyan Angelov
|
4f46aa84e5
|
os.asset: add read_text/2 too, use it to simplify the sokoban example
|
2025-05-12 11:20:12 +03:00 |
|
Delyan Angelov
|
95bac6db00
|
examples: show the number of pushes in sokoban too
|
2025-05-12 10:36:48 +03:00 |
|
Delyan Angelov
|
ed84fb9ce8
|
examples: cleanup unsafe{} blocks that are not needed anymore in examples/sokol/08_sdf/sdf.v
|
2025-05-10 10:19:34 +03:00 |
|
kbkpbot
|
3291372c57
|
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 |
|
Alexander Medvednikov
|
7d57a19d7e
|
checker: do not allow &u8(0), force nil like we do with &Type(0)
|
2025-05-03 22:37:51 +03:00 |
|
Delyan Angelov
|
0a50715b03
|
examples: remove unused import orm from orm_sql.v
|
2025-04-21 20:13:01 +03:00 |
|
Emma
|
e972860fc9
|
build: add build system (#23853)
|
2025-04-15 20:04:58 +03:00 |
|
kbkpbot
|
b180a03253
|
orm: fix option type, convert from int to i8, add examples, etc (fix #24211) (#24213)
|
2025-04-14 20:19:31 +03:00 |
|
Delyan Angelov
|
e968139439
|
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 |
|
Delyan Angelov
|
86402934d3
|
examples: fetch 30 stories instead of 10 in examples/news_fetcher.v
|
2025-03-25 09:13:56 +02:00 |
|
Delyan Angelov
|
fc6f6b2ca7
|
examples: add a small examples/gg/bouncing_balls.v simulation of falling balls
|
2025-03-24 13:17:59 +02:00 |
|
Delyan Angelov
|
7bbe510a8d
|
examples: update rotating_textured_quad.v with instructions on how to compile/run it with emscripten and a browser
|
2025-03-21 23:42:44 +02:00 |
|
Delyan Angelov
|
ccd709ce43
|
examples: fix v -os wasm32_emscripten -o ms.html examples/gg/minesweeper.v (use os.asset to load the font, avoid the implicit closures for the frame/event callbacks)'
|
2025-03-21 23:19:10 +02:00 |
|
Delyan Angelov
|
e6f027dfa0
|
examples: fix v should-compile-all examples/
|
2025-03-18 09:49:41 +02:00 |
|
Delyan Angelov
|
ef0d5caaf8
|
examples: remove the generic alias type overloaded operator workaround, after 29e60da
|
2025-03-18 09:27:56 +02:00 |
|
Delyan Angelov
|
5978cbcfbf
|
examples: add an asteroids game (it is currently < 400 lines of V, using gg)
|
2025-03-17 15:41:50 +02:00 |
|
Delyan Angelov
|
a80bc23314
|
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 |
|
Alexander Medvednikov
|
951d30405f
|
builtin: string.index_after() ?int
|
2025-03-12 23:03:25 +03:00 |
|
Hitalo Souza
|
f787e0317e
|
examples: add vanilla_http_server - a fast, multi-threaded, non-blocking, port and host reuse, thread-safe, epoll server (#23094)
|
2025-03-10 19:44:32 +02:00 |
|
Delyan Angelov
|
03d033fa4b
|
examples: make the 2048 game update rate, independent from the frame rate as well
|
2025-03-09 09:18:52 +02:00 |
|
Delyan Angelov
|
aafbda4bc4
|
examples: make the tetris update rate, independent from the frame rate too
|
2025-03-09 09:05:02 +02:00 |
|
Delyan Angelov
|
2860152e82
|
gg,examples: use a timer to limit the rate of updates in breakout, instead of a separate thread, restore ability to run in a browser through emscripten
|
2025-03-09 08:45:21 +02:00 |
|
Delyan Angelov
|
77a9e6e1b8
|
examples: run the update method of breakout on its own frame independent rate
|
2025-03-09 01:47:03 +02:00 |
|
larpon
|
0210567af2
|
examples: add subtle light and shadow effects to the breakout game, to give it a little depth (#23885)
|
2025-03-09 00:44:33 +02:00 |
|
Delyan Angelov
|
ef6b81d214
|
examples: fix (ball->side edge of brick) collision detection in breakout.v
|
2025-03-09 00:41:49 +02:00 |
|
Delyan Angelov
|
e475e9d437
|
examples: shorten the periodic output of examples/hot_reload/message.v
|
2025-03-08 14:02:35 +02:00 |
|
Delyan Angelov
|
d59f21776b
|
examples: use textures in the sokoban game, instead of colors
|
2025-03-07 16:17:03 +02:00 |
|
Delyan Angelov
|
543a1d2d28
|
examples: add a small Sokoban puzzle game with levels (see https://en.wikipedia.org/wiki/Sokoban)
|
2025-03-07 12:39:05 +02:00 |
|
Delyan Angelov
|
b85c9e06ae
|
examples: add a small minesweeper game in examples/gg/minesweeper.v
|
2025-03-07 02:03:17 +02:00 |
|
Delyan Angelov
|
0ffc33a5c9
|
examples, gg, gg.m4: fix VFLAGS='-no-skip-unused -cstrict -cc clang-18' v should-compile-all examples/sokol/ too
|
2025-03-06 19:58:25 +02:00 |
|
Delyan Angelov
|
3a331e01e0
|
examples: fix more compilation errors with -cstrict -cc clang-18 for the sokol examples
|
2025-03-06 19:01:48 +02:00 |
|
Delyan Angelov
|
86740bb0a7
|
examples, v.builder: fix v -cstrict -cc gcc-11 examples/sokol/particles and the same but with clang-18 too
|
2025-03-06 18:51:28 +02:00 |
|
Delyan Angelov
|
e9a4312491
|
examples: cleanup snek.v, by using math.vec , the builtin array support, instead of datatypes , and by removing casts that are no longer needed
|
2025-03-05 18:50:55 +02:00 |
|
Delyan Angelov
|
2dc5f68894
|
examples: add a small breakout game, supporting keyboard and touch controls (#23861)
|
2025-03-05 13:58:29 +02:00 |
|
Delyan Angelov
|
cec123a0df
|
math,examples: add examples/sokol/sounds/simple_sin_tone_using_audio_push.v, cleanup math
|
2025-03-04 12:19:27 +02:00 |
|
Delyan Angelov
|
3e4f9d7fa1
|
examples: cleanup and shorten mini_calculator_recursive_descent.v to 98 lines (#23847)
|
2025-03-03 19:34:43 +02:00 |
|