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

2037 Commits

Author SHA1 Message Date
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
Alexander Medvednikov
d32e538073 V 0.0.12 open-source release 2019-06-22 20:20:28 +02:00