v/vlib/builtin
Delyan Angelov ecc7accc8e
tests: test with valgrind rune.bytes(), fix leak in .str_escaped()
2022-01-11 15:23:40 +02:00
..
js arrays,docs: remove arrays.zip; improve docs (#13082) 2022-01-09 16:12:33 +02:00
linux_bare builtin: add builtin/wasm_bare (#13078) 2022-01-07 13:16:06 +02:00
wasm_bare builtin: add builtin/wasm_bare (#13078) 2022-01-07 13:16:06 +02:00
README.md arrays,docs: remove arrays.zip; improve docs (#13082) 2022-01-09 16:12:33 +02:00
array.c.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
array.v all: update copyright year 2022-01-04 12:21:12 +03:00
array_d_gcboehm_opt.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
array_notd_gcboehm_opt.v gc: extend optimized mode to strings (#10431) 2021-06-12 11:27:08 +03:00
array_test.v fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
builtin.c.v builtin: use dlmalloc for `-freestanding` (#13054) 2022-01-06 14:10:37 +02:00
builtin.v all: update copyright year 2022-01-04 12:21:12 +03:00
builtin_d_gcboehm.c.v builtin: allow msvc users to link against a custom compiled Boehm library (#13133) 2022-01-11 15:23:21 +02:00
builtin_ios.c.v v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795) 2021-04-19 19:01:47 +03:00
builtin_nix.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
builtin_notd_gcboehm.c.v parser: deprecate `size_t` (#11443) 2021-09-08 13:09:32 +03:00
builtin_windows.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
byte_test.v parser: warn about old use of `typeof` (#7923) 2021-01-07 20:32:02 +01:00
cfns.c.v os: move C struct declarations in their own _default.c.v files (#12268) 2021-10-22 17:08:08 +03:00
cfns_wrapper.c.v parser: deprecate `size_t` (#11443) 2021-09-08 13:09:32 +03:00
chan.v checker: make use of private enum from outside module an error. (#9821) 2021-04-22 07:07:56 +03:00
float.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
float_test.v builtin: vfmt every .v file, except vlib/builtin/int_test.v (#9448) 2021-03-24 20:39:59 +02:00
float_x64.v all: update copyright year 2022-01-04 12:21:12 +03:00
gated_array_string_test.v all: support slices with negative indexes `#[start..end]` (gated arrays) (#12914) 2021-12-22 16:34:02 +03:00
int.v tests: test with valgrind rune.bytes(), fix leak in .str_escaped() 2022-01-11 15:23:40 +02:00
int_test.v builtin: add charptr str() and change string format (#12973) 2021-12-30 23:34:24 +03:00
isnil_test.v ci: fix some of `v test-cleancode` 4 2021-04-05 21:39:32 +03:00
map.c.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
map.v all: update copyright year 2022-01-04 12:21:12 +03:00
map_d_gcboehm_opt.v gc: extend optimized mode to maps (#10426) 2021-06-13 06:26:43 +03:00
map_of_floats_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_test.v preludes,builder,cgen: add support for VTEST_RUNNER=tap and -test-runner tap (#12523) 2021-12-16 15:59:46 +02:00
option.c.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
option.v all: update copyright year 2022-01-04 12:21:12 +03:00
prealloc.c.v builtin: add a `[has_globals]` tag for all the .v files, with global declarations in them 2021-11-17 10:29:06 +02:00
rune.v builtin: reduce allocations in `rune.bytes()` 2022-01-11 15:23:39 +02:00
rune_test.v builtin: add a rune.bytes() convenience method (#13129) 2022-01-11 09:55:51 +02:00
sorted_map.v all: update copyright year 2022-01-04 12:21:12 +03:00
sorting_test.v preludes,builder,cgen: add support for VTEST_RUNNER=tap and -test-runner tap (#12523) 2021-12-16 15:59:46 +02:00
string.v builtin: s.trim_prefix/1 -> s.trim_string_left/1, s.trim_suffix/1 -> s.trim_string_right/1 2022-01-05 12:49:22 +02:00
string_charptr_byteptr_helpers.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
string_int_test.v builtin: fix {-7:08b} (interpolation of negative numbers with 0 padding), add tests 2021-12-04 13:11:05 +02:00
string_interpolation.v all: update copyright year 2022-01-04 12:21:12 +03:00
string_match_glob_test.v builtin: add `s.match_glob(wildcard_pattern)` 2021-12-20 14:17:08 +02:00
string_strip_margin_test.v all: update copyright year 2022-01-04 12:21:12 +03:00
string_test.v builtin: s.trim_prefix/1 -> s.trim_string_left/1, s.trim_suffix/1 -> s.trim_string_right/1 2022-01-05 12:49:22 +02:00
utf8.c.v vlib: use `malloc_noscan()` where possible (#10465) 2021-06-15 14:47:11 +03:00
utf8.v builtin: reduce allocations in `rune.bytes()` 2022-01-11 15:23:39 +02:00
utf8_test.v ci: skip test_utf8_wide_char on windows with msvc 2021-01-04 00:16:31 +02:00

README.md

Description:

builtin is a module that is implicitly imported by every V program. It implements the builtin V types array, string, map. 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.