v/vlib/builtin
2024-10-25 22:01:09 +03:00
..
js builtin: cleanup u8.repeat() and rune.repeat() (#22100) 2024-08-23 08:24:35 +03:00
linux_bare fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
wasm builtin: remove remaining references to v_calloc in function comments (#22179) 2024-09-08 12:10:33 +03:00
wasm_bare vlib: change byte to u8 (#19930) 2023-11-19 04:23:32 +03:00
wchar fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
array.v builtin: implement a s.hex() method, allowing shortening s.bytes().hex() chains, and reducing the intermediate allocations; add tests for it (#22540) 2024-10-16 14:18:10 +03:00
array_d_gcboehm_opt.v builtin: cleanup push_many()/push_many_noscan() (#22383) 2024-10-01 20:16:13 +03:00
array_flags_test.v fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
array_index_test.v cgen: fix codegen for a.index/1, where a is []Fn (#20849) 2024-02-17 00:30:57 +02:00
array_notd_gcboehm_opt.v builtin, cgen: fix array of struct with map field initialize (fix #17325) (#17340) 2023-02-18 20:34:15 +02:00
array_sorted_test.v builtin: implement array.sorted() and array.sorted_with_compare() methods, that do not modify their receivers (#19251) 2023-09-01 09:12:00 +03:00
array_test.v cgen: fix aliases of array insert(...)/prepend(...) (fix #22323) (#22324) 2024-09-27 07:41:13 +03:00
backtraces.c.v native, builtin, ast: handle ast.HashStmt correctly and reduce macro usage in builtin (#19498) 2023-10-04 16:42:15 +03:00
backtraces_nix.c.v v: $dbg statement - native V debugger REPL (#20533) 2024-01-19 07:10:17 +02:00
backtraces_windows.c.v v: $dbg statement - native V debugger REPL (#20533) 2024-01-19 07:10:17 +02:00
builtin.c.v builtin: unify memory allocation error handling, and avoid string interpolation, when allocation failed (#22423) 2024-10-06 20:56:58 +03:00
builtin.v all: add comptime support for traversing the method parameters with $for arg in method.params { (#22229) 2024-09-17 20:13:07 +03:00
builtin_android_outside_termux.c.v android: provide more predictable logging, add comptime termux support (#14984) 2022-07-07 18:28:29 +03:00
builtin_backtraces_d_musl.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
builtin_backtraces_nix.c.v
builtin_d_gcboehm.c.v builtin: support -d no_gc_threads for turning off passing -DGC_THREADS=1 while compiling the GC library 2024-10-23 16:10:19 +03:00
builtin_d_use_libbacktrace.c.v v: change old attr syntax mention to new one in comments too (#21860) 2024-07-14 09:39:37 +03:00
builtin_ios.c.v
builtin_nix.c.v builtin: support -d builtin_print_use_fprintf, make the C fn declarations stricter (#22137) 2024-08-31 16:57:51 +03:00
builtin_notd_gcboehm.c.v fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
builtin_notd_use_libbacktrace.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
builtin_test.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
builtin_unbuffer_stdout_test.v builtin: implement unbuffer_stdout/0 (#20662) 2024-01-26 17:47:43 +02:00
builtin_windows.c.v builtin: support -d builtin_print_use_fprintf, make the C fn declarations stricter (#22137) 2024-08-31 16:57:51 +03:00
byte_test.v
cfns.c.v builtin: support -d builtin_print_use_fprintf, make the C fn declarations stricter (#22137) 2024-08-31 16:57:51 +03:00
cfns_wrapper.c.v vlib: fix C warnings/errors for v -show-c-output -cstrict -cc clang-18 run examples/gg/additive.v 2024-07-30 17:15:15 +03:00
chan.v
character_inout.c.v builtin: add input_character/0 and print_character/1 (#19502) 2023-10-04 04:40:03 +03:00
character_inout_test.v builtin: add input_character/0 and print_character/1 (#19502) 2023-10-04 04:40:03 +03:00
fixed_array_any_all_test.v checker: fix lambda expr with fntype params and restore fixed_array_any_all_test.v (#22625) 2024-10-23 15:38:53 +03:00
fixed_array_contains_test.v checker, gen: implement method .contains/1 for fixed arrays (#22617) 2024-10-22 18:17:06 +03:00
fixed_array_index_test.v checker, cgen: implement .index/1 method for fixed arrays (#22593) 2024-10-20 14:38:48 +03:00
fixed_array_map_test.v checker, cgen: implement method map() for fixed arrays (#22644) 2024-10-25 11:49:48 +03:00
fixed_array_sort_test.v checker, cgen: implement method sort()/sorted() for fixed array (#22650) 2024-10-25 22:01:09 +03:00
float.c.v all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
float_test.v all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
float_x64.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
gated_array_string_test.v
int.v builtin: drop C in int.v (#22245) 2024-09-18 16:52:19 +03:00
int_d_new_int.v tmpl: fix an extra newline in @for; builtin: some i64 fixes 2024-07-31 13:30:30 +03:00
int_notd_new_int.v native: use i32 instead of int 2023-10-08 02:50:01 +03:00
int_test.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
isnil_test.v all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
lambda_expr_array_test.v all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
map.c.v all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
map.v builtin: fix bug in .clear() caused by sizeof(u32) being 4, not 2 (fix #22148) 2024-09-02 07:38:51 +03:00
map_d_gcboehm_opt.v fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
map_of_floats_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map_test.v fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
option.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
option.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
prealloc.c.v fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
README.md doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
result.v builtin: cleanup interface IError, remove the obsolete .code and .msg fields, deprecated in 2022-02-11 (#22063) 2024-08-17 09:53:46 +03:00
rune.v builtin: cleanup u8.repeat() and rune.repeat() (#22100) 2024-08-23 08:24:35 +03:00
rune_test.v all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
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) 2023-09-20 17:22:16 +03:00
sorted_map.v fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
sorting_test.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
string.v builtin: improve performance of string.starts_with/1 and string.ends_with/1, when compiled with tcc (#22620) 2024-10-22 17:02:47 +03:00
string_charptr_byteptr_helpers.v fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
string_int_test.v all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
string_interpolation.v strconv: fix e/g format (fix #22424) (#22430) 2024-10-07 08:43:04 +03:00
string_match_glob_test.v all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
string_strip_margin_test.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
string_test.v builtin: implement a s.hex() method, allowing shortening s.bytes().hex() chains, and reducing the intermediate allocations; add tests for it (#22540) 2024-10-16 14:18:10 +03:00
string_trim_indent_test.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
utf8.c.v v.builder, builtin: use ANSI encoding for the .rsp file under Windows; add builtin string_to_ansi_not_null_terminated + tests (#22409) 2024-10-04 20:29:13 +03:00
utf8.v utf8, readline: clarify UTF-8 vs UTF-32 usage (see also #22461) (#22558) 2024-10-18 11:18:31 +03:00
utf8_test.v v.builder, builtin: use ANSI encoding for the .rsp file under Windows; add builtin string_to_ansi_not_null_terminated + tests (#22409) 2024-10-04 20:29:13 +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.