v/vlib/builtin
Nick Treleaven 2cd9c91e98
vdoc: highlight terminal examples for `-comments -color` (#13937)
2022-04-04 18:13:24 +03:00
..
js vdoc: highlight inline examples for `-f html` (#13879) 2022-03-31 19:32:32 +03:00
linux_bare builtin: add builtin/wasm_bare (#13078) 2022-01-07 13:16:06 +02:00
wasm_bare builtin.wasm_bare: fix malloc invocation (#13740) 2022-03-15 12:55:39 +02:00
README.md builtin: add more documentation (#13160) 2022-01-14 17:27:38 +02:00
array.c.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
array.v builtin: add an `array.drop(n)` method (#13907) 2022-04-03 17:05:50 +03:00
array_d_gcboehm_opt.v builtin: minor optimization of array.push() and array.push_noscan() (#13904) 2022-04-03 11:04:18 +03:00
array_notd_gcboehm_opt.v
array_shrinkage_test.v builtin: support a.flags.set(.noslices | .noshrink), use it in the particles example (#13818) 2022-03-24 23:37:13 +02:00
array_test.v builtin: add an `array.drop(n)` method (#13907) 2022-04-03 17:05:50 +03:00
builtin.c.v builtin: use malloc_noscan more (for map metas and in []byte.hex()) 2022-03-11 11:26:22 +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
builtin_nix.c.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
builtin_notd_gcboehm.c.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
builtin_windows.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
byte_test.v
cfns.c.v builtin: cleanup [trusted] tags for C function declarations 2022-01-25 19:31:40 +02:00
cfns_wrapper.c.v parser: deprecate `size_t` (#11443) 2021-09-08 13:09:32 +03:00
chan.v
float.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
float_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03: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 vdoc: HTML highlight generic function as function, not name (#13923) 2022-04-03 23:41:02 +03:00
int_test.v builtin: add charptr str() and change string format (#12973) 2021-12-30 23:34:24 +03:00
isnil_test.v
map.c.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
map.v builtin: use malloc_noscan more (for map metas and in []byte.hex()) 2022-03-11 11:26:22 +02:00
map_d_gcboehm_opt.v
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: 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
option.v vdoc: highlight inline examples for `-f html` (#13879) 2022-03-31 19:32:32 +03:00
prealloc.c.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
rune.v builtin: document the rune.length_in_bytes method (#13826) 2022-03-25 20:09: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 vdoc: highlight terminal examples for `-comments -color` (#13937) 2022-04-04 18:13:24 +03:00
string_charptr_byteptr_helpers.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
string_int_test.v builtin: add a string.parse_int/2 method (wrapping strconv.parse_int/3) (#13164) 2022-01-14 00:31:11 +02:00
string_interpolation.v parser: notice unnecessary parenthesis of reference (fix #11179) (#13739) 2022-03-15 16:11:53 +02:00
string_match_glob_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
string_strip_margin_test.v all: update copyright year 2022-01-04 12:21:12 +03:00
string_test.v scanner: remove the restriction for \x00 in strings (#13493) 2022-02-16 23:41:05 +02:00
utf8.c.v builtin: use a pure V version of string.to_wide() on != windows (#13314) 2022-01-28 20:41:50 +02:00
utf8.v builtin: add a `byterune` method on `[]byte` (#13145) 2022-01-13 22:26:17 +02:00
utf8_test.v builtin: use a pure V version of string.to_wide() on != windows (#13314) 2022-01-28 20:41:50 +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.