SleepyRoy
|
9b9c1cc834
|
scanner: fix number literal calling method
|
2020-03-31 12:47:32 +02:00 |
|
Alexander Medvednikov
|
eed7c91e87
|
move compiler tests from compiler/ to v/
|
2020-03-27 18:01:46 +01:00 |
|
Alexander Medvednikov
|
7fdce50718
|
cgen: write defer statements at the end of the function
|
2020-03-27 11:21:00 +01:00 |
|
Joe Conigliaro
|
fd8bb2c95c
|
tests: small array/struct test notes & tmp fix
|
2020-03-27 20:47:24 +11:00 |
|
Alexander Medvednikov
|
db59c621e8
|
v2: minor fixes
|
2020-03-27 08:47:02 +01:00 |
|
Delyan Angelov
|
f489c89987
|
v2: more informative assert output; string interpolation formatting
|
2020-03-26 19:17:14 +01:00 |
|
Alexander Medvednikov
|
75c2ef7947
|
cgen: fix octal and hex int literals
|
2020-03-26 17:14:24 +01:00 |
|
Alexander Medvednikov
|
ed3e0c43bc
|
cgen: for c in string; short struct init syntax fixes;
|
2020-03-26 17:03:14 +01:00 |
|
yuyi
|
2efc37947d
|
time: calc_unix => unix_time
|
2020-03-22 19:43:59 +01:00 |
|
radare
|
cc75fe4fe5
|
builtin: Fix undefined behaviour when allocating empty structs (#4088)
|
2020-03-21 12:24:34 +01:00 |
|
radare
|
c21e976cad
|
builtin: do not use unsafe sprintf/vsprintf functions
|
2020-03-21 06:37:58 +01:00 |
|
yuyi
|
2f27758a4b
|
os: realpath => real_path
|
2020-03-20 16:41:18 +01:00 |
|
yuyi
|
010f3efcf0
|
os: filename => file_name
|
2020-03-19 15:49:07 +01:00 |
|
SleepyRoy
|
f798a0937a
|
expression: set floats as f64 by default
|
2020-03-19 07:24:49 +01:00 |
|
yuyi
|
8bfa7f0d82
|
compiler: fix interface bug
|
2020-03-14 14:19:56 +01:00 |
|
Marko Zitkovic
|
26b9987880
|
compiler: fix panic when dealing with variadic functions
|
2020-03-12 18:21:02 +01:00 |
|
yuyi
|
876b73f92c
|
os: join => join_path
|
2020-03-09 02:23:34 +01:00 |
|
yuyi
|
a569959fb8
|
os api: cachedir => cache_dir
|
2020-03-08 15:57:47 +01:00 |
|
yuyi
|
783dee1f48
|
os: merge with filepath
|
2020-03-07 22:26:26 +01:00 |
|
Delyan Angelov
|
d2ab9d3e77
|
compiler: fix generation of default .str() methods in interpolation
|
2020-03-07 14:13:53 +01:00 |
|
lutherwenxu
|
aab31f4b35
|
cmd/v: rewrite flags
|
2020-03-06 18:53:29 +01:00 |
|
Alexander Medvednikov
|
a8e45251c4
|
sync.pool: simplify usages of pool.work_on_items
|
2020-03-05 18:37:57 +01:00 |
|
Alexander Medvednikov
|
b0ece3a9d8
|
sync: implement pool.work_on_items to process a list of items in parallel
|
2020-03-04 20:28:42 +01:00 |
|
yuyi
|
448ed41562
|
os api: rmdir_recursive => rmdir_all
|
2020-03-03 15:02:50 +01:00 |
|
Delyan Angelov
|
c6107276df
|
compiler: stabilize the interface code generation a little
|
2020-03-02 17:10:26 +01:00 |
|
Delyan Angelov
|
1066ec5cd9
|
compiler: import modules relative to v.mod
|
2020-03-01 15:49:39 +01:00 |
|
Delyan Angelov
|
f9d5c0110f
|
compiler: @VMODULE
|
2020-02-29 14:23:45 +01:00 |
|
joe-conigliaro
|
c4e83faa57
|
compiler: allow a type to be used as a variant of multiple sum types
|
2020-02-26 15:15:38 +11:00 |
|
lydiandy
|
d4ffed89c0
|
add typeof test for fn (#3832)
|
2020-02-25 11:14:59 +01:00 |
|
Delyan Angelov
|
b17ade1257
|
compiler: implement typeof(x)
|
2020-02-24 21:45:47 +01:00 |
|
Delyan Angelov
|
88b402fcf8
|
bugfix: v should not panic when encountering a file that consists only of comments
|
2020-02-20 22:59:47 +01:00 |
|
Alexander Medvednikov
|
4de8d3ae8c
|
parser: short struct syntax for all structs
|
2020-02-18 16:25:09 +01:00 |
|
yuyi
|
6849a4e770
|
filepath: path separator (#3756)
|
2020-02-17 20:31:23 +01:00 |
|
Delyan Angelov
|
2ce6b190dd
|
@VMODULE relative paths in #flag lines
|
2020-02-06 17:38:35 +01:00 |
|
Nicolas Sauzede
|
9d4c943d64
|
compiler: add very simple nameof token to get type name as string
|
2020-02-05 06:12:33 +01:00 |
|
joe-conigliaro
|
554d1dd7c6
|
compiler: make optionals work with multi return
|
2020-02-02 02:53:23 +01:00 |
|
joe-conigliaro
|
05374e162e
|
compiler: attribute test - fix typo in function name
|
2020-02-01 18:59:34 +11:00 |
|
radare
|
bf9eefa694
|
parser: resolve optional enum type
|
2020-01-31 16:00:31 +01:00 |
|
joe-conigliaro
|
80d936adc1
|
fix attributes on public structs & enums
|
2020-01-30 01:27:13 +01:00 |
|
Alexander Medvednikov
|
f55646746c
|
handle empty config structs
|
2020-01-24 18:57:32 +01:00 |
|
joe-conigliaro
|
20f6cdc53a
|
compiler: fix module alias resolution
|
2020-01-23 21:07:53 +01:00 |
|
Alexander Medvednikov
|
0502a54a36
|
new gg/freetype modules with sokol/fontstash backends
|
2020-01-22 20:54:36 +01:00 |
|
Delyan Angelov
|
d92291dd76
|
repl: execute REPL tests ~1.5x to 2x faster
|
2020-01-20 23:04:26 +01:00 |
|
Delyan Angelov
|
64a9f43405
|
Make REPL tests parallel too
|
2020-01-20 17:06:36 +01:00 |
|
Delyan Angelov
|
ddc04979a4
|
deprecate v runrepl in favour of v repl
|
2020-01-17 14:09:26 +01:00 |
|
Delyan Angelov
|
6d30697d9b
|
time: move time.random() to time.misc module
avoids importing rand to programs that do not need pseudo random generation).
|
2020-01-07 12:58:24 +01:00 |
|
Shivanjan Chakravorty
|
a0c8ad7398
|
post increment/decrement repl fix
|
2020-01-07 12:26:49 +01:00 |
|
Alexander Medvednikov
|
b815878d60
|
simplify and improve pratt
|
2020-01-06 16:13:12 +01:00 |
|
joe-conigliaro
|
43895269ff
|
compiler: implement direct cast for sum type
|
2020-01-03 14:42:48 +01:00 |
|
Delyan Angelov
|
a0f32f5c29
|
tests: improved test output formatting
|
2019-12-30 05:23:54 +01:00 |
|