Commit Graph

13180 Commits (dc30089c74051fbb085820ad015cca02b71f4a48)

Author SHA1 Message Date
Anisuzzaman Khan fe19d6a62e added weekday string method 2019-06-24 00:28:58 +02:00
fuyutarow ebc3fb9378 Remove debug statement 2019-06-24 00:14:58 +02:00
Alexander Medvednikov b3b4278f59 rand fixes 2019-06-23 23:25:20 +02:00
Alexander Medvednikov 35cef79149 http/download.v: replace C code with V + clean up 2019-06-23 23:18:39 +02:00
Aurélien Foucault b6948ad9af Replace le and ge by lt and gt in compare_strings to have the excepted behavior of the function 2019-06-23 19:22:09 +02:00
Henrixounez 13f5429dae Removed # and added new error message case 2019-06-23 18:50:12 +02:00
Henrixounez ad5e1fd8d4 Checks if dir given exists and is a directory before ls 2019-06-23 18:50:12 +02:00
Alexander Medvednikov ec87ca37fa clean up download_lin.v 2019-06-23 18:32:08 +02:00
Alexander Medvednikov a401b5e242 remove old and unused @ syntax 2019-06-23 17:06:00 +02:00
Alex Medvednikov 8b08bf636a
Update README.md 2019-06-23 16:16:55 +02:00
Alex Medvednikov 6cbecac93c
Update README.md 2019-06-23 16:13:56 +02:00
Henrixounez d71410dff5 REPL - Fix variable declare and not used by print
by using an empty line to call the variables
2019-06-23 14:20:51 +02:00
Alexander Medvednikov 9b1514320a remove unzip 2019-06-23 14:16:47 +02:00
Alexander Medvednikov 08e9cb60d0 stb_image macos support 2019-06-23 14:10:15 +02:00
Alexander Medvednikov 7a7a4dff7d stb_image dependency 2019-06-23 14:08:23 +02:00
Alex Medvednikov 56ceccfea5
Update README.md 2019-06-23 13:27:43 +02:00
Alexander Medvednikov 527bcd961f thirdparty/glad 2019-06-23 13:19:07 +02:00
Alexander Medvednikov c156b1b1f8 add the font 2019-06-23 13:17:56 +02:00
Alexander Medvednikov c619243067 fix Tetris example 2019-06-23 13:17:56 +02:00
vulcan f72de84e9c readme: Fix 'mkdir -p' and symlink typo
You don't need to provide the ``-p`` flag which is used to create nested directories. 

Similarly, using ``$HOME`` for the symlink isn't strictly necessary, let's change that.
2019-06-23 13:08:16 +02:00
Alexander Medvednikov 64a5dc3f23 json.v example 2019-06-23 12:58:53 +02:00
Alexander Medvednikov 6e50421f99 Makefile: minor fixes 2019-06-23 11:45:57 +02:00
Alex Medvednikov b3ec7f7426
readme: `make` makes things so much easier 2019-06-23 11:44:40 +02:00
chai2010 99c781bf07 compiler: add makefile for build v 2019-06-23 11:40:27 +02:00
Henrixounez f1cd3580eb main.v: checking directory before trying to fetch files in said directory 2019-06-23 11:39:38 +02:00
Ken Corey 6bb8e75448 Remove logging from mac's http fetches 2019-06-23 11:38:21 +02:00
Alex Medvednikov 099c1cc48b
Update README.md 2019-06-23 11:37:33 +02:00
Alexander Medvednikov f59962a92f cJSON license 2019-06-23 11:33:39 +02:00
Alexander Medvednikov 997b8275c5 cJSON.h 2019-06-23 11:32:55 +02:00
Alexander Medvednikov 10ec2c9f09 add cJSON.c and cJSON.h 2019-06-23 11:32:25 +02:00
Alexander Medvednikov 6a28cbdd6e json: fix build flag 2019-06-23 11:16:10 +02:00
Alexander Medvednikov 5122b85728 remove exit1 2019-06-23 11:11:29 +02:00
Henrixounez e1e8a50a46 main.v: updated help message concerning run option 2019-06-23 10:57:23 +02:00
Henrixounez 9445fa599c math: radians to degrees function 2019-06-23 10:57:23 +02:00
Alexander Medvednikov a69e6febbc use new exit() everywhere 2019-06-23 10:41:45 +02:00
Alex Medvednikov b2851daffc
readme: add `cc -std=c11` 2019-06-23 10:21:16 +02:00
Alex Medvednikov 20c83e2c32
readme: update `v run` 2019-06-23 10:18:28 +02:00
Alexander Medvednikov 9cde09126b fix exit code 2019-06-23 10:15:30 +02:00
Alexander Medvednikov 06a4dfa290 replace silly `exit(reason string)` with `exit(code int)` 2019-06-23 10:14:37 +02:00
Alex Medvednikov 0d1d5612ae
Update README.md 2019-06-23 10:07:24 +02:00
Zaoqi 3a3b136c20 readme: add bootstrap 2019-06-23 10:05:41 +02:00
Alexander Medvednikov 20b5c4b88b Remove println2 2019-06-23 10:03:03 +02:00
Alexander Medvednikov ee5d6f1e7f make -prod no longer hide println() 2019-06-23 09:59:34 +02:00
chai2010 9763167d39 base64: fix build
$ cat hello_world.v
import base64
println('Hello!')

$ v run hello_world.v
============running hello_world==============================
Hello!
10
vlang-zh.cn
chai-mba:examples chai$ v run hello_world.v
println
println
Generating main()...
/Users/chai//.vlang0.0.12//hello_world.c:3783:22: error: used type 'string' (aka 'struct string') where arithmetic or pointer type is required
 return  (/*casttt*/ (string)( /*77*/ str ) ) ;
                     ^       ~~~~~~~~~~~~~~
1 error generated.
V panic: clang error
2019-06-23 09:24:59 +02:00
Ivan Greene 6c6be7acaa Convert OS to enum 2019-06-23 09:24:40 +02:00
musou1500 1152180a71 fix cc option order 2019-06-23 09:23:53 +02:00
musou1500 c3df224c97 add include path for cJSON 2019-06-23 09:23:53 +02:00
musou1500 97bbe359a2 add `cJSON` as git submodule 2019-06-23 09:23:53 +02:00
chai2010 978ec58fe3 all: add copyright 2019-06-23 09:22:49 +02:00
Oxylibrium 461b78bc77 fix: add CRLF handling to scanner.v 2019-06-23 09:22:32 +02:00