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
↓ 88 callers
Method
save
(&mut self, inst: isa::InstructionKind, operands: &Operands)
boson/src/compiler/mod.rs:160
↓ 73 callers
Method
iterate
(&mut self)
boson/src/lexer/mod.rs:776
↓ 62 callers
Method
new_invalid_token_err
(&mut self, msg: String)
boson/src/parser/mod.rs:291
↓ 38 callers
Method
next_symbol_is
(&mut self, compare: SymbolKind)
boson/src/parser/mod.rs:370
↓ 32 callers
Method
get_type
(&self)
boson/src/types/object.rs:115
↓ 31 callers
Method
read_next
(&mut self)
boson/src/lexer/mod.rs:305
↓ 29 callers
Method
farword_ip
(&mut self, pos: usize)
boson/src/vm/frames.rs:127
↓ 26 callers
Method
parse_expression
(&mut self, pre: ExpOrder)
boson/src/parser/mod.rs:1008
↓ 25 callers
Method
compile_expression
( &mut self, expression: &ast::ExpressionKind, )
boson/src/compiler/mod.rs:1158
↓ 24 callers
Method
get
(&self, idx: usize)
boson/src/vm/global.rs:36
↓ 22 callers
Method
push_object
(&mut self, obj: O, inst: I)
boson/src/vm/stack.rs:118
↓ 20 callers
Method
pop_object
(&mut self, inst: I)
boson/src/vm/stack.rs:150
↓ 18 callers
Method
get_current_token
(&mut self)
boson/src/lexer/mod.rs:785
↓ 16 callers
Method
is_terminated
(&mut self)
boson/src/parser/mod.rs:33
↓ 13 callers
Method
look_next_byte
(&mut self)
boson/src/lexer/mod.rs:309
↓ 12 callers
Method
describe
(&self)
boson/src/types/th.rs:18
↓ 11 callers
Method
is_true
(&self)
boson/src/types/object.rs:136
↓ 10 callers
Method
replace_instruction_operands
( &mut self, scope_idx: usize, inst: isa::InstructionKind, operands: &Operands
boson/src/compiler/mod.rs:1346
↓ 9 callers
Method
as_bytes
takes a sized struct and returns the in-memory byte representation zero-copy, see: https://stackoverflow.com/questions/28127165/how-to-convert-struct-
boson/src/compiler/loader.rs:41
↓ 9 callers
Method
parse_block_statement
(&mut self)
boson/src/parser/mod.rs:55
↓ 9 callers
Method
register_constant
(&mut self, obj: Object)
boson/src/compiler/mod.rs:156
↓ 8 callers
Method
new_data_idx
(&mut self, idx: i32, t: TypeCode, data: &[u8])
boson/src/compiler/loader.rs:202
↓ 7 callers
Method
get_indexed
(&self, idx: &Rc<Object>)
boson/src/types/object.rs:152
↓ 7 callers
Method
resolve_symbol
(&mut self, name: &str)
boson/src/compiler/symtab.rs:120
↓ 7 callers
Method
set
(&mut self, key: Rc<Object>, value: Rc<Object>)
boson/src/types/hash.rs:47
↓ 6 callers
Method
compile_block_statement
( &mut self, node: &ast::BlockStatement, )
boson/src/compiler/mod.rs:1558
↓ 6 callers
Method
get
(&self, key: &Rc<Object>)
boson/src/types/hash.rs:59
↓ 6 callers
Method
get_next_token
(&mut self)
boson/src/lexer/mod.rs:789
↓ 6 callers
Method
next_lexed_token
(&mut self)
boson/src/lexer/mod.rs:448
↓ 5 callers
Method
current_symbol_is
(&mut self, compare: SymbolKind)
boson/src/parser/mod.rs:381
↓ 5 callers
Method
get_size
(&self)
boson/src/compiler/mod.rs:59
↓ 5 callers
Method
insert_new_symbol
(&mut self, name: &str, is_const: bool)
boson/src/compiler/symtab.rs:96
↓ 5 callers
Function
print
(st: &String)
boson/src/api/native.rs:43
↓ 5 callers
Method
read
( &mut self, descriptor: usize, params: Rc<Object>, )
boson/src/vm/ffi.rs:115
↓ 4 callers
Method
__display_error
(&mut self, error: ErrorKind)
boson/src/api/mod.rs:149
↓ 4 callers
Method
compile_incr_decr
( &mut self, expr: &ast::PrefixType, is_pre: bool, is_decr: bool, )
boson/src/compiler/mod.rs:770
↓ 4 callers
Method
eval_state
(&mut self)
boson/src/api/mod.rs:204
↓ 4 callers
Method
get_identifier
(&mut self)
boson/src/parser/mod.rs:282
↓ 4 callers
Method
next_keyword_is
(&mut self, compare: KeywordKind)
boson/src/parser/mod.rs:360
↓ 4 callers
Method
parse_list_expr
(&mut self)
boson/src/parser/mod.rs:391
↓ 4 callers
Method
push_frame
(&mut self, frame: E)
boson/src/vm/stack.rs:44
↓ 4 callers
Method
write
( &mut self, descriptor: usize, params: Rc<Object>, )
boson/src/vm/ffi.rs:88
↓ 3 callers
Method
__get_bytecode
(&mut self)
boson/src/api/mod.rs:132
↓ 3 callers
Method
compile_identifier
( &mut self, idt: &ast::IdentifierType, check_const: bool, )
boson/src/compiler/mod.rs:720
↓ 3 callers
Method
compile_item_assignment
( &mut self, id: &ast::IdentifierType, )
boson/src/compiler/mod.rs:941
↓ 3 callers
Method
desribe
(&self)
boson/src/types/builtins.rs:117
↓ 3 callers
Method
get_as_i64
(&self)
boson/src/types/buffer.rs:79
↓ 3 callers
Method
get_as_string
(&mut self, start: usize, end: usize)
boson/src/lexer/mod.rs:257
↓ 3 callers
Method
get_bp
(&self)
boson/src/vm/frames.rs:135
↓ 3 callers
Method
get_object
(&self, pos: usize)
boson/src/types/array.rs:43
↓ 3 callers
Method
keys
(&self)
boson/src/types/hash.rs:43
↓ 3 callers
Method
parse
(&mut self)
boson/src/parser/mod.rs:1363
↓ 3 callers
Method
parse_statement
(&mut self)
boson/src/parser/mod.rs:1253
↓ 3 callers
Method
register_loop_var
(&mut self, node: &ast::ExpressionKind)
boson/src/compiler/mod.rs:520
↓ 3 callers
Method
set_indexed
(&mut self, idx: &Rc<Object>, data: Rc<Object>)
boson/src/types/object.rs:209
↓ 3 callers
Method
symbols_are_equal
(&mut self, sym1: &SymbolKind, sym2: SymbolKind)
boson/src/lexer/mod.rs:801
↓ 3 callers
Method
wait_and_return
(&mut self, thread_id: u64)
boson/src/vm/thread.rs:77
↓ 2 callers
Method
append_eof_newline
(&mut self)
boson/src/lexer/mod.rs:434
↓ 2 callers
Method
compile
( &mut self, program_ast: &ast::Program, )
boson/src/compiler/mod.rs:1583
↓ 2 callers
Method
compile_attribute_resolver
( &mut self, resolver: &ast::AttributeResolver, is_get: bool, )
boson/src/compiler/mod.rs:862
↓ 2 callers
Method
compile_function
( &mut self, node: &ast::FunctionType, is_lambda: bool, )
boson/src/compiler/mod.rs:375
↓ 2 callers
Method
compile_statement
(&mut self, stmt: &ast::StatementKind)
boson/src/compiler/mod.rs:1527
↓ 2 callers
Method
create_thread_sandbox
( &mut self, thread_params: ThreadParams, platform: &mut Platform, )
boson/src/vm/thread.rs:102
↓ 2 callers
Method
disasm_instruction
(&self, operands: &Operands)
boson/src/isa/mod.rs:335
↓ 2 callers
Method
disasm_state
(&mut self)
boson/src/api/mod.rs:233
↓ 2 callers
Function
display_result
(obj: Rc<Object>)
boson/src/bin/boson_repl.rs:12
↓ 2 callers
Method
exec
( &mut self, descriptor: usize, method: String, params: &Vec<Rc<Object>>,
boson/src/vm/ffi.rs:142
↓ 2 callers
Method
get_bytecode
(&self)
boson/src/compiler/mod.rs:1576
↓ 2 callers
Method
get_encoding_width
(&self)
boson/src/isa/mod.rs:271
↓ 2 callers
Function
get_eval_order
(sym: &SymbolKind)
boson/src/parser/exp.rs:65
↓ 2 callers
Method
get_function_name
(&self)
boson/src/vm/frames.rs:145
↓ 2 callers
Method
get_instructions
(&self)
boson/src/compiler/mod.rs:97
↓ 2 callers
Method
get_symbol
(&self, name: &String)
boson/src/compiler/symtab.rs:91
↓ 2 callers
Method
get_values_ref
(&self)
boson/src/types/array.rs:22
↓ 2 callers
Method
has_next
(&self)
boson/src/types/iter.rs:86
↓ 2 callers
Function
info
()
boson/src/bin/boson_dis.rs:5
↓ 2 callers
Function
info
()
boson/src/bin/boson_eval.rs:6
↓ 2 callers
Function
info
()
boson/src/bin/boson_compile.rs:6
↓ 2 callers
Method
is_empty_statement
(&mut self, stmt: &ast::StatementKind)
boson/src/parser/mod.rs:43
↓ 2 callers
Method
is_equal_to
(&self, instruction: isa::InstructionKind)
boson/src/compiler/mod.rs:32
↓ 2 callers
Method
load_bytecode
(&mut self)
boson/src/compiler/loader.rs:516
↓ 2 callers
Method
new_subroutine_idx
( &mut self, const_idx: i32, name: String, n_p: usize, n_l: usize,
boson/src/compiler/loader.rs:222
↓ 2 callers
Method
next
(&mut self)
boson/src/lexer/mod.rs:160
↓ 2 callers
Function
open
(_init_params: Rc<Object>)
modules/re/src/lib.rs:99
↓ 2 callers
Method
parse_pair
(&mut self)
boson/src/parser/mod.rs:421
↓ 2 callers
Method
parse_var_or_const
(&mut self, is_const: bool)
boson/src/parser/mod.rs:299
↓ 2 callers
Method
partial_cmp
(&self, _other: &HashTable)
boson/src/types/hash.rs:268
↓ 2 callers
Method
pop_frame
(&mut self)
boson/src/vm/stack.rs:59
↓ 2 callers
Method
read_current_instruction
(&self)
boson/src/vm/frames.rs:114
↓ 2 callers
Function
repr_is_big_endian
(args: &Vec<Rc<Object>>)
boson/src/types/builtins.rs:100
↓ 2 callers
Method
resolve_call_attr
( &mut self, keys: &Vec<Rc<Object>>, args: &Vec<Rc<Object>>, _ds: &mut DataSta
boson/src/types/hash.rs:207
↓ 2 callers
Method
set_object
(&mut self, pos: usize, obj: Rc<Object>)
boson/src/types/array.rs:34
↓ 2 callers
Method
set_object
(&mut self, object: Rc<Object>, idx: usize)
boson/src/vm/global.rs:44
↓ 2 callers
Method
tokens_are_equal
(&mut self, token1: &TokenKind, token2: TokenKind)
boson/src/lexer/mod.rs:793
↓ 2 callers
Method
values
(&self)
boson/src/types/hash.rs:51
↓ 1 callers
Method
__build_data_map
(&mut self, h: &Header)
boson/src/compiler/loader.rs:430
↓ 1 callers
Method
__build_subroutine_map
(&mut self, h: &Header)
boson/src/compiler/loader.rs:405
↓ 1 callers
Method
__init
(&mut self)
boson/src/compiler/loader.rs:455
↓ 1 callers
Method
__resolve
(&self, name: &str)
boson/src/compiler/symtab.rs:142
↓ 1 callers
Method
__save_bytecode
(&mut self, fname: String)
boson/src/api/mod.rs:258
next →
1–100 of 448, ranked by callers