yuyi
|
e2aa5c9b3f
|
parser: make peek_token_after_var_list() private (#14288)
|
2022-05-04 19:25:45 +03:00 |
yuyi
|
b9cf2db6a8
|
parser: fix inline array's element access (#14253)
|
2022-05-02 16:16:32 +03:00 |
spaceface
|
332e821518
|
checker, gen: add support for a [minify] struct attribute (#14247)
|
2022-05-02 01:59:17 +03:00 |
Daniel Däschle
|
08fd0ce0de
|
all: basic implementation of result type (#14140)
|
2022-04-30 01:59:14 +03:00 |
yuyi
|
922cee9162
|
parser, checker, cgen: fix error for fn call using anon fn call argument (#14155)
|
2022-04-25 11:26:14 +03:00 |
yuyi
|
b86320a669
|
parser: minor cleanup in stmt() (#14136)
|
2022-04-22 22:33:13 +03:00 |
Alexander Medvednikov
|
0527ac633e
|
ast: remove .byte
|
2022-04-15 15:30:37 +03:00 |
Alexander Medvednikov
|
3b36f16365
|
all: volatile globals
|
2022-04-15 02:39:38 +03:00 |
fleur
|
68401d9dc8
|
gen: add callconv attribute for fn and type (#14027)
|
2022-04-14 11:29:52 +03:00 |
yuyi
|
e3e5bef139
|
ast, parser: fix formatting of `if` with inline comments (fix #7796) (#14018)
|
2022-04-13 00:15:27 +03:00 |
yuyi
|
5551cb248c
|
ast, parser, fmt: fix formatting of consts with embedded comments (#14008)
|
2022-04-11 17:27:41 +03:00 |
yuyi
|
fa66183f43
|
checker: check error for map of generic struct init (#13999)
|
2022-04-11 10:07:23 +03:00 |
Joe Conigliaro
|
8dc2601080
|
all: comptime_call - simplify tmpl scoping, solves many issues.
|
2022-04-08 17:33:24 +10:00 |
yuyi
|
dd1a8cbadc
|
parser: check error for struct field type using 'mut' (#13847)
|
2022-03-28 18:13:38 +03:00 |
Delyan Angelov
|
eb7c9cec3d
|
parser: short circuit if conditions in Parser.name_expr
|
2022-03-19 20:31:03 +02:00 |
Delyan Angelov
|
0ca87ad09f
|
parser: fix small performance regression after 1d83ab6b (by avoiding needless interpolation in hot paths)
|
2022-03-18 12:52:03 +02:00 |
yuyi
|
1d83ab6be1
|
parser: check using invalid keyword with none ident (#13743)
|
2022-03-15 12:58:03 +02:00 |
yuyi
|
27f9bc9ba0
|
checker: check error for match mut with immutable variable (fix #9704 #8976) (#13725)
|
2022-03-13 09:53:29 +02:00 |
yuyi
|
1993bf2a12
|
parser: cleanup map syntax (#13713)
|
2022-03-11 12:15:52 +03:00 |
yuyi
|
dd06698ee3
|
ast: rename TypeSymbol.is_public to TypeSymbol.is_pub (#13710)
|
2022-03-10 22:18:57 +02:00 |
Delyan Angelov
|
beb1b8ce1b
|
tools: add `v scan file.v`
|
2022-03-07 18:25:38 +02:00 |
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
yuyi
|
22017ff8f4
|
parser: fix error for 'for smartcast' - part 1 (#13629)
|
2022-03-02 12:18:03 +02:00 |
yuyi
|
013589e9fe
|
parser: minor cleanup in global_decl() (#13617)
|
2022-02-28 13:30:17 +02:00 |
yuyi
|
bc16c61f6f
|
parser: check using 'mut' on fn_decl return type (#13610)
|
2022-02-27 14:23:43 +02:00 |
Larpon
|
73f931b52e
|
fmt: improve single line const comment placement (#13595)
|
2022-02-25 14:46:12 +02:00 |
yuyi
|
b5e7cef1b1
|
ast: define 'const invalid_type_idx = -1' (#13573)
|
2022-02-23 11:54:43 +03:00 |
playX
|
b842e89acc
|
all: initial implementation of compile-time types (#13549)
|
2022-02-21 17:42:54 +02:00 |
yuyi
|
04654ed518
|
parser: check error for defer propagate (fix #13534) (#13536)
|
2022-02-20 12:29:08 +02:00 |
Delyan Angelov
|
d25652fbcf
|
parser, ast: support -d for trace_rewrite_already_registered_symbol, trace_register_sym, trace_parse_stmt, trace_parse_comptime, trace_parse_text, trace_parse_file, trace_parse_vet_file
|
2022-02-15 13:20:40 +02:00 |
Delyan Angelov
|
799c95dc4e
|
tests: filter test_ fns with params from the list of automatically run test functions (fix #13443)
|
2022-02-12 17:30:20 +02:00 |
Delyan Angelov
|
9ed18efa53
|
checker: error on redefining any of the public builtin functions, not just ['print', 'println', 'eprint', 'eprintln', 'isnil', 'panic', 'exit'] (#13419)
|
2022-02-10 12:26:30 +02:00 |
div72
|
cec7e91714
|
v.parser, v.checker, v.gen: add support for [translated] tag (#13373)
|
2022-02-06 00:16:02 +02:00 |
yuyi
|
a61b4809dc
|
ast, parser, checker: fix generic struct init with inconsistent generic types (#13359)
|
2022-02-04 14:24:38 +02:00 |
Delyan Angelov
|
e1a2ab345d
|
parser,ast,checker: add support for `[deprecated: "use another module"] module obsolete`
|
2022-01-27 12:34:14 +02:00 |
yuyi
|
291a1ffd8d
|
token: rename Position to Pos, rename position() to pos() (#13279)
|
2022-01-26 12:36:28 +02:00 |
yuyi
|
ca1f675dba
|
ast, checker, cgen: implement if guard with multi return optional (#13273)
|
2022-01-25 14:36:33 +02:00 |
yuyi
|
ba3308296b
|
ast: rename register_type_symbol to register_sym (#13217)
|
2022-01-19 20:16:23 +02:00 |
yuyi
|
f0b7e5049b
|
parser: check the receiver error of method call (#13203)
|
2022-01-18 12:47:06 +02:00 |
trueFireblade
|
727c9fb4a1
|
all: add string range OrExpr (#13189)
|
2022-01-17 13:03:10 +03:00 |
yuyi
|
155f897270
|
ast, parser, checker: fix generic struct field with default struct value (#13158)
|
2022-01-13 22:25:25 +02:00 |
Ken
|
9cbfa882e6
|
ast: support attributes for `ast.SumType` (#13010)
|
2022-01-08 17:35:10 +03:00 |
Delyan Angelov
|
8088f462c9
|
parser: fix parsers producing codegen statements (for `[flag] enum MyEnum{}`) with mixed scope
|
2022-01-06 18:02:52 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
Alexander Medvednikov
|
0e1cfd4a28
|
checker: simplify type sizeof check and fix c2v globals
|
2022-01-01 19:56:13 +03:00 |
Alexander Medvednikov
|
6176ce9f03
|
all: c2v fixes
|
2021-12-28 08:00:56 +03:00 |
Delyan Angelov
|
a2eb90ee4e
|
parser: prevent too deep recursions in p.check_undefined_variables
|
2021-12-27 12:30:17 +02:00 |
Daniel Däschle
|
35282396ec
|
all: inline sum types (#12912)
|
2021-12-25 18:26:40 +03:00 |
penguindark
|
278c08704c
|
all: support slices with negative indexes `#[start..end]` (gated arrays) (#12914)
|
2021-12-22 16:34:02 +03:00 |
zakuro
|
2693631643
|
parser: make codegen generate correct module name (#12929)
|
2021-12-22 10:55:57 +11:00 |