Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuperTails/langcraft
/ functions
Functions
309 in github.com/SuperTails/langcraft
⨍
Functions
309
◇
Types & classes
81
↓ 1 callers
Method
program
(&self)
src/interpreter.rs:212
↓ 1 callers
Method
read_mem
(&self)
src/interpreter.rs:457
↓ 1 callers
Function
reify_block
(AbstractBlock { needs_prolog, mut body, term, parent }: AbstractBlock, clobber_list: &HashMap<String, BTreeSe
src/compile_ir.rs:3082
↓ 1 callers
Method
run
(&mut self, ast: &Ast)
rust_interp/src/bin/interpreter.rs:23
↓ 1 callers
Method
run_index
(&self)
src/lib.rs:23
↓ 1 callers
Function
run_interpreter
TODO: Allow specifying breakpoints somehow
src/bin/main.rs:6
↓ 1 callers
Method
run_stmt
(&mut self, stmt: &Stmt, stmts: &[Stmt], exprs: &[Expr])
rust_interp/src/bin/interpreter.rs:39
↓ 1 callers
Method
save
Creates a datapack with the given root directory, erasing the previous contents of the folder.
src/lib.rs:42
↓ 1 callers
Function
save_regs
(regs: T)
src/compile_ir.rs:461
↓ 1 callers
Method
set_next_pos
(&mut self, func_idx: usize)
src/interpreter.rs:240
↓ 1 callers
Function
shift_left_bytes
(holder: ScoreHolder, byte: u32)
src/compile_ir.rs:4101
↓ 1 callers
Function
test
tests/test_sources/func_ptr_direct_cast.2.c:3
↓ 1 callers
Function
tokenize
()
rust_interp/src/lexer.rs:58
↓ 1 callers
Method
with_positioned
(&mut self, pos: String)
src/cir.rs:665
Function
add_1
tests/test_sources/dyn_call.c:7
Function
add_overflow
()
tests/tests.rs:69
Method
all_dests
(&self, func_starts: &HashMap<String, FunctionId>)
src/analysis.rs:38
Function
and
()
src/intrinsics.rs:698
Function
arith_shr
()
tests/tests.rs:93
Function
bcmp
()
src/intrinsics.rs:397
Method
color
(&mut self, color: Color)
src/cir/raw_text.rs:44
Function
color_serialize
()
src/cir/raw_text.rs:284
Function
dyn_call
()
tests/tests.rs:41
Function
estimate_intr
(idx: usize, vals: &mut HashMap<FunctionId, Option<usize>>)
src/intrinsics.rs:159
Function
fibonacci
()
tests/tests.rs:33
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/cir.rs:147
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/interpreter.rs:23
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/compile_ir.rs:1524
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/cir/raw_text.rs:203
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
rust_interp/src/lib.rs:14
Method
from
(score_holder: ScoreHolder)
src/cir.rs:174
Method
from_bc
(path: &Path, build_opts: &BuildOptions)
src/lib.rs:31
Method
from_local_name
(name: llvm_ir::Name, type_size: usize)
src/cir.rs:120
Method
from_str
(s: &str)
src/cir.rs:162
Function
func_ptr_cast
()
tests/tests.rs:75
Function
func_ptr_direct_cast
()
tests/tests.rs:81
Method
get_line
(&self, idx: usize)
src/cir.rs:547
Function
has_call_cycle
(funcs: &[&Function], index: usize)
src/analysis.rs:155
Method
holder_uses
(&self)
src/cir/raw_text.rs:175
Function
hover_event_serialize
()
src/cir/raw_text.rs:296
Method
is_key_fn
(&self)
rust_interp/src/lexer.rs:23
Method
legal
(c: char, is_first: bool)
src/cir.rs:95
Function
llvm_ctlz_i32
()
src/intrinsics.rs:248
Function
llvm_fshr_i32
()
src/intrinsics.rs:254
Function
load_byte
()
src/intrinsics.rs:414
Function
load_halfword
()
src/intrinsics.rs:432
Function
load_word_unaligned
()
src/intrinsics.rs:319
Function
lshr_i32_max
()
src/intrinsics.rs:573
Function
lshr_i32_min
()
src/intrinsics.rs:566
Function
lshr_neg_one
()
src/intrinsics.rs:587
Function
lshr_other_negative
()
src/intrinsics.rs:601
Function
lshr_other_positive
()
src/intrinsics.rs:594
Function
lshr_zero
()
src/intrinsics.rs:580
Function
main
()
src/bin/main.rs:254
Function
main
tests/test_sources/add_overflow.c:3
Function
main
tests/test_sources/func_ptr_direct_cast.1.c:5
Function
main
tests/test_sources/dyn_call.c:11
Function
main
tests/test_sources/func_ptr_cast.c:17
Function
main
tests/test_sources/arith_shr.c:5
Function
main
tests/test_sources/sext_8to64.c:6
Function
main
()
rust_interp/src/bin/copy_test.rs:106
Function
main
()
rust_interp/src/bin/interpreter.rs:84
Function
memcpy
()
src/intrinsics.rs:344
Function
memset
()
src/intrinsics.rs:524
Function
mul_32_to_64
()
src/intrinsics.rs:265
Method
new
(string: String)
src/cir.rs:74
Method
new
(datapack: Datapack, start_idx: usize, input: &str)
src/interpreter.rs:162
Method
new
()
src/cir/raw_text.rs:33
Method
new
()
rust_interp/src/lib.rs:24
Method
new
()
rust_interp/src/bin/copy_test.rs:34
Method
new
()
rust_interp/src/bin/interpreter.rs:17
Method
new_block
(name: T, block: Name)
src/cir.rs:427
Method
new_lossy
Replaces any characters in the input string that are not valid in a score holder with '_', and possibly shortens it if necessary
src/cir.rs:107
Method
new_raw
Does not include any intrinsics
src/interpreter.rs:135
Method
new_sub
(name: T, mut block: Name, sub: usize)
src/cir.rs:431
Method
new_unchecked
(string: String)
src/cir.rs:91
Function
or
()
src/intrinsics.rs:689
Function
panic
(_info: &PanicInfo)
rust_interp/src/lib.rs:71
Function
parse_ast
(tokens: &[Token])
rust_interp/src/parser.rs:243
Function
pop_cond_stack
(target: ScoreHolder)
src/compile_ir.rs:144
Function
print_entry
(location: &McFuncId)
src/compile_ir.rs:187
Method
print_self
(&self)
rust_interp/src/lib.rs:28
Function
push_cond_stack
(target: ScoreHolder)
src/compile_ir.rs:121
Function
run_c_tests
()
tests/tests.rs:56
Method
set_mem_breakpoint
`word_start` is in bytes, must be aligned to a multiple of 4
src/interpreter.rs:225
Function
sext_8to64
()
tests/tests.rs:87
Function
shift_from_ptr_i32_min
()
src/intrinsics.rs:643
Function
shift_from_ptr_neg1
()
src/intrinsics.rs:635
Function
shift_from_ptr_other
()
src/intrinsics.rs:651
Function
shift_from_ptr_zero
()
src/intrinsics.rs:627
Function
shift_right_bytes
(holder: ScoreHolder, byte: u32)
src/compile_ir.rs:4118
Function
shl
()
src/intrinsics.rs:260
Function
store_byte
()
src/intrinsics.rs:483
Function
store_halfword
()
src/intrinsics.rs:453
Function
store_word_unaligned
()
src/intrinsics.rs:299
Function
struct_offset
()
src/compile_ir.rs:6345
Method
take_next_pos
(&mut self)
src/interpreter.rs:231
Function
test_u64_add
()
src/compile_ir.rs:6304
Function
test_u64_mul
()
src/compile_ir.rs:6310
Function
test_u64_shift_const
()
src/compile_ir.rs:6298
← previous
next →
201–300 of 309, ranked by callers