Commit Graph

734 Commits (c9867a9ae4a07162f11b4d1c77a9f3057cf58b08)

Author SHA1 Message Date
aguspiza bed7440ebb tetris improvements
added getexepath() to os module
added some wrapper functions to glfw
removed hardcored path in gg module
better tetris example exit and resource loading
2019-06-28 21:40:47 +02:00
Alexander Medvednikov 4aab26d3e3 `mut v :=` update examples 2019-06-28 15:24:48 +02:00
Alexander Medvednikov bd49977feb fix single file programs without `fn main` and REPL (allow imports,
function definitions, consts, etc)
2019-06-28 13:43:32 +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
lutherwenxu b464adec43 Add the log example to .gitignore of examples
The compiled log file should no longer cause a file to be added to the git repo during `make test`.
2019-06-27 13:49:57 +02:00
Alexander Medvednikov 76bf732e63 builtin: public/private functions, remove lots of duplicate functionality
(string.eq, compare_strings, etc)
2019-06-27 13:29:31 +02:00
Alexander Medvednikov b018237c72 1 2019-06-27 12:51:53 +02:00
Alexander Medvednikov 90c0791345 replace ugly `tos2(bytes)` with `string(bytes)` 2019-06-27 12:50:02 +02:00
ofunc 2ee6ca1b8b Rewrite time module 2019-06-27 12:02:47 +02:00
wfhtqp 9ac653c3e3 add log and rename colors 2019-06-27 02:20:04 +02:00
thomas-senechal e57fbeee41 examples: VCasino 2019-06-27 02:05:05 +02:00
Alexander Medvednikov ee09cde583 CI test successful 2019-06-26 21:36:44 +02:00
Alexander Medvednikov fcf60306c4 CI test: break tetris 2019-06-26 21:33:21 +02:00
whoami e7f2babb5d separate .gitignore for examples (#667)
it will be easier to move the examples to a separate repository if it increases
2019-06-26 18:06:00 +02:00
Alexander Medvednikov 92ecd0ca7c word_counter: handle bad path 2019-06-26 18:01:31 +02:00
Ryota.I (yabu) 61e4367aa8 👍 Fix up redundant type declare and remove space (#603) 2019-06-26 16:39:40 +02:00
Alexander Medvednikov b00a47be66 Revert "add log replace color"
This reverts commit 8ef27f0bb3.
2019-06-26 01:28:00 +02:00
nzlov 8ef27f0bb3 add log replace color 2019-06-26 01:26:06 +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
Wink Saville 8ceb110412 Add .gitignore to examples 2019-06-25 23:32:11 +02:00
Steve Phillips 539bebcc22 examples/news_fetcher.v: now displays story URL, not just title 2019-06-24 19:28:36 +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
Alexander Medvednikov c156b1b1f8 add the font 2019-06-23 13:17:56 +02:00
Alexander Medvednikov 64a5dc3f23 json.v example 2019-06-23 12:58:53 +02:00
Alexander Medvednikov a69e6febbc use new exit() everywhere 2019-06-23 10:41:45 +02:00
chai2010 978ec58fe3 all: add copyright 2019-06-23 09:22:49 +02:00
superwhiskers 2c3b10da76 fix the word counter example 2019-06-23 09:18:39 +02:00
Phil Rukin b1553449d8 Add "hello world" example 2019-06-23 01:06:01 +02:00
Alexander Medvednikov f3a9e2a341 update the news fetcher example 2019-06-22 21:51:30 +02:00
Alexander Medvednikov 268c037e41 .gitattributes etc 2019-06-22 20:24:15 +02:00
Alexander Medvednikov d32e538073 V 0.0.12 open-source release 2019-06-22 20:20:28 +02:00