spaceface
|
bf86fff9cc
|
checker, gen: add support for a [minify] struct attribute (#14247)
|
2022-05-04 11:52:30 +02:00 |
Daniel Däschle
|
85cb0a8c85
|
all: basic implementation of result type (#14140)
|
2022-04-30 16:26:27 +02:00 |
yuyi
|
1660be910d
|
token: minor cleanup of token.v (#14083)
|
2022-04-19 12:42:44 +02:00 |
Nick Treleaven
|
91b40304b7
|
vdoc: highlight `..`, `...` as punctuation & postfix ops as operators (#13924)
|
2022-04-04 09:21:54 +03: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
|
291a1ffd8d
|
token: rename Position to Pos, rename position() to pos() (#13279)
|
2022-01-26 12:36:28 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
penguindark
|
278c08704c
|
all: support slices with negative indexes `#[start..end]` (gated arrays) (#12914)
|
2021-12-22 16:34:02 +03: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 |
Delyan Angelov
|
47aa2b1f93
|
all: fix casting of `string(MyString('abc'))` and `byte(MyByte(123))`; improve TypeSymbol handling (#12617)
|
2021-12-01 09:50:53 +02:00 |
Delyan Angelov
|
1c12186701
|
v.token,ast,scanner,parser: use a KeywordsMatcher lookup for builtin_type_names searches too
|
2021-11-07 16:39:40 +02:00 |
Delyan Angelov
|
8014235e0e
|
scanner: speed up text_scan by using a specialised keywords matcher, instead of a generic V map of keywords
|
2021-10-28 15:41:13 +03:00 |
Delyan Angelov
|
bf2569a9a8
|
all: support `mut volatile x := 123` declarations (#11940)
|
2021-09-22 13:06:30 +03:00 |
yuyi
|
2f3925a0cf
|
fmt: format vlib/v/token/token.v (#11568)
|
2021-09-21 23:29:53 +03:00 |
yuyi
|
108a01d65f
|
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
|
2021-09-21 16:20:09 +03:00 |
ChAoS_UnItY
|
95136cbfc7
|
all: add unsigned shift operators (#11536)
|
2021-09-21 14:02:17 +03:00 |
Enzo
|
da53f818df
|
all: initial support for closures (x64 / linux-only) (#11114)
|
2021-08-10 21:27:15 +03:00 |
Daniel Däschle
|
ad3835b598
|
parser: deprecate short struct init (#10842)
|
2021-07-20 11:17:08 +03:00 |
spaceface
|
6e942bf4c2
|
v: initial support for generic interfaces and sumtypes (#10795)
|
2021-07-15 08:29:13 +03:00 |
Uwe Krüger
|
2ac39d9112
|
all: new function `isreftype(T)` to know if `T` contains pointers (#10438)
|
2021-06-13 06:26:13 +03:00 |
Delyan Angelov
|
eac1e25c5d
|
strings: simplify Builder (#10263)
|
2021-05-31 14:21:06 +03:00 |
Delyan Angelov
|
d4f31412b7
|
v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795)
|
2021-04-19 19:01:47 +03:00 |
Alexander Medvednikov
|
7385f8e56b
|
all: a massive merge of ast and table modules
|
2021-04-02 01:57:09 +03:00 |
Ned Palacios
|
aa4e22c287
|
scanner, token: add column information to tokens (#9407)
|
2021-03-23 06:23:46 +01:00 |
Delyan Angelov
|
849cde245c
|
v: support dump(expr) (#9160)
|
2021-03-06 18:09:28 +01:00 |
Nick Treleaven
|
d37fb5641f
|
parser: improve printing of unexpected tokens (#8654)
|
2021-02-09 17:07:30 +02:00 |
Nick Treleaven
|
b92f980274
|
token: fix Token.str() for punctuation and operators (#8610)
|
2021-02-07 03:40:00 +01:00 |
Uwe Krüger
|
5343f1374b
|
all: allow functions to return `shared` object (#8606)
|
2021-02-06 19:41:52 +01:00 |
Delyan Angelov
|
25a3873019
|
parser,checker: support @METHOD, replaced by 'ReceiverType.MethodName'
|
2021-02-05 16:32:43 +02:00 |
yuyi
|
a976876211
|
v.token: correct some comments, and add some missing comments (#8542)
|
2021-02-04 09:18:38 +02:00 |
zakuro
|
e30e794884
|
checker: add check for using a private const in another module (#8501)
|
2021-02-03 10:17:13 +02:00 |
Lukas Neubert
|
8b61891348
|
fmt: smarter if condition wrapping (#8201)
|
2021-01-23 10:33:22 +02:00 |
Daniel Däschle
|
dbf84520f1
|
all: update assoc syntax (#8274)
|
2021-01-22 23:24:48 +01:00 |
Tim Basel
|
129eee346b
|
fmt: keep single empty lines (#8189)
|
2021-01-19 14:49:40 +01:00 |
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
Swastik Baranwal
|
1e853b0efc
|
cgen: implement argument operator overloading (#8067)
|
2021-01-13 03:31:14 +01:00 |
Lukas Neubert
|
73bd63d69d
|
token: remove // from comment kind string (#7992)
|
2021-01-10 12:19:59 +02:00 |
Swastik Baranwal
|
9291fb5e0c
|
checker: disallow comparison between enum and int (#7886)
|
2021-01-08 17:41:52 +01:00 |
Nick Treleaven
|
c0e56d10c3
|
parser: add errors for invalid anonymous function (#7786)
|
2021-01-05 01:32:24 +01:00 |
Nick Treleaven
|
9243e06dba
|
parser: allow integer and rune keys for map literal (#7756)
|
2021-01-01 17:23:32 +01:00 |
Nick Treleaven
|
d15d13674c
|
parser: parse non-identifier expressions for sizeof too (#7781)
|
2021-01-01 15:38:11 +02:00 |
Lukas Neubert
|
d1fc65c260
|
parser: add information about the ending line for a few elements (#7414)
|
2020-12-22 14:45:12 +01:00 |
yuyi
|
b47daad40d
|
all: remove redundant array.contains definitions (#7464)
|
2020-12-22 08:32:32 +01:00 |
yuyi
|
bac6be2273
|
token: minor clean up (#7163)
|
2020-12-06 16:48:23 +01:00 |
Alexander Medvednikov
|
05eeb8aa53
|
token: remove old keyword "embed"
|
2020-11-30 03:11:40 +01:00 |
Daniel Däschle
|
8446433bcf
|
parser: remove __type (#6946)
|
2020-11-25 14:27:15 +01:00 |
Daniel Däschle
|
7d6f97259f
|
all: refactor UnionSumType to SumType (#6944)
|
2020-11-25 13:09:40 +02:00 |
Daniel Däschle
|
6271798ce3
|
cgen: union sum types implementation (#6745)
|
2020-11-11 09:18:15 +01:00 |
Larpon
|
4051ce869c
|
all: remove unused enum value and improve error message for `@` tokens in scanner (#6751)
|
2020-11-05 12:59:49 +02:00 |