ChAoS_UnItY
|
404a9aa442
|
v: forbid function parameter names, shadowing imported module names (#17210)
|
2023-02-08 20:37:04 +02:00 |
|
Delyan Angelov
|
fdbd40d806
|
scanner: make Scanner.peek_token more robust (p.peek_token(-999999) will return an EOF token, instead of garbage data)
|
2022-11-27 12:09:43 +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
|
a199a9afab
|
all: rollback to old interpolation (step 2) (#16373)
|
2022-11-09 17:37:27 +03:00 |
|
shove
|
dd5f6186a1
|
all: rollback to old interpolation (step 1) (#16370)
|
2022-11-09 11:57:54 +03:00 |
|
yuyi
|
c7d0f0561e
|
scanner: fix new string interpolation - nested quotes (#16345)
|
2022-11-08 17:51:02 +03:00 |
|
yuyi
|
d701cf561c
|
scanner: fix new string interpolation: print('{n:10}') (fix #16321) (#16325)
|
2022-11-06 08:20:21 +03:00 |
|
yuyi
|
fd4045931a
|
scanner: fix the new string interpolation - println('{s == 'hello'}') (fix #16318) (#16319)
* scanner: fix the new string interpolation - println('{s == 'hello'}')
* fix vlib/v/eval/gen/infix_gen.v
|
2022-11-03 23:06:11 +02:00 |
|
yuyi
|
a979b3aab8
|
scanner: fix new string interpolation - print('{a}{{b}}') (#16309)
|
2022-11-03 14:04:41 +02:00 |
|
shove
|
fa4a45d37f
|
all: make fmt support two kinds of interpolation at the same time. (#16308)
|
2022-11-03 13:32:07 +02:00 |
|
shove
|
c3e209a634
|
scanner: prevent resolving to nested interpolation (fix #16240) (#16259)
|
2022-10-31 10:47:32 +02:00 |
|
yuyi
|
64cbadc6f1
|
scanner: fix new string interpolation println('{a}{b}{c}{d}') (#16258)
|
2022-10-30 20:18:31 +02:00 |
|
yuyi
|
daa2f90023
|
scanner: fix and resotre string interpolation tests (#16242)
|
2022-10-28 18:39:32 +03:00 |
|
Alexander Medvednikov
|
e1ffc76efd
|
tests: fix some interpolation tests
|
2022-10-27 11:12:15 +03:00 |
|
Alexander Medvednikov
|
604f19adba
|
scanner: : str inter fix
|
2022-10-27 11:08:32 +03:00 |
|
Alexander Medvednikov
|
18c7da9a5e
|
all: new string interpolation "hello {name}!"
|
2022-10-27 11:01:01 +03:00 |
|
yuyi
|
f6844e9766
|
all: change optional to result of io (#16075)
|
2022-10-16 09:28:57 +03:00 |
|
Swastik Baranwal
|
b584e1df98
|
checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932)
|
2022-10-02 22:39:11 +03:00 |
|
Carl Xiong
|
78f8b9eb28
|
v.scanner: fix an unicode string escape handling bug (#15834)
|
2022-09-22 13:44:55 +03:00 |
|
Delyan Angelov
|
4718b8b45a
|
all: unify the displaying of compiler errors, using a common util.show_compiler_message/2 function.
|
2022-08-24 13:38:47 +03:00 |
|
Swastik Baranwal
|
f727433929
|
scanner: add check for invalid unicode (#15485)
|
2022-08-22 10:56:51 +03:00 |
|
yuyi
|
7227c1d508
|
scanner: fix false &&!ok1 (fix #7524) (#15458)
|
2022-08-18 11:55:38 +03:00 |
|
yuyi
|
ce59fffb53
|
scanner: make scan_all_tokens_in_buffer() private (#15312)
|
2022-08-01 23:15:56 +03:00 |
|
yuyi
|
7546d1450c
|
scanner: minor optimization (#15313)
|
2022-08-01 23:09:27 +03:00 |
|
Delyan Angelov
|
336305daa5
|
scanner,parser,gen: use km.matches(word) instead of km.find(word) != -1
|
2022-07-29 23:23:33 +03:00 |
|
yuyi
|
c976a691ad
|
scanner: correct error message of empty character literal (fix #15226) (#15228)
|
2022-07-26 15:07:08 +03:00 |
|
yuyi
|
f619becbdc
|
scanner: check undefined ident in string literal (#15212)
|
2022-07-25 14:28:47 +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
|
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 |
|