Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jcparkyn/herd
/ functions
Functions
440 in github.com/Jcparkyn/herd
⨍
Functions
440
◇
Types & classes
55
↓ 1 callers
Function
step
(iter, n)
benchmarks/iterables.py:11
↓ 1 callers
Method
translate_assignment
(&mut self, target: &ast::AssignmentTarget, rhs: OValue)
src/jit.rs:1387
↓ 1 callers
Method
translate_builtin_call
( &mut self, callee: &str, args: &Vec<SpannedExpr>, span: &Span, )
src/jit.rs:1075
↓ 1 callers
Method
translate_for_in
( &mut self, iter: &SpannedExpr, var: &Spanned<MatchPattern>, body: &SpannedEx
src/jit.rs:1519
↓ 1 callers
Method
translate_function_entry
(&mut self, lambda: &LambdaExpr, entry_block: Block)
src/jit.rs:814
↓ 1 callers
Method
translate_if_else
( &mut self, condition: &SpannedExpr, then_body: &SpannedExpr, else_body: &Opt
src/jit.rs:1459
↓ 1 callers
Method
translate_import
(&mut self, path: &str, span: &Span)
src/jit.rs:2258
↓ 1 callers
Method
translate_indirect_call
(&mut self, callee: &SpannedExpr, args: &Vec<SpannedExpr>)
src/jit.rs:981
↓ 1 callers
Method
translate_lambda_definition
(&mut self, lambda: &LambdaExpr)
src/jit.rs:1710
↓ 1 callers
Method
translate_main_func
( &mut self, body: &SpannedExpr, src_path: &Path, implicit_vars: &[String],
src/jit.rs:497
↓ 1 callers
Method
translate_match_expr
(&mut self, match_expr: &MatchExpr)
src/jit.rs:1814
↓ 1 callers
Method
translate_matches_pattern
(&mut self, pattern: &MatchPattern, value: BValue)
src/jit.rs:1244
↓ 1 callers
Method
translate_op
(&mut self, op: Opcode, lhs: &SpannedExpr, rhs: &SpannedExpr)
src/jit.rs:1615
↓ 1 callers
Method
translate_pattern_assignment
( &mut self, rhs: &Spanned<Expr>, pattern: &Spanned<MatchPattern>, )
src/jit.rs:1159
↓ 1 callers
Method
translate_stmt
(&mut self, stmt: &SpannedStatement)
src/jit.rs:1137
↓ 1 callers
Method
translate_while_loop
(&mut self, condition: &SpannedExpr, body: &SpannedExpr)
src/jit.rs:1585
↓ 1 callers
Method
with_module
(mut self, path: impl Into<String>, source: impl Into<String>)
tests/common/snapshot_helpers.rs:65
↓ 1 callers
Method
wrap_native
(self, message: impl Into<String>)
src/error.rs:23
Function
Body
(x, y, z, vx, vy, vz, mass)
benchmarks/nbody.js:10
Method
__init__
(self, p, v, m)
benchmarks/nbody.py:8
Function
add
()
tests/snapshots.rs:5
Function
add_invalid_types
()
tests/snapshots.rs:15
Function
alloc_herd_error
( msg: Value64, inner: *mut HerdError, pos: u64, file_id: u64, func_name: Value64Ref, )
src/natives.rs:1025
Function
array_assign
()
tests/snapshots.rs:525
Function
array_assign_invalid_type
()
tests/snapshots.rs:554
Function
array_assign_out_of_range
()
tests/snapshots.rs:539
Function
array_literal
()
tests/snapshots.rs:48
Function
assert_truthy
(error_out: ErrorOut, val: Value64)
src/natives.rs:698
Function
assignment_target_to_index_expr
(target: &Spanned<AssignmentTarget>)
src/parse_helpers.rs:111
Function
binary_trees
()
tests/snapshots.rs:910
Method
bitwise_op
( s: &mut FunctionTranslator, args: &[SpannedExpr], op: impl FnOnce(&mut F
src/jit.rs:1081
Function
blocks
()
tests/snapshots.rs:122
Function
bodmas
()
tests/snapshots.rs:38
Function
bool_eq
()
src/value64.rs:715
Function
bool_round_trip
()
src/value64.rs:702
Method
borrowed
(value: Value)
src/jit.rs:284
Method
build_function_signature
(sig: &mut Signature)
src/jit.rs:1040
Function
builtin_not
()
tests/snapshots.rs:446
Function
builtin_range
()
tests/snapshots.rs:436
Function
call_non_function
()
tests/snapshots.rs:974
Function
call_order
()
tests/snapshots.rs:608
Function
call_wrong_arg_count
()
tests/snapshots.rs:986
Function
clone
(val: Value64Ref)
src/natives.rs:557
Function
cmp_gt
()
tests/snapshots.rs:109
Function
cmp_lt
()
tests/snapshots.rs:95
Function
construct_lambda
( param_count: u64, has_spread: u8, name: Value64Ref, // string or () func_ptr: *const u8,
src/natives.rs:750
Method
default
()
src/natives.rs:86
Function
dict_assign
()
tests/snapshots.rs:569
Function
dict_entries
(error_out: ErrorOut, dict: Value64)
src/natives.rs:511
Function
dict_eq
()
src/value64.rs:737
Function
dict_insert
(dict: Value64, key: Value64, val: Value64)
src/natives.rs:466
Function
dict_keys
(error_out: ErrorOut, dict: Value64)
src/natives.rs:503
Function
dict_literal
()
tests/snapshots.rs:502
Function
dict_literal_shorthand
()
tests/snapshots.rs:513
Function
dict_lookup
(dict: Value64Ref, key: Value64Ref, found: Out<u8>)
src/natives.rs:474
Function
dict_new
(capacity: u64)
src/natives.rs:462
Function
dict_remove_key
(error_out: ErrorOut, dict: Value64, key: Value64)
src/natives.rs:493
Function
dict_round_trip
()
src/value64.rs:722
Method
drop
(&mut self)
src/dict.rs:125
Method
drop
(&mut self)
src/value64.rs:557
Function
early_return_cleanup
()
tests/snapshots.rs:468
Function
early_return_if
()
tests/snapshots.rs:456
Method
empty
()
src/ast.rs:58
Function
epoch_time
(error_out: ErrorOut)
src/natives.rs:901
Method
eq
(&self, other: &Self)
src/value64.rs:414
Function
equals
()
tests/snapshots.rs:82
Function
error_to_string
(err: &HerdError, indent: usize)
tests/common/snapshot_helpers.rs:109
Method
eval_f64
(s: &mut FunctionTranslator, expr: &SpannedExpr)
src/jit.rs:1616
Function
extract_ptr
(value: u64)
src/value64.rs:41
Function
f64_eq
()
src/value64.rs:687
Function
f64_round_trip
()
src/value64.rs:677
Function
file_lines
(error_out: ErrorOut, path: Value64)
src/natives.rs:984
Function
file_to_string
(error_out: ErrorOut, path: Value64)
src/natives.rs:973
Function
float_pow
(error_out: ErrorOut, base: Value64, exponent: Value64)
src/natives.rs:690
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/pos.rs:43
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/natives.rs:300
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/dict.rs:109
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/value64.rs:446
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/analysis.rs:24
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lines.rs:16
Method
fmt
(&self, f: &mut Formatter)
src/ast.rs:67
Function
for_in_loop
()
tests/snapshots.rs:352
Function
for_in_loop_scope
()
tests/snapshots.rs:366
Method
from_bits
(bits: u64)
src/value64.rs:125
Method
from_bool
(value: bool)
src/value64.rs:303
Method
from_dict
(value: Rc<DictInstance>)
src/value64.rs:354
Method
from_f64
(value: f64)
src/value64.rs:280
Method
from_hashmap
(values: HashMap<Value64, Value64>)
src/dict.rs:36
Method
from_lambda
(value: Rc<LambdaFunction>)
src/value64.rs:390
Method
from_list
(value: Rc<ListInstance>)
src/value64.rs:372
Method
from_ptr
(ptr: *const T, tag: PointerTag)
src/value64.rs:148
Method
from_rc
(rc: Rc<T>)
src/value64.rs:154
Method
from_ref
(val: &Value64)
src/natives.rs:282
Method
from_str
(value: &str)
src/value64.rs:332
Method
from_string
(value: Rc<String>)
src/value64.rs:328
Method
from_string
(s: String)
src/ast.rs:274
Method
from_usize
(value: usize)
src/value64.rs:285
Function
func_with_captures
()
tests/snapshots.rs:619
Function
func_with_locals
()
tests/snapshots.rs:643
Function
func_with_pattern_matching
()
tests/snapshots.rs:658
← previous
next →
201–300 of 440, ranked by callers