1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

12101 Commits

Author SHA1 Message Date
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
Kriyszig
ac4a4cbcc9 math.v: Added more functions
Added almost all the functions present in C math lib
2019-06-23 09:21:20 +02:00
superwhiskers
2c3b10da76 fix the word counter example 2019-06-23 09:18:39 +02:00
Henrixounez
889d564f43 main.v: added run option example in help message 2019-06-23 03:19:03 +02:00
Alexander Medvednikov
6b941e5e70 string_test.v 2019-06-23 03:13:11 +02:00
Yoshiya Hinosawa
cf6aa16ee4 fix: fix error messages 2019-06-23 02:49:48 +02:00
Henrixounez
f5b8f34a05 main.v: exits when prompting help 2019-06-23 02:47:36 +02:00
Alexander Medvednikov
e9776ff7b2 os.v: remove duplicate read_lines() functions, replace C code with V 2019-06-23 02:34:10 +02:00
Alexander Medvednikov
ac66d49c51 fix dup MAX 2019-06-23 01:51:04 +02:00
Alexander Medvednikov
acb00bf623 main.v: use cc 2019-06-23 01:51:04 +02:00
chai2010
1074ddc33d add .gitignore file 2019-06-23 01:45:44 +02:00
Alex Medvednikov
e3b992165c
readme: fix the path 2019-06-23 01:08:18 +02:00
Phil Rukin
b1553449d8 Add "hello world" example 2019-06-23 01:06:01 +02:00
musou1500
ccb5591447 fix b_error to v_error 2019-06-23 01:05:41 +02:00
musou1500
a32d48e0e0 make string.str and array.data public 2019-06-23 00:43:04 +02:00
Alex Medvednikov
7c6526ec12
Update README.md 2019-06-23 00:42:14 +02:00
musou1500
27d34c600d remove gl_lin.v 2019-06-23 00:40:01 +02:00
Alex Medvednikov
f5be084819
Update README.md 2019-06-23 00:37:13 +02:00
Alexander Medvednikov
46ba66c24c fix apple headers, clean up the parser 2019-06-22 22:16:39 +02:00
Alexander Medvednikov
96e15b0f0f don't use /var/tmp 2019-06-22 22:00:38 +02:00
Alexander Medvednikov
ce3d560e09 sync module 2019-06-22 21:54:43 +02:00
Alexander Medvednikov
f3a9e2a341 update the news fetcher example 2019-06-22 21:51:30 +02:00
Alexander Medvednikov
b5c3cda33b remove rmdir() 2019-06-22 21:45:19 +02:00
Alexander Medvednikov
07fb7756fb remove bad includes 2019-06-22 21:29:03 +02:00
Alexander Medvednikov
d3e7738a5f clean up gl 2019-06-22 21:28:12 +02:00
Alexander Medvednikov
f831fd62f2 gl module 2019-06-22 21:25:44 +02:00
Alex Medvednikov
bed53f444d
Update README.md 2019-06-22 20:48:54 +02:00
Alex Medvednikov
ea7bbd52c3
Update README.md 2019-06-22 20:47:08 +02:00
Alexander Medvednikov
268c037e41 .gitattributes etc 2019-06-22 20:24:15 +02:00
Alexander Medvednikov
72b82e4a8b README.md 2019-06-22 20:22:41 +02:00