Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LPC4/Full-Stack
/ functions
Functions
2,899 in github.com/LPC4/Full-Stack
⨍
Functions
2,899
◇
Types & classes
296
↓ 9 callers
Method
error_with_token
(&self, message: &str, token: &Token<'a>)
crates/hll-to-ir/src/parser.rs:2327
↓ 9 callers
Method
expect_lbrace
(&mut self)
crates/hll-to-ir/src/parser.rs:1645
↓ 9 callers
Method
expect_rbrace
(&mut self)
crates/hll-to-ir/src/parser.rs:1653
↓ 9 callers
Method
expect_rparen
(&mut self)
crates/hll-to-ir/src/parser.rs:1637
↓ 9 callers
Function
mono
(text: impl Into<String>, col: Color32)
src/machine_window.rs:862
↓ 9 callers
Function
mono
(text: impl Into<String>, col: Color32)
src/view/debug/fs_view.rs:206
↓ 9 callers
Function
run_example_manifest_in_kernel
(name: &str)
tests/integration/kernel_integration.rs:164
↓ 9 callers
Function
run_hll
Compile HLL + hosted stdlib -> assembled output -> run -> (uart, exit_code).
tests/integration/cli_pipeline.rs:24
↓ 9 callers
Method
set_current_source_path
Set the filesystem path of the source currently being compiled. Relative `import("./x.hll")` and `import("../x.hll")` resolve against this file's dire
src/compilation_pipeline.rs:324
↓ 9 callers
Method
write_word
(&mut self, addr: u64, data: u32)
crates/virtual-machine/src/devices/framebuffer.rs:112
↓ 8 callers
Function
assert_equivalent
Assert the program behaves identically with allocation off and on, and return the (off, on) instruction counts and cycle counts for extra checks.
tests/integration/regalloc.rs:69
↓ 8 callers
Method
compile_program_closure
( &mut self, primary_name: &str, primary_src: &str, )
src/compilation_pipeline.rs:1062
↓ 8 callers
Method
current_offset
(&self)
crates/asm-to-binary/src/assembler/section.rs:60
↓ 8 callers
Function
dbg_heading
(ui: &mut egui::Ui, text: &str)
src/machine_window.rs:852
↓ 8 callers
Method
define
Define a label at the given address. Returns `false` if it was already defined.
crates/asm-to-binary/src/assembler/symbol_table.rs:18
↓ 8 callers
Method
expect_colon
(&mut self)
crates/hll-to-ir/src/parser.rs:1613
↓ 8 callers
Function
i64_ty
()
crates/ir-to-asm/src/compiler/register_allocator.rs:139
↓ 8 callers
Method
read_byte
(&mut self, addr: u64)
crates/virtual-machine/src/memory/ram.rs:53
↓ 8 callers
Method
read_word
(&mut self, addr: u64)
crates/virtual-machine/src/memory/ram.rs:66
↓ 8 callers
Function
real_insns_for_li
(imm: i64)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:922
↓ 8 callers
Method
route
(&mut self, addr: u64)
crates/virtual-machine/src/bus.rs:118
↓ 8 callers
Function
rs2
(word: u32)
crates/virtual-machine/src/cpu/decoder.rs:877
↓ 8 callers
Method
set_artifact_stem
(&mut self, stem: Option<String>)
src/compilation_pipeline.rs:625
↓ 8 callers
Method
substitute_generic_type
( &self, ty: &Type, params: &[String], args: &[IrType], )
crates/hll-to-ir/src/compiler/compiler/types.rs:151
↓ 8 callers
Method
text_bytes
(&self)
crates/asm-to-binary/src/assembler/output.rs:54
↓ 8 callers
Method
to_elf_with_entry
Like `to_elf` but tries `entry_symbol` first before the default fallbacks. Use this for freestanding builds whose entry point is not `_start`.
crates/asm-to-binary/src/assembler/output.rs:221
↓ 8 callers
Method
uart_mut
Direct access to devices for interrupt handling
crates/virtual-machine/src/bus.rs:263
↓ 8 callers
Function
usize_to_i64
Small, intent-revealing integer conversions used when building IR values. Convert a size, alignment, length, or index to `i64` for an IR integer. Thes
crates/hll-to-ir/src/conv.rs:5
↓ 8 callers
Method
write_word
(&mut self, addr: u64, data: u32)
crates/virtual-machine/src/memory/ram.rs:96
↓ 7 callers
Method
check_block
(&mut self, block: &Block)
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:236
↓ 7 callers
Function
compile
(program: &IrProgram)
tests/integration/rv64_codegen.rs:15
↓ 7 callers
Method
compile_modules
( &mut self, modules: &[(&str, &str)], )
src/compilation_pipeline.rs:1036
↓ 7 callers
Function
compile_ok
(source: &str)
tests/integration/ir_generation.rs:20
↓ 7 callers
Method
display
Format as `"line N | source text"`.
crates/hll-to-ir/src/token.rs:19
↓ 7 callers
Function
draw_metric
( ui: &mut Ui, label: &str, frac: f32, bar_color: Color32, value_text: &str, note: &st
src/view/debug/perf_view.rs:20
↓ 7 callers
Method
emit_fsd
(&mut self, base: Reg, src: Reg, offset: i32)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:448
↓ 7 callers
Method
emit_fsw
(&mut self, base: Reg, src: Reg, offset: i32)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:445
↓ 7 callers
Method
emit_srli
(&mut self, rd: Reg, rs1: Reg, shamt: u8)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:258
↓ 7 callers
Method
expect_lparen
(&mut self)
crates/hll-to-ir/src/parser.rs:1629
↓ 7 callers
Function
fixture_root
()
crates/hll-to-ir/src/hll_compiler.rs:355
↓ 7 callers
Method
flush_pipeline
(&mut self)
crates/virtual-machine/src/cpu/pipeline.rs:744
↓ 7 callers
Method
is_stack_address
(&self, reg: &IrRegister)
crates/ir-to-asm/src/compiler/function_context.rs:190
↓ 7 callers
Method
is_unknown_like
(&self, ty: &str)
crates/hll-to-ir/src/compiler/utility/type_context.rs:341
↓ 7 callers
Function
leak
(value: String)
crates/hll-to-ir/src/stdlib.rs:44
↓ 7 callers
Function
lex_source
(source: &str)
crates/hll-to-ir/src/hll_compiler.rs:384
↓ 7 callers
Function
link_stdlib_and_run
--- Linking helper --- This is the canonical "link with stdlib" path used by the GUI and tests: 1. Compile stdlib once -> Vec<RvInstruction> token str
tests/vm_diag_test.rs:83
↓ 7 callers
Method
match_assign
(&mut self)
crates/hll-to-ir/src/parser.rs:1762
↓ 7 callers
Function
parse
Parse manifest text into a [`Manifest`].
crates/build-manifest/src/lib.rs:31
↓ 7 callers
Method
parse_block
(&mut self)
crates/hll-to-ir/src/parser.rs:203
↓ 7 callers
Function
parse_one
(raw: &str)
crates/asm-to-binary/src/assembler/mod.rs:73
↓ 7 callers
Method
peek_framebuffer
Borrow the framebuffer's pixel buffer for display.
crates/virtual-machine/src/bus.rs:248
↓ 7 callers
Method
peek_next
(&self)
crates/virtual-machine/src/memory/cache.rs:81
↓ 7 callers
Method
push_param
(&mut self, param: IrParam)
crates/hll-to-ir/src/ir/program.rs:78
↓ 7 callers
Function
read_program
(filename: &str)
tests/integration/qemu_execution.rs:23
↓ 7 callers
Method
refresh_snapshot
(&mut self)
src/view/debug/mod.rs:366
↓ 7 callers
Function
run_hll
(src: &str)
tests/integration/platform_stdlib.rs:17
↓ 7 callers
Function
run_ir
Compile a directly-constructed IR program (for ops the HLL surface lacks), link against the cached stdlib, and run it.
tests/integration/vm_execution.rs:62
↓ 7 callers
Method
set_run_semantic_analysis
(&mut self, enabled: bool)
src/compilation_pipeline.rs:303
↓ 7 callers
Method
set_target_mode
(&mut self, mode: TargetMode)
src/app/mod.rs:471
↓ 7 callers
Function
setup_kernel_vm
Boot the kernel, optionally injecting an FS image and a pid-1 user binary, and optionally pre-loading a UART session. Returns the VM (for post-run pee
tests/integration/kernel_integration.rs:85
↓ 7 callers
Method
snapshot_env
(&self)
crates/hll-to-ir/src/compiler/utility/lowering_context.rs:80
↓ 7 callers
Function
source_stem
(path: &str, default: &str)
src/cli/main.rs:481
↓ 7 callers
Method
step
Execute a single instruction and update the snapshot.
src/view/debug/mod.rs:176
↓ 7 callers
Function
translate_with_pmp
( vaddr: u64, satp: u64, priv_mode: PrivilegeMode, mstatus: u64, bus: &mut impl MemoryAcce
crates/virtual-machine/src/cpu/mmu.rs:191
↓ 7 callers
Method
write_byte
(&mut self, addr: u64, data: u8)
crates/virtual-machine/src/memory/ram.rs:80
↓ 7 callers
Method
write_f_bits
(&mut self, reg: usize, val: u64)
crates/virtual-machine/src/cpu/registers.rs:54
↓ 6 callers
Method
alloc_float_temp_reg
(&mut self)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:158
↓ 6 callers
Method
alloc_slot
Reserve space for a stack slot of given size and alignment, return its offset from sp.
crates/ir-to-asm/src/compiler/frame_context.rs:43
↓ 6 callers
Function
collect_block_refs
(block: &Block, refs: &mut HashSet<String>)
crates/hll-to-ir/src/imports.rs:167
↓ 6 callers
Method
commit_int_result
Finish an integer-producing instruction whose result is in `result` (obtained from `result_reg_for`): register-resident dests are width-normalized in
crates/ir-to-asm/src/compiler/compiler_rv64.rs:1437
↓ 6 callers
Function
compile_fixture
(subdir: &str, name: &str)
tests/integration/asm_fixes.rs:15
↓ 6 callers
Function
compile_inline
(source: &str)
tests/integration/asm_fixes.rs:29
↓ 6 callers
Method
default_artifact_stem
( &self, caller: &'static Location<'static>, hint: &str, seed: &str, )
src/compilation_pipeline.rs:636
↓ 6 callers
Method
drain_uart_output
(&mut self)
crates/virtual-machine/src/virtual_machine.rs:269
↓ 6 callers
Method
emit_add
(&mut self, rd: Reg, rs1: Reg, rs2: Reg)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:207
↓ 6 callers
Method
emit_srai
(&mut self, rd: Reg, rs1: Reg, shamt: u8)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:261
↓ 6 callers
Function
encode
Encode all tokens into an `AssembledOutput` using the layout symbol table.
crates/asm-to-binary/src/assembler/encode.rs:13
↓ 6 callers
Function
find
(programs: &'a [ProgramFile], id: &str)
src/view/program_catalog.rs:757
↓ 6 callers
Function
highlight_assembly
Highlights RISC-V assembly (RV64IMAFD) with proper mnemonics, registers, and directives.
src/view/common/highlighter/asm.rs:7
↓ 6 callers
Function
i64_ty
()
crates/ir-to-asm/src/compiler/slot_coloring.rs:351
↓ 6 callers
Method
increment_cycle
(&mut self)
crates/virtual-machine/src/cpu/csr.rs:305
↓ 6 callers
Function
infer_block_calls
( block: &mut Block, environment: &mut HashMap<String, Type>, generic_signatures: &HashMap<String,
crates/hll-to-ir/src/monomorphize.rs:208
↓ 6 callers
Method
is_stdlib
(&self)
src/view/program_catalog.rs:178
↓ 6 callers
Method
legalize_memory_offset
( &mut self, addr_reg: Reg, offset: i32, forbidden: &[Reg], )
crates/ir-to-asm/src/compiler/assembly_emitter.rs:165
↓ 6 callers
Function
link
Link an assembled output into a `LinkedProgram` at the given base address.
crates/virtual-machine/src/linker.rs:47
↓ 6 callers
Function
link_with_stdlib
The cached stdlib objects plus the user object, as a link module list.
tests/integration/vm_execution.rs:31
↓ 6 callers
Function
make_pipeline
(mode: TargetMode, string_prefix: &str)
src/cli/main.rs:474
↓ 6 callers
Function
module_key
(path: &str)
crates/os-runtime/tests/boot.rs:56
↓ 6 callers
Function
parse
Convert a `RvInstruction` stream to a typed `AsmToken` stream. Tokens that cannot be parsed are emitted as `AsmToken::Comment` with the raw text so n
crates/asm-to-binary/src/assembler/parser.rs:44
↓ 6 callers
Method
push_event
Push a key event from the host. `scancode` is truncated to 16 bits; `pressed` distinguishes a key-down from a key-up. Drops the event when the queue i
crates/virtual-machine/src/devices/keyboard.rs:48
↓ 6 callers
Method
push_type_alias
(&mut self, alias: IrTypeAlias)
crates/hll-to-ir/src/ir/program.rs:132
↓ 6 callers
Method
read_byte
(&mut self, addr: u64)
crates/virtual-machine/src/memory/rom.rs:49
↓ 6 callers
Function
read_u16
(bytes: &[u8], offset: usize)
tests/integration/linker.rs:39
↓ 6 callers
Function
read_u64
Read a 64-bit little-endian value from bytes at the given offset
crates/virtual-machine/src/elf_parser.rs:121
↓ 6 callers
Method
read_word
(&mut self, addr: u64)
crates/virtual-machine/tests/vm_mmu.rs:43
↓ 6 callers
Function
reg
(name: &str)
crates/hll-to-ir/src/compiler/opt/mod.rs:69
↓ 6 callers
Function
require_qemu_result
( test_name: &'static str, result: Result<QemuResult, QemuSkipReason>, )
tests/integration/qemu_execution.rs:142
↓ 6 callers
Method
resolve_value_type
(&self, val: &IrValue, ctx: &FunctionContext)
crates/ir-to-asm/src/compiler/compiler_rv64.rs:1728
↓ 6 callers
Function
rewrite_block
(block: &mut Block, aliases: &HashMap<String, ModuleAlias>)
crates/hll-to-ir/src/imports.rs:698
↓ 6 callers
Function
rewrite_block_calls
( block: &mut Block, substitutions: &Substitutions, definitions: &HashMap<String, Declaration>,
crates/hll-to-ir/src/monomorphize.rs:672
← previous
next →
201–300 of 2,899, ranked by callers