741 Commits

Author SHA1 Message Date
JalonSolov
ae9a69bdf7
doc: add missing word in union section (#24926) 2025-07-19 09:17:06 +03:00
JalonSolov
6dad361eb7
doc: improve union section (#24925) 2025-07-18 22:40:50 +03:00
Alexander Medvednikov
ed82bbd2f3 doc: err is 2025-07-08 13:16:53 +03:00
Laurent Cheylus
1573d4c99b
docs: add a section for Lambda function expressions f(|x,y|x+y) (fix #23223) (#24789) 2025-06-25 14:41:32 +03:00
Delyan Angelov
080684dda1
v: support @DIR (as a comptime equivalent to os.dir(@FILE)) at runtime) (#24742) 2025-06-17 21:25:41 +03:00
leopardracer
a9e9e05118
doc: fix typos (#24693) 2025-06-11 07:56:09 +03:00
Delyan Angelov
3ecffe68ff
math.big, docs: document the behaviour of % for negative numbers; in V: -10 % 7 == -3 (#24604) 2025-05-30 05:49:19 +03:00
omahs
1957162c2a
all: fix typos (#24470) 2025-05-13 22:05:22 +03:00
Mike
bbee42f15e
comptime: enable ppc64le, add docs (#24433) 2025-05-08 11:11:26 +03:00
Alexander Medvednikov
7d57a19d7e checker: do not allow &u8(0), force nil like we do with &Type(0) 2025-05-03 22:37:51 +03:00
Eliyaan (Nopana)
cbddb8cd77
doc: exchange the descriptions of the 3rd and 4th columns for the -profile report (#24375) 2025-05-01 09:10:27 +03:00
Eliyaan (Nopana)
61a619937b
doc: describe the new 4th column of the profiler output, and its compatibility with tcc & multithreading; describe better the stib comp parameter (#24358) 2025-04-30 08:20:12 +03:00
Steven Gay
109e4f3a0c
doc: update link to map method (#24281) 2025-04-21 17:55:04 +03:00
JalonSolov
ca317e2ddf
doc: remove reference to 'any' type (#24239) 2025-04-16 06:41:53 +03:00
Hitalo Souza
2f7cf4df41
doc: improve Shared and Channels's topics, add more examples (#24155) 2025-04-09 07:49:06 +03:00
Mike
5211debe75
comptime: enable s390x + docs (#24114) 2025-04-05 19:00:45 +03:00
Delyan Angelov
4236baf56a
docs: fix old links in the v shader section, to their current equivalents on the master branch 2025-03-07 21:50:07 +02:00
Delyan Angelov
e9641875c3
doc: describe what enums are in docs.md (#23750) 2025-02-17 18:54:19 +02:00
Delyan Angelov
d82757abd9
checker,cgen: add support for a #postinclude directive 2025-02-12 01:18:16 +02:00
Delyan Angelov
e129ec5b7a
doc: add doc/c_and_v_type_interoperability.md (#23681) 2025-02-10 11:16:49 +02:00
Mike Ward
8bbaab396f
doc: remove the paragraph about vfmt renaming go to spawn (already finished) (#23673) 2025-02-08 17:45:55 +02:00
Delyan Angelov
af3eda66da
docs: use a plain block scope {}, instead of if true { in the section that shows that shadowing of locals is not allowed 2025-02-06 09:33:19 +02:00
Delyan Angelov
7ea5b4a020
tools: add a small utility script cmd/tools/vrun, to make it easier to use .vsh scripts on systems, with /usr/bin/env still not supporting -S 2025-02-04 14:54:38 +02:00
JalonSolov
1d700bef99
doc: rework strings section to clarify (#23610) 2025-01-29 19:53:45 +02:00
JalonSolov
1197615b1c
docs: improve string description (#23604) 2025-01-29 01:34:41 +02:00
Mike Ward
b0d2eeea5d
doc: document that struct fields can now use keywords as their names (#23564) 2025-01-24 12:11:40 +02:00
Kim Shrier
fda0af482f
doc: fix minor grammar error in attributes description (#23513) 2025-01-19 13:17:07 +02:00
Adam Oates
66ac23fc57
parser: add error for array init of Results []!type{} (fix #23360) (#23375) 2025-01-05 19:09:33 +02:00
Delyan Angelov
fb5bac112e
docs: document @[json: "-"] and @[sql: "-"] 2024-12-30 10:30:26 +02:00
p134c0d3
542a8e7826
docs: fix verbiage, remove potential confusion, in hello world section (#23310) 2024-12-30 09:45:02 +02:00
alexey semenyuk
f198e69c21
docs: remove -skip-unused from the docs, it is now on by default (close #23265) (#23303) 2024-12-29 15:32:55 +02:00
Carlos Esquerdo Bernat
63fff1dcd4
json: use @[required] to disallow parsing nulls (#23218) 2024-12-22 10:12:58 +02:00
Delyan Angelov
1fae506900
docs: add a section for static variables (#23184) 2024-12-16 19:48:43 +02:00
Delyan Angelov
844d89fd09
parser,checker,ast: support @[must_use] tag for fns/methods, and an experimental -check-result option (#22983) 2024-11-27 07:11:40 +02:00
Delyan Angelov
95e5ba44ae
docs: add a small sumtype match example in the Match section too 2024-11-25 21:11:21 +02:00
Felipe Pena
393e4ea8b2
docs: update section about Enum using reserved keywords (#22944) 2024-11-23 14:17:45 +02:00
Delyan Angelov
660f73395e
docs: change "See also" link in the println section to point to the String interpolation section 2024-11-23 14:03:13 +02:00
Bruno-Vdr
26837d4862
docs: add module hierarchy section (#22919) 2024-11-20 09:00:23 +02:00
Delyan Angelov
4e62b53ab6
docs: change instructions for cloning the V repository to use --depth=1 (#22905) 2024-11-18 23:24:02 +02:00
Bruno-Vdr
2390e58da0
docs: increase keyword number from 44 to 45 in documentation Appendix I: Keywords (#22890) 2024-11-17 19:52:16 +02:00
Bruno-Vdr
df220b6eb3
docs: add the implements keyword to the appendix of all V keywords (#22889) 2024-11-17 19:17:21 +02:00
Delyan Angelov
be4aec882a
docs: update the documentation of the @[console] tag, add advice to use -subsystem windows instead 2024-11-16 14:29:10 +02:00
Alexander Mandrikov
e1a5acc1ef
orm: support plain @[serial] attribute for marking struct fields (#22814) 2024-11-09 17:26:22 +02:00
Pepper Gray
891a8bc362
doc: explain deprecation process (#22568) 2024-10-18 13:11:43 +03:00
Pepper Gray
ce8f62146b
utf8, readline: clarify UTF-8 vs UTF-32 usage (see also #22461) (#22558) 2024-10-18 11:18:31 +03:00
Delyan Angelov
3326392ce2
docs: fix html rendering of the list of columns, in the description of the #profiling section 2024-10-16 15:18:56 +03:00
Delyan Angelov
df9cf27c7f
docs: add an Other online resources section (#22538) 2024-10-16 08:44:11 +03:00
Delyan Angelov
e4d80596a0
docs: add link to https://docs.vlang.io/introduction.html in doc/docs.md 2024-10-15 22:57:53 +03:00
Alexander Medvednikov
2b52153c14 all: make 0 => unsafe { nil } an error, not a notice 2024-10-07 01:54:19 +03:00
Alexander Medvednikov
a2d385aee3 parser: allow struct definitions inside functions 2024-10-06 22:40:14 +03:00