Language Reference
Examples
API
On this page
STD
OS
Build
Builtin
API
¶
Standart BL API documentation.
STD
¶
array_init
array_terminate
debug_break
panic
PrintLogKind
File
FileOpenMode
file_create
file_open
file_close
file_read_all
file_read_all_slice
array_push
file_get_size_bytes
file_real_all_binary
file_write_binary
file_write_string
file_remove_ext
file_get_ext
Math constants
Limits
alloc
calloc
array_reserve
free
memcpy
memset
slice_init
slice_terminate
AllocOp
PRINT_MAX_LENGTH
print
eprint
bprint
array_erase
boprint
sprint
FmtReal
fmt_real
FmtIntBase
FmtInt
fmt_int
string
string_new
string_delete
array_clear
string_clear
string_append
string_concatenate
string_compare
string_to_f32
string_to_s64
string_split_by_last
string_split_at_index
string_split_by_first
string_insert
print_log
string_erase
string_split_by
string_count
string_to_lower
string_to_upper
string_replace_all
string_hash
string_is_null
string_is_empty
string_is_null_or_empty
print_warn
test_eq
test_neq
test_true
test_false
test_null
test_not_null
test_run
is_flag_u32
is_flag_s32
cstr_to_str
print_err
ptr_shift_bytes
ptr_diff
assert
OS
¶
os_thread_create
os_thread_join
os_tick_ms
os_get_real_path
os_get_exec_path
os_dlopen
os_dlsym
os_dlclose
os_execute
os_thread_current
os_thread_kill
os_mutex_init
os_mutex_terminate
os_mutex_lock
os_mutex_trylock
os_mutex_unlock
os_sleep_ms
Build
¶
Assembly
Unit
set_output_dir
enable_testing
BuildMode
add_executable
add_unit
add_link_path
link_library
append_linker_options
get_build_mode
set_build_mode
Builtin
¶
OSKind
TypeKind
TypeInfoEnum
TypeInfoVoid
TypeInfoNull
TypeInfoString
TypeInfoType
TypeInfoBool
TypeInfoStructMember
TypeInfoEnumVariant
TypeInfoFnArg
Any
TypeInfo
TestCase
CodeLocation
PrintLogFn
Context
_context
command_line_arguments
TypeInfoInt
TypeInfoReal
TypeInfoFn
TypeInfoFnGroup
TypeInfoPtr
TypeInfoArray
TypeInfoStruct