v/vlib/builtin
2024-07-02 23:10:00 +03:00
..
js vlib: simplify byte character conditions by using methods like is_capital, is_lower, is_letter etc (#21725) 2024-06-25 09:55:08 +03:00
linux_bare builtin,dlmalloc: fixes for v vlib/v/gen/c/coutput_test.v for gcc14.1, which is stricter 2024-05-19 17:18:48 +03:00
wasm all: fix typos in comments (#20963) 2024-03-04 18:41:55 +02:00
wasm_bare vlib: change byte to u8 (#19930) 2023-11-19 04:23:32 +03:00
wchar cgen: force C struct types which does not implement str() to be passed as ptr (#21054) 2024-03-21 00:24:38 +02:00
array.v all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
array_d_gcboehm_opt.v all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
array_flags_test.v
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 all: fix typos (#21089) 2024-03-25 12:18:27 +02: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 encoding.binary: little_endian_f32_at 2024-07-01 14:08:37 +03:00
builtin.v v,breaking: add ability to read enum, fn, interface and sumtype attributes in compile-time, change builtin StructAttribute to VAttribute (#21149) 2024-03-31 09:14:33 +03:00
builtin_android_outside_termux.c.v
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 fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
builtin_d_use_libbacktrace.c.v fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
builtin_ios.c.v
builtin_nix.c.v builtin: support -d gc_warn_on_stderr, to show the GC warnings, without installing a custom warn fn callback 2024-02-11 17:47:19 +02: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 all: replace usages of C.atexit(cb) with at_exit(cb) or {} (part 2) (#21263) 2024-04-12 13:51:18 +03:00
byte_test.v
cfns.c.v fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
cfns_wrapper.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11: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
float.c.v all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
float_test.v
float_x64.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
gated_array_string_test.v
int.v V 0.4.6 2024-05-20 21:06:54 +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
lambda_expr_array_test.v checker: allow for each(a, |x| println(x)), i.e. using lambda expressions, when expecting fn (x int) 2023-09-27 11:49:12 +03:00
map.c.v all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
map.v fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
map_d_gcboehm_opt.v fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
map_of_floats_test.v
map_test.v
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 all: replace usages of C.atexit(cb) with at_exit(cb) or {} (part 2) (#21263) 2024-04-12 13:51:18 +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: simplify MessageError.msg() (#21524) 2024-05-18 22:36:24 +03:00
rune.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
rune_test.v
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 all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
sorting_test.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
string.v builtin: improve snake to camel case conversion (#21755) 2024-06-29 11:10:10 +03:00
string_charptr_byteptr_helpers.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
string_int_test.v all: add r and R switches for repeating in string interpolation, '${"abc":3r}' == 'abcabcabc' (#20197) 2023-12-17 13:23:17 +03:00
string_interpolation.v fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
string_match_glob_test.v
string_strip_margin_test.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
string_test.v builtin: improve snake to camel case conversion (#21755) 2024-06-29 11:10:10 +03:00
string_trim_indent_test.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
utf8.c.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
utf8.v all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
utf8_test.v vlib: add a new module builtin.wchar, to ease dealing with C APIs that accept wchar_t* (#18794) 2023-07-07 02:40:11 +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.