Commit Graph

47 Commits (master)

Author SHA1 Message Date
Benjamin Stigsen 546c388b02
gg: renaming drawing functions (#12913) 2021-12-23 13:31:25 +02:00
Wertzui123 612e742c1f
examples: remove unneeded workaround (#12336) 2021-10-30 18:49:54 +03:00
playX 864d6eae6b
js: codegen & vlib fixes, replace the Game of Life CLI example (#12272) 2021-10-22 22:03:19 +03:00
Delyan Angelov f18265e6a8
gg: remove obsolete usages of `use_ortho: true` 2021-06-24 11:15:12 +03:00
Alexander Medvednikov 0567cbe431 examples: fix compilation with -prod 2021-04-23 14:48:07 +03:00
Lukas Neubert 16e79bc3ca
tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
Delyan Angelov accd4d83bf
ci: fix compilation 2021-04-04 20:14:51 +03:00
Delyan Angelov 2fbacd0e79
examples: remove unused 629KB demo.gif animation 2021-03-12 11:57:47 +02:00
Alexander Medvednikov 3a2d696fac time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
zakuro ac4791045f
time: consolidate the different sleep functions into time.wait(Duration) (#8853) 2021-02-21 17:05:03 +02:00
Lukas Neubert df4165c7ee
docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
Delyan Angelov cd399b7e6e examples: cleanup up the life automaton implementation 2020-11-04 10:00:59 +02:00
Delyan Angelov 9772eb7c96 examples: fix warnings when doing `./v -W -progress -check-syntax build-examples` 2020-10-26 13:14:26 +02:00
Alexander Medvednikov 13a7ce9e69 gg: GG => Context 2020-06-04 20:26:18 +02:00
Alexander Medvednikov 42e314d281 examples: skip live gg examples for now 2020-06-04 19:14:24 +02:00
Alexander Medvednikov 7496c1be2a examples: fix remaining examples and add them to CI 2020-06-02 19:47:28 +02:00
Alexander Medvednikov 4e51867612 make v build-examples work: part 1 2020-06-02 16:09:41 +02:00
Pradeep Verghese b52c98ac43
examples: fix compilation of game_of_life due to type mismatch 2020-05-29 09:45:20 +03:00
Delyan Angelov 104359365f examples: fix const name warnings due to gx.White, etc... 2020-05-22 20:00:46 +03:00
yuyi dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
Delyan Angelov b2e5ae9cd8 examples: fix compilation of the automaton for the game_of_life 2020-05-13 20:25:51 +03:00
Tim Basel 3e4cd12fd0
.gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
yuyi 2574dce174
all: fix remaining `[]array` warnings 2020-04-26 16:25:54 +02:00
joe-conigliaro 900d96c638
parser: allow deref assign without parens pt2 update vlib 2020-04-25 18:14:01 +10:00
joe-conigliaro 7177e71444
revert parser: allow deref assign without parens pt2 update vlib 2020-04-25 18:11:14 +10:00
joe-conigliaro f92cf69e60
parser: allow deref assign without parens pt2 update vlib 2020-04-25 18:09:52 +10:00
Delyan Angelov fb97c2e01e examples: fix path_tracing.v compilation, using (*ptr) = expression 2020-04-23 12:28:16 +03:00
Alexey a5c0d89c71
examples: reorganize 2020-03-21 09:47:38 +01:00
Alexander Medvednikov 59a65d757b examples: use vcalloc 2020-03-04 17:28:05 +01:00
spaceface777 ef8c1203b4
cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
Delyan Angelov 32b0225079 remove os/time references from live programs, fix warnings 2019-12-09 18:53:17 +03:00
João Victor Oliveira Couto 5a8c07dcf5 strings: builder: write_b() 2019-12-06 23:02:09 +03:00
Alexander Medvednikov 55f32fc413 more mutability fixes 2019-12-06 19:23:24 +03:00
Delyan Angelov ec15bfb7d1 v test v => v test-compiler 2019-12-01 12:50:13 +03:00
Alexander Medvednikov 1bd8c465d3 do not allow casting bool to int 2019-11-23 20:40:59 +03:00
Delyan Angelov f42be0622e examples/game_of_life: add a GUI frontend; compiler: local modules relative to a main module 2019-11-23 16:33:25 +03:00
unknown-v 5f43a61e0d examples: update `[0;n]` to `[0].repeat(n)` 2019-09-16 01:55:54 +03:00
Zaoqi 437b32fe78 fmt: `id []typ` 2019-06-30 13:06:45 +02:00
Alexander Medvednikov 3ddbe015b4 bring back examples 2019-06-29 12:34:32 +02:00
Alexander Medvednikov 4594d78bd6 move all vlib modules to vlib/ 2019-06-29 12:00:31 +02:00
Alexander Medvednikov 6824e6e7db Replace all remaining C code with V in the compiler and vlib (hoorah!) 2019-06-27 23:11:27 +02:00
ofunc 2ee6ca1b8b Rewrite time module 2019-06-27 12:02:47 +02:00
Wink Saville 67f68db530 Add several gitignore files
- compiler/.gitignore and remove the corresponding entries in root/.gitignore.
 - examples/game_of_life/.gitignore
 - examples/tetris/.gitignore
 - examples/word_counter/.gitignore
2019-06-26 01:22:35 +02:00
Wink Saville 82a65c75a9 Fix examples/game_of_life/README.md
- Fix run command in README.md
2019-06-26 01:19:47 +02:00
Alex Medvednikov bfd5fb373c
Update README.md 2019-06-24 15:02:53 +02:00
Alexander Medvednikov be62ac35a8 examples: fix game of life demo 2019-06-24 15:00:31 +02:00
Alexander Medvednikov f6fb5aa827 examples: game of life 2019-06-24 14:58:47 +02:00