Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HigherOrderCO-archive/hvm-64
/ functions
Functions
335 in github.com/HigherOrderCO-archive/hvm-64
⨍
Functions
335
◇
Types & classes
73
↓ 45 callers
Method
clone
(&self)
ast/src/ast.rs:181
↓ 27 callers
Method
len
(&self)
runtime/src/linker.rs:320
↓ 24 callers
Function
swap
examples/sort/radix/radix_sort_lam.js:105
↓ 20 callers
Method
tag
(&self)
runtime/src/port.rs:144
↓ 19 callers
Method
link_port_port
(&mut self, a_port: Port, b_port: Port)
runtime/src/linker.rs:25
↓ 19 callers
Method
link_wire_port
(&mut self, a_wire: Wire, b_port: Port)
runtime/src/linker.rs:54
↓ 17 callers
Method
addr
(&self)
runtime/src/wire.rs:29
↓ 16 callers
Method
create_node
(&mut self, tag: Tag, lab: Lab)
runtime/src/node.rs:36
↓ 16 callers
Method
lab
(&self)
runtime/src/port.rs:167
↓ 15 callers
Method
iter
(&self)
runtime/src/linker.rs:332
↓ 13 callers
Method
set_trg
(&mut self, i: TrgId, trg: Trg)
runtime/src/def.rs:243
↓ 12 callers
Method
new_trg_id
(&mut self)
runtime/src/def.rs:209
↓ 12 callers
Method
tag
(self)
num/src/num.rs:103
↓ 11 callers
Method
free_wire
(&mut self, wire: Wire)
runtime/src/allocator.rs:113
↓ 10 callers
Method
is
(&self, tag: Tag)
runtime/src/port.rs:149
↓ 10 callers
Function
maybe_grow
(f: impl FnOnce() -> R)
util/src/maybe_grow.rs:3
↓ 9 callers
Method
as_wire
(self)
runtime/src/linker.rs:261
↓ 9 callers
Method
consume_node
(self)
runtime/src/node.rs:13
↓ 9 callers
Method
is_principal
(&self)
runtime/src/port.rs:197
↓ 8 callers
Method
free_trg
(&mut self, trg: Trg)
runtime/src/allocator.rs:119
↓ 8 callers
Method
load_target
(&self)
runtime/src/wire.rs:44
↓ 8 callers
Method
num
(&self)
runtime/src/port.rs:185
↓ 8 callers
Method
read_wire
Reads a tree out from a given `wire`.
host/src/readback.rs:45
↓ 7 callers
Method
apply_tree
Transforms the net `x & ...` into `y & x ~ (arg y) & ...` The result is equivalent a λ-calculus application. Thus, if the net is a λ-calculus term, t
ast/src/ast.rs:112
↓ 7 callers
Method
children
(&self)
ast/src/ast.rs:136
↓ 7 callers
Method
comm02
(&mut self, a: Port, b: Port)
runtime/src/interact.rs:162
↓ 7 callers
Method
get_mut
Returns a mutable [`Def`] named `name`.
host/src/host.rs:82
↓ 7 callers
Method
get_trg
(&self, i: TrgId)
runtime/src/def.rs:238
↓ 7 callers
Method
get_u24
(self)
num/src/num.rs:113
↓ 7 callers
Method
is_num
(&self)
runtime/src/port.rs:155
↓ 7 callers
Method
is_wire
(&self)
runtime/src/linker.rs:255
↓ 7 callers
Method
other_half
(&self)
runtime/src/addr.rs:48
↓ 7 callers
Method
wire
(wire: Wire)
runtime/src/linker.rs:250
↓ 6 callers
Method
as_port
(self)
runtime/src/linker.rs:267
↓ 6 callers
Method
is_empty
(&self)
runtime/src/linker.rs:324
↓ 6 callers
Method
link_trg_port
(&mut self, a: Trg, b: Port)
runtime/src/linker.rs:287
↓ 6 callers
Method
redux
(&mut self, a: Port, b: Port)
runtime/src/linker.rs:70
↓ 6 callers
Method
val
(&self)
runtime/src/addr.rs:26
↓ 5 callers
Function
Node
examples/sort/radix/radix_sort_lam.js:7
↓ 5 callers
Method
alloc
(&mut self)
runtime/src/allocator.rs:93
↓ 5 callers
Method
children_mut
(&mut self)
ast/src/ast.rs:147
↓ 5 callers
Method
get_f24
(self)
num/src/num.rs:123
↓ 5 callers
Method
pre_reduce
Reduces the definitions in the book individually, except for the skipped ones. Defs that are not in the book are treated as inert defs. `max_memory`
transform/src/pre_reduce.rs:38
↓ 5 callers
Method
set_target
(&self, port: Port)
runtime/src/wire.rs:50
↓ 5 callers
Function
spin_loop
()
runtime/src/runtime.rs:40
↓ 5 callers
Method
visit_tree
(&mut self, tree: &'a Tree, trg: E::Trg)
host/src/encode.rs:68
↓ 4 callers
Method
call
(slf: *const Def, net: &mut Net, port: Port)
runtime/src/def.rs:148
↓ 4 callers
Method
cas_target
(&self, expected: Port, value: Port)
runtime/src/wire.rs:55
↓ 4 callers
Method
comm22
(&mut self, a: Port, b: Port)
runtime/src/interact.rs:118
↓ 4 callers
Method
eta_reduce
Carries out simple eta-reduction
transform/src/eta_reduce.rs:69
↓ 4 callers
Method
finish
(self)
host/src/encode.rs:45
↓ 4 callers
Function
get_arithmetic_program_path
()
tests/cli.rs:15
↓ 4 callers
Method
get_i24
(self)
num/src/num.rs:118
↓ 4 callers
Method
half_free
(&mut self, addr: Addr)
runtime/src/allocator.rs:73
↓ 4 callers
Method
is_skippable
(&self)
runtime/src/port.rs:205
↓ 4 callers
Method
readback
Creates an ast net from a runtime net. Note that vicious circles and disconnected subnets will not be in the resulting ast net, as it is impossible t
host/src/readback.rs:23
↓ 4 callers
Method
target
(&self)
runtime/src/wire.rs:39
↓ 4 callers
Method
target
(&self)
runtime/src/linker.rs:278
↓ 4 callers
Method
traverse_node
(self)
runtime/src/node.rs:18
↓ 3 callers
Function
Concat
examples/sort/radix/radix_sort_lam.js:3
↓ 3 callers
Function
Single
examples/sort/radix/radix_sort_lam.js:2
↓ 3 callers
Method
addr
(&self)
runtime/src/port.rs:173
↓ 3 callers
Method
boot
Boots a net from a Def.
runtime/src/net.rs:30
↓ 3 callers
Method
create_wire_to
(&mut self, port: Port)
runtime/src/node.rs:52
↓ 3 callers
Method
half_link_port_port
(&mut self, a_port: Port, b_port: Port)
runtime/src/linker.rs:90
↓ 3 callers
Method
half_link_wire_port
(&mut self, a_port: Port, a_wire: Wire, b_port: Port)
runtime/src/linker.rs:100
↓ 3 callers
Method
insert_def
Inserts a singular def into the mapping.
host/src/host.rs:76
↓ 3 callers
Method
instructions
(&self)
runtime/src/def.rs:203
↓ 3 callers
Method
iter_mut
(&mut self)
runtime/src/linker.rs:336
↓ 3 callers
Method
link_const
(&mut self, trg: Self::Trg, port: Port)
host/src/encode.rs:121
↓ 3 callers
Method
link_wire_wire
(&mut self, a_wire: Wire, b_wire: Wire)
runtime/src/linker.rs:37
↓ 3 callers
Function
load_book
(files: &[PathBuf], transform_args: TransformArgs)
src/main.rs:100
↓ 3 callers
Function
load_file
(file: &str)
tests/loaders.rs:9
↓ 3 callers
Method
lock_target
(&self)
runtime/src/wire.rs:67
↓ 3 callers
Function
merge
examples/sort/radix/radix_sort_lam.js:54
↓ 3 callers
Method
normal
Reduces a net to normal form.
runtime/src/net.rs:55
↓ 3 callers
Function
normal_with
(book: Book, mem: Option<usize>, entry_point: &str)
tests/loaders.rs:28
↓ 3 callers
Function
parse_core
Parses code and generate Book from hvm-64 syntax
tests/loaders.rs:15
↓ 3 callers
Function
parse_eof
Parses the input with the callback, ensuring that the whole input is consumed.
ast/src/parser.rs:169
↓ 3 callers
Method
parse_name
Name = /[a-zA-Z0-9_.$]+/
ast/src/parser.rs:108
↓ 3 callers
Method
parse_tree
(&mut self)
ast/src/parser.rs:42
↓ 3 callers
Method
prune
(&mut self, entrypoints: &[String])
transform/src/prune.rs:11
↓ 3 callers
Method
read_port
Reads a tree out from a given `port`. If this is a var port, the `wire` this port was reached from must be supplied to key into the `vars` map.
host/src/readback.rs:53
↓ 3 callers
Method
read_word
(&mut self)
runtime/src/trace.rs:284
↓ 3 callers
Function
rev
examples/sort/radix/radix_sort_lam.js:20
↓ 3 callers
Function
sum
tests/programs/stress_tests/sum_tree.js:21
↓ 3 callers
Function
sum
examples/sort/radix/radix_sort_lam.js:27
↓ 3 callers
Method
swap_target
(&self, value: Port)
runtime/src/wire.rs:60
↓ 3 callers
Function
to_arr
examples/sort/radix/radix_sort_lam.js:36
↓ 3 callers
Function
to_map
examples/sort/radix/radix_sort_lam.js:47
↓ 3 callers
Method
union
Adds all of the labels in `other` to this set.
runtime/src/def.rs:40
↓ 3 callers
Method
visit_tree
(&mut self, tree: &'b Tree, depth: Option<usize>, mut out: Option<&mut LabSet>)
host/src/calc_labels.rs:176
↓ 3 callers
Method
visit_tree
(&mut self, tree: &Tree)
transform/src/pre_reduce.rs:121
↓ 3 callers
Method
write_word
(&mut self, word: u64)
runtime/src/trace.rs:178
↓ 2 callers
Function
_read_traces
(limit: usize)
runtime/src/trace.rs:296
↓ 2 callers
Method
acquire
(&self, cb: impl FnOnce(&mut TraceData))
runtime/src/trace.rs:212
↓ 2 callers
Method
add
(&mut self, lab: Lab)
runtime/src/def.rs:19
↓ 2 callers
Method
add_to
(&self, target: &AtomicRewrites)
runtime/src/runtime.rs:84
↓ 2 callers
Method
as_var
(&self)
runtime/src/wire.rs:78
↓ 2 callers
Method
calc_def
(&mut self, key: &'b str, depth: Option<usize>, out: Option<&mut LabSet>)
host/src/calc_labels.rs:149
next →
1–100 of 335, ranked by callers