Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Narasimha1997/boson-lang
/ functions
Functions
448 in github.com/Narasimha1997/boson-lang
⨍
Functions
448
◇
Types & classes
105
↓ 1 callers
Method
reset_errors
(&mut self)
boson/src/parser/mod.rs:1422
↓ 1 callers
Method
resolve_get_attr
(&self, keys: &Vec<Rc<Object>>)
boson/src/types/hash.rs:178
↓ 1 callers
Method
save_bytecode
returns the size of bytecode returned or an error string
boson/src/compiler/loader.rs:351
↓ 1 callers
Method
set_byte_at
(&mut self, idx: usize, byte: u8)
boson/src/types/buffer.rs:45
↓ 1 callers
Method
set_ip
(&mut self, pos: usize)
boson/src/vm/frames.rs:100
↓ 1 callers
Method
set_last
(&mut self, inst: isa::InstructionKind, pos: usize)
boson/src/compiler/mod.rs:63
↓ 1 callers
Method
set_object
(&mut self, object: Rc<Object>)
boson/src/compiler/symtab.rs:189
↓ 1 callers
Function
syscall0
(n: usize)
boson/src/api/arch_syscalls/x86.rs:5
↓ 1 callers
Function
syscall1
(n: usize, args: &[usize])
boson/src/api/arch_syscalls/x86.rs:16
↓ 1 callers
Function
syscall2
(n: usize, args: &[usize])
boson/src/api/arch_syscalls/x86.rs:29
↓ 1 callers
Function
syscall3
( n: usize, args: &[usize], )
boson/src/api/arch_syscalls/x86.rs:42
↓ 1 callers
Function
syscall4
( n: usize, args: &[usize] )
boson/src/api/arch_syscalls/x86.rs:59
↓ 1 callers
Function
syscall5
( n: usize, args: &[usize], )
boson/src/api/arch_syscalls/x86.rs:79
↓ 1 callers
Function
syscall6
( n: usize, args: &[usize], )
boson/src/api/arch_syscalls/x86.rs:100
↓ 1 callers
Function
syscall_raw
(params: &[Rc<Object>])
boson/src/api/native.rs:388
↓ 1 callers
Function
to_encodable_type
(obj: Rc<Object>, required_type: &str)
boson/src/api/packing.rs:9
↓ 1 callers
Method
top
(&mut self)
boson/src/vm/stack.rs:79
↓ 1 callers
Method
top_ref
(&self)
boson/src/vm/stack.rs:87
↓ 1 callers
Method
unload_dynlib
( &mut self, descriptor: usize, params: Rc<Object>, )
boson/src/vm/ffi.rs:58
↓ 1 callers
Method
update
(&mut self, new_buffer: Vec<u8>)
boson/src/api/mod.rs:175
↓ 1 callers
Function
write
(_write_params: Rc<Object>)
modules/re/src/lib.rs:118
Method
__read
( path: String, start: Option<u64>, n: Option<u64>
boson/src/types/builtins.rs:1246
Method
add
(left: &Rc<Object>, right: &Rc<Object>)
boson/src/vm/alu.rs:28
Method
and
(left: &Rc<Object>, right: &Rc<Object>)
boson/src/vm/alu.rs:273
Method
as_type
returns the typed representation of a slice of bytes zero-copy, this just returns the typed reference, does not copy any data.
boson/src/compiler/loader.rs:49
Method
attrs
attrs:
boson/src/types/hash.rs:78
Method
attrs
(&self)
boson/src/types/dyn_module.rs:106
Method
attrs
attributes:
boson/src/types/object.rs:335
Function
buffer_endian_encoding
()
boson/src/tests/types.rs:188
Method
build_array
( inst: &InstructionKind, ds: &mut DataStack, length: usize, )
boson/src/vm/controls.rs:505
Method
build_hash
( inst: &InstructionKind, ds: &mut DataStack, length: usize, )
boson/src/vm/controls.rs:534
Function
builtin_resolution
()
boson/src/tests/types.rs:175
Method
call_attr
( ds: &mut DataStack, inst: &InstructionKind, n_attrs: usize, n_params: usize,
boson/src/vm/controls.rs:990
Method
call_attribute
( &mut self, key: &String, args: &Vec<Rc<Object>>, )
boson/src/types/hash.rs:101
Method
clear_table
(&mut self)
boson/src/vm/ffi.rs:170
Function
close
(_close_params: Rc<Object>)
modules/b64/src/lib.rs:20
Function
close
(_close_params: Rc<Object>)
modules/re/src/lib.rs:113
Function
close
(_close_params: Rc<Object>)
modules/hello_world/src/lib.rs:15
Method
create_closure
( ds: &mut DataStack, constants: &ConstantPool, n_free: usize, func_idx: usize
boson/src/vm/controls.rs:572
Method
create_iter
(ds: &mut DataStack)
boson/src/vm/controls.rs:643
Method
create_new_child
(parent: SymbolTable)
boson/src/compiler/symtab.rs:47
Method
create_new_root
()
boson/src/compiler/symtab.rs:37
Method
decode_instruction
( instruction: &InstructionKind, packed_ops: &[u8], )
boson/src/isa/mod.rs:182
Method
describe
(&self)
boson/src/types/exception.rs:33
Method
describe
(&self)
boson/src/types/buffer.rs:32
Method
describe
(&self)
boson/src/types/closure.rs:16
Method
describe
(&self)
boson/src/types/array.rs:14
Method
describe
(&self)
boson/src/types/hash.rs:34
Method
describe
(&self)
boson/src/types/dyn_module.rs:62
Method
describe
(&self)
boson/src/types/object.rs:93
Method
describe
(&self)
boson/src/types/iter.rs:82
Method
disasm_buffer
(buffer: Vec<u8>)
boson/src/api/mod.rs:198
Method
disasm_bytecode
(fname: String)
boson/src/api/mod.rs:285
Method
disasm_file
(filename: String)
boson/src/api/mod.rs:192
Method
disassemble
(bytecode: &CompiledBytecode)
boson/src/compiler/mod.rs:1661
Method
disassemble_constants
(bytecode: &CompiledBytecode)
boson/src/compiler/mod.rs:1634
Method
disassemble_function
(instructions: &CompiledInstructions)
boson/src/compiler/mod.rs:1607
Method
disassemble_instructions
(bytecode: &CompiledBytecode)
boson/src/compiler/mod.rs:1628
Method
disassemble_ip
(&self)
boson/src/vm/frames.rs:139
Method
div
(left: &Rc<Object>, right: &Rc<Object>)
boson/src/vm/alu.rs:147
Method
drop
(&mut self)
boson/src/vm/mod.rs:36
Method
dump_ds
(&self)
boson/src/vm/mod.rs:224
Method
dump_globals
(&self)
boson/src/vm/mod.rs:141
Method
dump_tokens
(&mut self, file_name: String)
boson/src/lexer/mod.rs:726
Method
empty
()
boson/src/vm/ffi.rs:20
Method
encode_instruction
(instruction: InstructionKind, operands: &Operands)
boson/src/isa/mod.rs:161
Method
eq
(&self, other: &Exception)
boson/src/types/exception.rs:40
Method
eq
(&self, other: &ClosureContext)
boson/src/types/closure.rs:26
Method
eq
(&self, other: &Array)
boson/src/types/array.rs:61
Method
eq
(&self, other: &HashTable)
boson/src/types/hash.rs:156
Method
eq
(&self, other: &Subroutine)
boson/src/types/subroutine.rs:45
Method
eq
(&self, other: &ThreadBlock)
boson/src/types/th.rs:24
Method
eq
(&self, other: &ExecutionFrame)
boson/src/vm/frames.rs:151
Method
eq
(left: &Rc<Object>, right: &Rc<Object>)
boson/src/vm/alu.rs:510
Method
eval_buffer
(buffer: Vec<u8>)
boson/src/api/mod.rs:180
Method
eval_bytecode_from_context
( context: &mut BosonVMContext, pop_last: bool, break_on_ret: bool, )
boson/src/vm/mod.rs:236
Method
eval_file
(filename: String)
boson/src/api/mod.rs:186
Function
exec
(method: String, params: &Vec<Rc<Object>>)
modules/b64/src/lib.rs:35
Function
exec
(method: String, params: &Vec<Rc<Object>>)
modules/re/src/lib.rs:128
Function
exec
(method: String, params: &Vec<Rc<Object>>)
modules/hello_world/src/lib.rs:33
Function
exec
(args: &Vec<Rc<Object>>)
boson/src/api/native.rs:47
Method
exec_shell
( inst: &InstructionKind, ds: &mut DataStack, platform: &mut Platform, gp: &mu
boson/src/vm/controls.rs:889
Method
execute_binary_op
(inst: &InstructionKind, ds: &mut DataStack)
boson/src/vm/controls.rs:221
Method
execute_call
( inst: &InstructionKind, ds: &mut DataStack, n_args: usize, global_pool: &mut
boson/src/vm/controls.rs:373
Method
execute_return
( ds: &mut DataStack, frame: &Ref<ExecutionFrame>, has_val: bool, )
boson/src/vm/controls.rs:344
Method
execute_sandbox
( closure: Rc<closure::ClosureContext>, params: Vec<Rc<Object>>, platform: &mut Platfo
boson/src/vm/mod.rs:158
Function
execute_syscall
(params: Vec<Rc<Object>>)
boson/src/api/native.rs:451
Method
execute_thread
( inst: &InstructionKind, ds: &mut DataStack, n_args: usize, global_pool: &mut
boson/src/vm/controls.rs:771
Method
execute_unary_op
(inst: &InstructionKind, ds: &mut DataStack)
boson/src/vm/controls.rs:471
Function
fappend
Writes content and returns the new size of the file. This function append to a file, if exists or creates a new file.
boson/src/api/native.rs:217
Function
finfo
Returns the size of a file.
boson/src/api/native.rs:243
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/types/array.rs:87
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/types/hash.rs:164
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/types/object.rs:261
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/types/subroutine.rs:66
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/compiler/errors.rs:36
Method
fmt
(&self, f: &mut fmt::Formatter)
boson/src/parser/debug.rs:29
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/api/mod.rs:58
Function
fread
Can be used in three ways: 1. Read all, pass no argument 2. Read from X first bytes, pass X as the argument. 3. Read Y bytes starting from X - [X, X+Y
boson/src/api/native.rs:147
Method
from_f64
(number: &f64, little_endian: bool)
boson/src/types/buffer.rs:116
← previous
next →
201–300 of 448, ranked by callers