v/vlib/builtin
yuyi b9cf2db6a8
parser: fix inline array's element access (#14253)
2022-05-02 16:16:32 +03:00
..
js docs: document more `builtin` functions/methods (#14229) 2022-04-30 12:31:23 +03:00
linux_bare ci: fix more test-all failures 2022-04-15 21:02:03 +03:00
wasm_bare all: byte => u8 2022-04-15 14:58:56 +03: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: fix failing embed_file_test.v (`pub fn (data &u8) vbytes(len int) []u8 {`) 2022-04-15 19:57:00 +03:00
array_d_gcboehm_opt.v builtin: more byte => u8 2022-04-15 14:10:11 +03:00
array_notd_gcboehm_opt.v gc: extend optimized mode to strings (#10431) 2021-06-12 11:27:08 +03:00
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 parser: fix inline array's element access (#14253) 2022-05-02 16:16:32 +03:00
builtin.c.v docs: document more `builtin` functions/methods (#14229) 2022-04-30 12:31:23 +03:00
builtin.v all: update copyright year 2022-01-04 12:21:12 +03:00
builtin_d_gcboehm.c.v builtin: fix `-cc gcc -gc boehm` on linux and macos (#14115) 2022-04-21 00:12:17 +03: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 builtin: [1000]u8 fix 2022-04-15 14:48:39 +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 builtin: ignore C++ 0xE06D7363 exception errors on windows (#14225) 2022-04-29 14:55:29 +03:00
byte_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
cfns.c.v builtin: define atoi & ftell 2022-04-29 04:31:51 +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 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 docs: document more `builtin` functions/methods (#14229) 2022-04-30 12:31:23 +03:00
int_test.v ci: add test_byte_vs_u8 to int_test.v 2022-04-15 21:42:07 +03:00
isnil_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
map.c.v all: byte => u8 2022-04-15 14:58:56 +03:00
map.v all: byte => u8 2022-04-15 14:45:52 +03:00
map_d_gcboehm_opt.v all: byte => u8 2022-04-15 14:58:56 +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 checker: error if smaller signed == unsigned (#14078) 2022-04-25 12:09:25 +03: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 all: rename result to _result (#14232) 2022-04-30 17:10:30 +03:00
prealloc.c.v all: byte => u8 2022-04-15 14:58:56 +03:00
rune.v all: byte => u8 2022-04-15 14:45:52 +03:00
rune_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
sorted_map.v all: byte => u8 2022-04-15 14:58:56 +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: add `string.len_utf8()` method (#14208) 2022-04-29 10:23:57 +03:00
string_charptr_byteptr_helpers.v all: replace []byte with []u8 2022-04-15 15:35:35 +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 all: byte => u8 2022-04-15 14:58:56 +03: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 builtin: add `string.len_utf8()` method (#14208) 2022-04-29 10:23:57 +03:00
utf8.c.v all: byte => u8 2022-04-15 14:58:56 +03:00
utf8.v builtin: add `string.len_utf8()` method (#14208) 2022-04-29 10:23:57 +03: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.