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 |
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
|
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 |
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 |
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 |
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 |
Larpon
|
785bf40f67
|
all: remove comp time '@' expansion from scanner (#6746)
|
2020-11-05 10:12:32 +02:00 |
Nick Treleaven
|
9f33b33803
|
parser: warn about ambiguous infix/prefix op token (#6491)
|
2020-09-29 03:13:10 +02:00 |
spaceface777
|
ff92c3409d
|
ast: merge `IfExpr` and `CompIf` (#6011)
|
2020-09-18 00:58:54 +02:00 |
Uwe Krüger
|
9a5f040f72
|
all: handle `<-` arrow token for channel operations (#6152)
|
2020-08-17 20:12:00 +02:00 |
Swastik Baranwal
|
f3817c47f9
|
token: remove switch keyword (#6056)
|
2020-08-04 11:04:07 +02:00 |
Uwe Krüger
|
ef02373061
|
all: remove `rwshared` keyword, make its semantics default for `shared` (#5710)
|
2020-07-07 01:57:31 +02:00 |
Uwe Krüger
|
3b067f5f85
|
all: experimental locked concurrency support, part 1 (#5637)
|
2020-07-04 12:44:25 +02:00 |
Emily Hudson
|
c84bafbdae
|
vlib,cgen: cleanup array inits using `.repeat() instead of new init syntax
|
2020-06-27 21:46:04 +02:00 |