Commit Graph

21 Commits (6176ce9f03ee52e0818e5382b3d38cd7b83e0acb)

Author SHA1 Message Date
Alexander Medvednikov 6176ce9f03 all: c2v fixes 2021-12-28 08:00:56 +03:00
penguindark 278c08704c
all: support slices with negative indexes `#[start..end]` (gated arrays) (#12914) 2021-12-22 16:34:02 +03:00
yuyi cd0b581445
ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls (#12898) 2021-12-19 18:25:18 +02:00
Delyan Angelov 3ab82a23c5
tools: cleanup the output of V, compiled with `-d trace_parser` and `-d trace_checker` 2021-12-06 09:54:53 +02:00
yuyi c28041cecc
all: cleanup/rename all `comp_` names to be `comptime_` (#12467) 2021-11-15 15:47:29 +02:00
Lucas Jenß d7fd4a563b
parser: remove commented out debug statement (#12316) 2021-10-27 14:30:22 +03:00
Delyan Angelov f2cda1a529
parser: update p.inside_or_expr consistently (fix `v fmt -w vls/analyzer/symbol_registration.v`) 2021-10-19 13:36:10 +03:00
yuyi f1742a6f62
v.ast: change 'type.to_ptr()' to 'type.ref()' (#12086) 2021-10-06 20:49:39 +03:00
Delyan Angelov bf2569a9a8
all: support `mut volatile x := 123` declarations (#11940) 2021-09-22 13:06:30 +03:00
ChAoS_UnItY 95136cbfc7
all: add unsigned shift operators (#11536) 2021-09-21 14:02:17 +03:00
yuyi 8862c3af0f
all: implement `if foo in [Foo1, Foo2, Foo3]` (#11486) 2021-09-14 15:56:12 +03:00
yuyi 89a8854e57
v.parser: fix generics type name in if_expr (#11156) 2021-08-12 10:19:06 +03:00
Daniel Däschle 800c0e5092
vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
zakuro 3979e5c5ff
v.parser: show better position for sort struct init warning (#10939) 2021-07-24 20:41:59 +03:00
Daniel Däschle ad3835b598
parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
Delyan Angelov 6edfb2c7fe
v.parser: eliminate PrefixExpr from `&Type(x).name` and `&Type(x)[idx]` too (fix vinix build) 2021-07-17 20:20:20 +03:00
Delyan Angelov 568aa742b2
v.parser: improve conditions for debugging ast.CastExpr parsing 2021-07-17 17:49:29 +03:00
yuyi fe64346ae2
parser: minor optimization of array filtering judgement (#10821) 2021-07-16 12:00:37 +03:00
Delyan Angelov bd0653abab
parser: cleanup `&Type(x)` more, add fmt regression test 2021-07-13 13:12:37 +03:00
crthpl 5089eb4a84
parser: fix pointer cast expressions hack (#10777) 2021-07-13 12:01:24 +03:00
yuyi 2bcc733ff6
v.parser: rename pratt.v to expr.v (#10566) 2021-06-28 19:35:06 +03:00