Delyan Angelov
|
6165b119f6
|
scanner,parser,checker: do show the first error on -Wfatal-errors
|
2022-06-28 14:05:32 +03:00 |
|
yuyi
|
80cc88427b
|
scanner: minor cleanup in scanner.v (#14565)
|
2022-05-31 11:52:47 +03:00 |
|
yuyi
|
2c5febe25e
|
scanner: fix string interpolation with inner curly braces (fix #12242) (#14553)
|
2022-05-29 19:28:23 +03:00 |
|
Delyan Angelov
|
f2447a4bd8
|
tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/
|
2022-05-18 13:39:57 +03:00 |
|
yuyi
|
70184ad1f8
|
scanner: minor simplification in scanner.v (#14331)
|
2022-05-07 08:30:15 +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 |
|
Alexander Medvednikov
|
fbb9e65c0f
|
all: ~500 more byte=>u8
|
2022-04-15 18:25:45 +03:00 |
|
Alexander Medvednikov
|
d4a0d6f73c
|
all: byte => u8
|
2022-04-15 14:58:56 +03:00 |
|
Alexander Medvednikov
|
014c3c97f0
|
all: byte => u8
|
2022-04-15 14:45:52 +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 |
|
Delyan Angelov
|
89b99ad4c3
|
scanner: remove the restriction for \x00 in strings (#13493)
|
2022-02-16 23:41:05 +02:00 |
|
Tim Basel
|
9d0a5942ac
|
builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041)
|
2022-02-11 15:52:33 +02:00 |
|
yuyi
|
291a1ffd8d
|
token: rename Position to Pos, rename position() to pos() (#13279)
|
2022-01-26 12:36:28 +02:00 |
|
jeffmikels
|
7a2705d8ce
|
scanner: multibyte rune literals now support unicode, hex, and octal escape codes (#13140)
|
2022-01-19 03:23:25 +03:00 |
|
Delyan Angelov
|
b658b65774
|
scanner,cgen,vfmt: keep original when using byte char literals, test all 256 byte values in the C backend
|
2022-01-12 14:45:38 +02:00 |
|
jeffmikels
|
ab642cac43
|
scanner, cgen: improve support for escape codes in backticks/runes (#13127)
|
2022-01-11 22:36:18 +02:00 |
|
Delyan Angelov
|
59357e873d
|
math: move the math.mathutil generic min /max /abs fns to math (#13042)
|
2022-01-05 18:02:20 +02:00 |
|
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
|
Delyan Angelov
|
df8384b62e
|
v.scanner: report the start of unfinished string literals too
|
2021-12-30 18:29:52 +02:00 |
|
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 |
|
joe-conigliaro
|
07cf6d9f96
|
parser/scanner: make codegen impl use own parser. closes #12857 (#12925)
|
2021-12-21 19:48:06 +02:00 |
|
Delyan Angelov
|
b3287f8159
|
Revert "v.scanner: reduce memory consumption for Scanner.ident_name"
This reverts commit b18cd37e59 .
|
2021-12-11 17:10:01 +02:00 |
|
Delyan Angelov
|
b18cd37e59
|
v.scanner: reduce memory consumption for Scanner.ident_name
|
2021-12-11 16:38:20 +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
|
6937074e7a
|
strings,builder: reduce V cgen and parser memory consumption, fix strings.Builder leak (#12342)
|
2021-10-31 12:58:55 +02:00 |
|
Delyan Angelov
|
3d800b12e8
|
scanner: small optimisation of the ident_name hot loop
|
2021-10-29 16:18:34 +03:00 |
|
Delyan Angelov
|
99e71d0868
|
scanner: preallocate space for tokens to reduce the number of allocations in the hot loop
|
2021-10-28 16:23:24 +03: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
|
f79bc8619a
|
scanner: remove unused .line_ends field
|
2021-10-27 22:37:00 +03:00 |
|
Ruofan XU
|
834cf40ab2
|
cgen, fmt, scanner: fix and use nested lambda in scanner (#11967)
|
2021-09-24 18:21:22 +03:00 |
|
Ruofan XU
|
52b53f17b2
|
scanner: clean up scanning of > (#11943)
|
2021-09-23 02:24:23 +03:00 |
|
ChAoS_UnItY
|
95136cbfc7
|
all: add unsigned shift operators (#11536)
|
2021-09-21 14:02:17 +03:00 |
|
Ruofan XU
|
1430ebc5e3
|
scanner: cleanup scanning of > (#11558)
|
2021-09-21 00:57:05 +03:00 |
|
Ruofan XU
|
b343f19bec
|
v.scanner: fix ambiguity of two-level generics and shift-right (#11540)
|
2021-09-19 16:22:28 +03:00 |
|
Ruofan XU
|
9180647f99
|
scanner, fmt: fix multi-level generics (#11517)
|
2021-09-17 21:44:31 +03:00 |
|
Enzo
|
79c2bca401
|
v.scanner: fix error messages with unexpected token ? (#11428)
|
2021-09-07 20:46:56 +03:00 |
|
Ned Palacios
|
aedb6b8e84
|
v.builder: implement a -check mode, that runs only the parser + the checker, without codegen (#11414)
|
2021-09-07 07:17:53 +03:00 |
|
William Gooch
|
4d5521bbf7
|
scanner: clarify the float literal warning (#11313)
|
2021-08-27 16:49:29 +03:00 |
|
Alexander Medvednikov
|
714fa3215c
|
scanner: make the 1. float error a warning for now
|
2021-08-25 16:58:54 +03:00 |
|
yuyi
|
4d078edb72
|
scanner: no longer allow 1. float literals (#11301)
|
2021-08-25 14:39:37 +03:00 |
|
Leo Developer
|
b3094b0667
|
checker: abort prematurely on too many errors (#11185)
|
2021-08-15 13:41:51 +03:00 |
|
Leo Developer
|
8a8a0932f7
|
all: add limit to accumulated errors / warnings (#11183)
|
2021-08-14 19:49:21 +03:00 |
|
Daniel Däschle
|
2ae77c1998
|
v.scanner: fix escaped backslash after string interpolation (#11118)
|
2021-08-10 17:04:42 +03:00 |
|
zakuro
|
490dec222f
|
fmt: keep char literal, ' (#11060)
|
2021-08-06 06:21:28 +03:00 |
|
Daniel Däschle
|
a09324faa9
|
scanner: remove pos 0 hack which is no longer needed (#10935)
|
2021-07-25 01:13:07 +03:00 |
|
Delyan Angelov
|
9ffbda3833
|
v.scanner: improve error diagnostic when scanner's file_path is not a file
|
2021-07-24 13:32:55 +03:00 |
|
Daniel Däschle
|
ed234188b7
|
scanner: fix single backslash in raw string (#10890)
|
2021-07-22 17:02:11 +03:00 |
|