yuyi
|
ef5be22f81
|
all: replace generic <> with [] - part 2 (#16536)
|
2022-11-26 18:23:26 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
shove
|
26d643fc5d
|
all: rollback to old interpolation (step 3) (#16380)
|
2022-11-10 15:05:34 +03:00 |
|
shove
|
dd5f6186a1
|
all: rollback to old interpolation (step 1) (#16370)
|
2022-11-09 11:57:54 +03:00 |
|
Alexander Medvednikov
|
141c404d45
|
all: new keyword "spawn"
|
2022-11-05 09:43:38 +03:00 |
|
shove
|
fa4a45d37f
|
all: make fmt support two kinds of interpolation at the same time. (#16308)
|
2022-11-03 13:32:07 +02:00 |
|
Alexander Medvednikov
|
18c7da9a5e
|
all: new string interpolation "hello {name}!"
|
2022-10-27 11:01:01 +03:00 |
|
yuyi
|
48f43f11ea
|
all: change optional to result in vlib/v. (#16177)
|
2022-10-24 11:51:20 +03:00 |
|
Swastik Baranwal
|
b584e1df98
|
checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932)
|
2022-10-02 22:39:11 +03:00 |
|
Seven Du
|
90c2c5b8a4
|
token: add @FILE_LEN (#15661)
|
2022-09-05 17:00:35 +03:00 |
|
Delyan Angelov
|
2db8bd62a2
|
token: fix a new_keywords_matcher_from_array_trie bug (first word with idx 0 was ignored); add tests
|
2022-07-29 23:23:33 +03:00 |
|
Delyan Angelov
|
6a5db0df61
|
v.token: use a more performant KeywordMatcher in the scanner and parser (#15196)
|
2022-07-25 06:32:06 +03:00 |
|
Delyan Angelov
|
de77114593
|
eval: support assignment operators like +=, make for a in 0..10 { more robust
|
2022-07-07 15:13:22 +03:00 |
|
Alexander Medvednikov
|
5f78647137
|
all: unsafe nil
|
2022-07-05 22:59:54 +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
|
e16ce3af88
|
token: minor cleanup of token.v (#14083)
|
2022-04-19 13:28:27 +03: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 |
|