0 branches
Tree
Top files
Clone with HTTPS:
linux_bare
cgen: fix c error while compiling freestanding v program (fixes #25567)
last Apr 15
68.1 KB
wasm_bare
cgen: fix incompatible types for redefinition of memcpy (fixes #14458)
last Mar 25
3.51 KB
overflow
builtin: move vlib/builtin/overflow/overflow_test.v to vlib/v/tests/builtin_overflow_test.v (reduce time for the common `v test vlib/builtin`)
last Nov 1
11.22 KB
README.md
builtin: add support for splitting strings into unicode grapheme clusters (fixes #22117)
last Mar 25
562 bytes
allocation.c.v
all: remove the old `-b native` backend, replaced by `v -v2 -b arm64/x64`
last Apr 17
16.58 KB
autostr.v
cgen: fix circular printing not showing item count in array (fixes #21689)
last Apr 15
1.78 KB
backtraces.c.v
builtin: fix libbacktrace not supported on OpenBSD (fixes #22261)
last Apr 23
3.31 KB
builtin_android_outside_termux.c.v
android: provide more predictable logging, add comptime termux support (#14984)
3 years ago
66 bytes
backtraces_nix.c.v
all: remove the old `-b native` backend, replaced by `v -v2 -b arm64/x64`
last Apr 17
7.08 KB
backtraces_windows.c.v
all: remove the old `-b native` backend, replaced by `v -v2 -b arm64/x64`
last Apr 17
5.47 KB
chan_option_result.v
all: Optional error parameter for closing channel (fixes #19203)
last Apr 14
4.79 KB
character_inout_test.v
builtin: add input_character/0 and print_character/1 (#19502)
2 years ago
481 bytes
gated_array_string_test.v
all: Allow negative indexing of array like `arr#[-1]` (fixes #24066)
last Apr 14
2.16 KB
input_rune_iterator.v
builtin: add input_rune/0 and input_rune_iterator/0 + tests (#25238)
last Sep 5
1007 bytes
int.v
all: fix add checker error when non-explicitly downcasting integers internally (fixes #23695)
last Apr 23
14.49 KB
int_test.v
v2: lots of arm64/ssa fixes; make array_test and string_test pass with arm64
last Feb 28
6.51 KB
lambda_expr_array_test.v
all: change single blank comment to blank line (#22016)
1 year ago
976 bytes
meta_enum.v
builtin: split builtin.v and builtin.c.v into smaller, and more focused .v files, to ease working on unrelated subsystems (#25965)
last Dec 14
86 bytes
meta_variant.v
builtin: split builtin.v and builtin.c.v into smaller, and more focused .v files, to ease working on unrelated subsystems (#25965)
last Dec 14
57 bytes
rune_map.v
v2: add formatting workarounds, to make `v run cmd/v2/v2.v --skip-imports -d vlib/v2/tests/syntax.v_` run
last Jul 3
8.67 KB
string_int_test.v
checker: fix signed integer literal overflow error, when most significant bit occupies signed bit (fix #23782) (#23919)
1 year ago
9.82 KB
string_match_glob_test.v
builtin: fix error when matching literal '*' using match_glob (fixes #22867)
last Feb 26
3.11 KB
builtin.v
all: fix Matlab/Pytorch/Numpy syntax for multidimensional array indexing and slicing (fixes #21628)
last Apr 23
1.32 KB
builtin_backtraces_nix.c.v
builtin: show file and line number in backtraces; v2: `implements`, clone() auto generation
last Apr 11
277 bytes
builtin_d_use_libbacktrace.c.v
builtin: fix libbacktrace not supported on OpenBSD (fixes #22261)
last Apr 23
3.12 KB
builtin_d_vgc.c.v
all: fix CI failures from VGC PR - add missing stubs, fix README
last Mar 17
482 bytes
builtin_notd_gcboehm.c.v
all: fix CI failures from VGC PR - add missing stubs, fix README
last Mar 17
2.2 KB
cfns_wrapper.c.v
builtin: fix sort() behaving differently on linux and windows (fixes #16512)
last Apr 21
5.69 KB
character_inout.c.v
builtin: add input_character/0 and print_character/1 (#19502)
2 years ago
1.1 KB
fixed_array_test.v
builtin: fix sort() behaving differently on linux and windows (fixes #16512)
last Apr 21
10.43 KB
float_test.v
v2: lots of arm64/ssa fixes; make array_test and string_test pass with arm64
last Feb 28
9.26 KB
hex_test.v
builtin: add .hex() methods to the `rune` and `char` types too (#25635)
last Oct 31
647 bytes
input_rune_iterator_test.v
builtin: fix input_rune_iterator_test flake on slow CI (chunked pipe_read)
last May 10
1.26 KB
isnil_test.v
builtin: fix tests for isnil for -prod or -W, after the recent new cast warning (#24531)
1 year ago
292 bytes
map.c.v
all: remove the old `-b native` backend, replaced by `v -v2 -b arm64/x64`
last Apr 17
2.91 KB
meta_assert.v
builtin: split builtin.v and builtin.c.v into smaller, and more focused .v files, to ease working on unrelated subsystems (#25965)
last Dec 14
1.89 KB
meta_attribute.v
builtin: split builtin.v and builtin.c.v into smaller, and more focused .v files, to ease working on unrelated subsystems (#25965)
last Dec 14
295 bytes
meta_struct.v
builtin: split builtin.v and builtin.c.v into smaller, and more focused .v files, to ease working on unrelated subsystems (#25965)
last Dec 14
982 bytes
reuse.v
builtin: add unsafe reuse_string_as_data/1 and reuse_data_as_string/1 functions + tests (#24794)
last Jun 26
2.54 KB
reuse_test.v
builtin: add unsafe reuse_string_as_data/1 and reuse_data_as_string/1 functions + tests (#24794)
last Jun 26
405 bytes
sorted_lambda_expr_test.v
all: support short lambda expressions like a.sorted(|x,y| x > y), in all callsites that accept a fn callback (#19390)
2 years ago
1.12 KB
sorting_test.v
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
1.57 KB
string_d_ownership.v
builtin: show file and line number in backtraces; v2: `implements`, clone() auto generation
last Apr 11
710 bytes
string_iterator_test.v
builtin: add a rune iterator method to strings, allowing `for for i, r in s.runes_iterator() {` without first allocating an array for all the runes (#24769)
last Jun 21
699 bytes
Description
builtin is a module that is implicitly imported by every V program.
It implements the builtin V types array, string, map.
It also includes Unicode-aware string helpers such as string.graphemes()
for splitting text into grapheme clusters.
It also implements builtin functions like println, eprintln, malloc,
panic, print_backtrace.
The autogenerated documentation for builtin functions is lacking, so for these
functions, please refer to the
official V documentation.