v/vlib/builtin
2025-09-10 15:12:22 +03:00
..
closure cgen: move closure C code to V code under vlib/builtin/closure/ (#24912) 2025-07-27 17:44:06 +03:00
js docs: cleanup doc comments of public APIs in builtin (found by find_doc_comments_with_no_dots.v) 2025-07-02 16:33:24 +03:00
linux_bare cgen: prefix builtin APIs with builtin__ (#25264) 2025-09-10 15:12:22 +03:00
wasm builtin,v.gen.wasm: support -b wasm -d no_imports (#24188) 2025-04-13 12:21:35 +03:00
wasm_bare builtin,cgen,markused: add struct @[aligned] support for structs allocated on the heap too (#24886) 2025-07-13 20:56:28 +03:00
wchar builtin: fix wide tests for big_endian systems (#24145) 2025-04-07 12:42:23 +03:00
array.v builtin: add arr.pop_left() func (#25133) 2025-08-19 14:37:18 +03:00
array_d_gcboehm_opt.v builtin: add arr.pop_left() func (#25133) 2025-08-19 14:37:18 +03:00
array_flags_test.v
array_notd_gcboehm_opt.v
array_test.v builtin: add arr.pop_left() func (#25133) 2025-08-19 14:37:18 +03:00
backtraces.c.v docs: cleanup doc comments of public APIs in builtin (found by find_doc_comments_with_no_dots.v) 2025-07-02 16:33:24 +03:00
backtraces_nix.c.v docs: cleanup doc comments of public APIs in builtin (found by find_doc_comments_with_no_dots.v) 2025-07-02 16:33:24 +03:00
backtraces_windows.c.v docs: cleanup doc comments of public APIs in builtin (found by find_doc_comments_with_no_dots.v) 2025-07-02 16:33:24 +03:00
builtin.c.v builtin: fix v -W -Wimpure-v examples/hello_world.v (move ctovstring_impl to builtin.c.v) 2025-09-10 09:11:17 +03:00
builtin.v builtin, checker, cgen: expose is_embed in FieldData (#25232) 2025-09-04 11:39:24 +03:00
builtin_android_outside_termux.c.v
builtin_backtraces_d_musl.c.v
builtin_backtraces_nix.c.v
builtin_d_gcboehm.c.v builtin,cgen,markused: add struct @[aligned] support for structs allocated on the heap too (#24886) 2025-07-13 20:56:28 +03:00
builtin_d_use_libbacktrace.c.v
builtin_ios.c.v
builtin_nix.c.v markused, builtin: apply @[markused] to builtin_init, remove its heuristic from markused.v 2025-08-05 16:04:14 +03:00
builtin_notd_gcboehm.c.v builtin,cgen,markused: add struct @[aligned] support for structs allocated on the heap too (#24886) 2025-07-13 20:56:28 +03:00
builtin_notd_use_libbacktrace.c.v
builtin_test.c.v
builtin_unbuffer_stdout_test.v
builtin_windows.c.v builtin: fix thread naming issue on Windows by ignoring RaiseException (0x406D1388) (#25270) 2025-09-10 09:34:45 +03:00
byte_test.v
cfns.c.v builtin: fix C prefix for proc_pidpath() (#25239) 2025-09-05 12:23:24 +03:00
cfns_wrapper.c.v ci: update linux image runners from ubuntu-20.04 to ubuntu-24.04 (#23706) 2025-02-17 07:37:59 +02:00
chan_option_result.v builtin,vdoc: fix the examples for the builtin methods, so that v doc -check-examples -time -f ansi vlib/builtin/ pass 2025-08-13 16:22:47 +03:00
character_inout.c.v
character_inout_test.v
fixed_array_test.v builtin: cleanup by merging fixed array tests into one test file (#22884) 2024-11-17 12:58:36 +02:00
float.c.v math,examples: make 2048 use sliding animation for the tile movement (#23268) 2024-12-26 06:39:59 +02:00
float_test.v
gated_array_string_test.v
input_rune_iterator.v builtin: add input_rune/0 and input_rune_iterator/0 + tests (#25238) 2025-09-05 12:39:02 +03:00
input_rune_iterator_test.v ci: run input_rune_iterator_test.v only on linux for now 2025-09-07 08:46:08 +03:00
int.v builtin,vdoc: fix the examples for the builtin methods, so that v doc -check-examples -time -f ansi vlib/builtin/ pass 2025-08-13 16:22:47 +03:00
int_d_new_int.v
int_notd_new_int.v
int_test.v cgen: fix big IntegerLiteral LL postfix (fix #25269) (#25275) 2025-09-10 09:45:40 +03:00
isnil_test.v builtin: fix tests for isnil for -prod or -W, after the recent new cast warning (#24531) 2025-05-21 06:10:34 +03:00
lambda_expr_array_test.v
map.c.v checker: do not allow &u8(0), force nil like we do with &Type(0) 2025-05-03 22:37:51 +03:00
map.v builtin,vdoc: fix the examples for the builtin methods, so that v doc -check-examples -time -f ansi vlib/builtin/ pass 2025-08-13 16:22:47 +03:00
map_d_gcboehm_opt.v
map_of_floats_test.v
map_test.v builtin: fix recent cast warning for tests for map (fix compilation with -prod or -W) (#24532) 2025-05-21 06:04:33 +03:00
option.c.v
prealloc.c.v builtin,cgen,markused: add struct @[aligned] support for structs allocated on the heap too (#24886) 2025-07-13 20:56:28 +03:00
README.md
reuse.v builtin: add unsafe reuse_string_as_data/1 and reuse_data_as_string/1 functions + tests (#24794) 2025-06-26 19:19:35 +03:00
reuse_test.v builtin: add unsafe reuse_string_as_data/1 and reuse_data_as_string/1 functions + tests (#24794) 2025-06-26 19:19:35 +03:00
rune.v docs: cleanup doc comments of public APIs in builtin (found by find_doc_comments_with_no_dots.v) 2025-07-02 16:33:24 +03:00
rune_map.v v2: add formatting workarounds, to make v run cmd/v2/v2.v --skip-imports -d vlib/v2/tests/syntax.v_ run 2025-07-03 09:46:01 +03:00
rune_test.v builtin: fix rune.to_title(), add tests (#22808) 2024-11-08 17:09:20 +02:00
sorted_lambda_expr_test.v
sorted_map.v parser,checker,cgen: remove unused err declaration or or { } blocks (#25034) 2025-08-05 10:48:17 +03:00
sorting_test.v
string.v builtin: fix v -W -Wimpure-v examples/hello_world.v (move ctovstring_impl to builtin.c.v) 2025-09-10 09:11:17 +03:00
string_charptr_byteptr_helpers.v cgen: add @[reused] attribute to mark methods, reusing the receiver memory on return (needed for autofree) (fix #25221) (#25235) 2025-09-05 07:44:41 +03:00
string_int_test.v checker: fix signed integer literal overflow error, when most significant bit occupies signed bit (fix #23782) (#23919) 2025-03-13 17:29:44 +02:00
string_interpolation.v cgen: prefix builtin APIs with builtin__ (#25264) 2025-09-10 15:12:22 +03:00
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) 2025-06-21 12:33:14 +03:00
string_match_glob_test.v
string_strip_margin_test.v
string_test.v builtin: fix assert "ä ö å æ ã ø ô é ë".title() == "Ä Ö Å Æ Ã Ø Ô É Ë" (fix #25017) (#25026) 2025-08-02 14:03:28 +03:00
string_trim_indent_test.v
utf8.c.v docs: cleanup doc comments of public APIs in builtin (found by find_doc_comments_with_no_dots.v) 2025-07-02 16:33:24 +03:00
utf8.v v2: add formatting workarounds, to make v run cmd/v2/v2.v --skip-imports -d vlib/v2/tests/syntax.v_ run 2025-07-03 09:46:01 +03:00
utf8_test.v builtin: fix wide tests for big_endian systems (#24145) 2025-04-07 12:42:23 +03:00

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.