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 |
Alexander Medvednikov
|
b5fe40624c
|
staments + a sum type fix
|
2019-12-28 18:53:08 +01:00 |
Alexander Medvednikov
|
ca284482cb
|
new AST built with sum types
|
2019-12-24 16:04:49 +03:00 |
Alexander Medvednikov
|
803ded3dec
|
sum type `type Foo = Bar | Baz`
|
2019-12-24 16:04:49 +03:00 |
Alexey
|
dced76d1a4
|
os, filepath: reorganize functions
|
2019-12-23 13:09:22 +03:00 |
Alexander Medvednikov
|
7ab993c218
|
sum types
|
2019-12-23 06:14:31 +03:00 |
れもん
|
28ecfb231d
|
compiler: map[string]pointer, ?pointer, fix []pointer
|
2019-12-22 01:44:16 +03:00 |
Alexander Medvednikov
|
31b7991a93
|
negative enum vals + `[10]C.Foo` fix
|
2019-12-22 00:17:13 +03:00 |
joe-conigliaro
|
fbd9fedbfb
|
implement generic structs
|
2019-12-21 03:53:57 +03:00 |
BigBlack
|
a38a0f4fb7
|
parser: fix x.function_pointer()
|
2019-12-19 21:23:29 +03:00 |
BigBlack
|
2f218b878b
|
fix fn type call
|
2019-12-18 13:21:49 +03:00 |
Alexander Medvednikov
|
81045023c4
|
run vfmt on scanner.v
|
2019-12-18 08:26:51 +03:00 |
Alexander Medvednikov
|
3d1db3519d
|
test enum printing
|
2019-12-18 05:45:48 +03:00 |
Alexander Medvednikov
|
7456d556e1
|
fix 2 repl tests
|
2019-12-18 05:02:23 +03:00 |
Johan Hillerström
|
6008fa44c6
|
parser: fix generic function call in `for in` expression
|
2019-12-17 01:08:30 +03:00 |
Alexander Medvednikov
|
560d1383d1
|
fix optional struct field assignment
|
2019-12-17 00:36:28 +03:00 |
Alexander Medvednikov
|
bcde155da7
|
test the recent type alias string; print vweb templates in verbose mode
|
2019-12-16 19:34:04 +03:00 |
BigBlack
|
fc33f9d49c
|
type alias check
|
2019-12-14 22:01:20 +03:00 |
Delyan Angelov
|
1cd5fab21d
|
testing: support for internal module testing
|
2019-12-14 15:57:28 +03:00 |
Alexander Medvednikov
|
c72bf0e1b1
|
global access modifier
|
2019-12-13 20:28:28 +03:00 |
Alexander Medvednikov
|
dc83e30a44
|
access modifiers: update tests/examples
|
2019-12-13 20:09:11 +03:00 |
Delyan Angelov
|
fc64238a39
|
testing: allow tests to import the same module with no custom options
|
2019-12-13 19:28:39 +03:00 |