Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adam-mcdaniel/sage
/ functions
Functions
1,185 in github.com/adam-mcdaniel/sage
⨍
Functions
1,185
◇
Types & classes
113
↓ 1 callers
Method
simplify_checked
(self, env: &Env, i: usize)
src/lir/types/mod.rs:2219
↓ 1 callers
Method
simplify_until_type_checks
Simplify until the type passes the type checker.
src/lir/types/mod.rs:856
↓ 1 callers
Method
std_op
(&mut self, op: &StandardOp)
src/targets/c.rs:159
↓ 1 callers
Method
step
Run a single step of the interpreter.
src/vm/interpreter/std.rs:274
↓ 1 callers
Method
step
Run a single step of the interpreter.
src/vm/interpreter/core.rs:254
↓ 1 callers
Method
step
Run a single step of the interpreter.
examples/web/src/interpreter.rs:261
↓ 1 callers
Function
stopResize
(e)
docs/static.files/main-5f194d8c.js:11
↓ 1 callers
Method
substitute
Substitute a type in a given expression.
src/lir/types/inference.rs:418
↓ 1 callers
Method
substitute_types
(&mut self, names: &[String], types: &[Type])
src/lir/types/inference.rs:31
↓ 1 callers
Method
supports_input
(&self, i: &Input)
src/targets/c.rs:19
↓ 1 callers
Method
supports_output
(&self, o: &Output)
src/targets/c.rs:26
↓ 1 callers
Function
takeFromExternrefTable0
(idx)
docs/sage/web/web.js:174
↓ 1 callers
Method
to_float
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1078
↓ 1 callers
Method
to_int
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1082
↓ 1 callers
Method
transition
(absState,position,vector)
docs/static.files/search-92e6798f.js:6
↓ 1 callers
Method
type_check
(&self, env: &Env)
src/lir/types/check.rs:29
↓ 1 callers
Method
type_check
Type-check a pattern match of an expression against this pattern, and type-check the branch where the expression is bound to the pattern.
src/lir/expr/pattern.rs:390
↓ 1 callers
Function
updateSidebarWidth
()
docs/static.files/storage-59e33391.js:1
↓ 1 callers
Method
vec_add
(&self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:373
↓ 1 callers
Method
vec_and
(&self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:481
↓ 1 callers
Method
vec_arithmetic_right_shift
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:402
↓ 1 callers
Method
vec_bitwise_and
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:429
↓ 1 callers
Method
vec_bitwise_nand
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:420
↓ 1 callers
Method
vec_bitwise_nor
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:446
↓ 1 callers
Method
vec_bitwise_not
(&self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:469
↓ 1 callers
Method
vec_bitwise_or
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:438
↓ 1 callers
Method
vec_bitwise_xor
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:460
↓ 1 callers
Method
vec_dec
(&self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:501
↓ 1 callers
Method
vec_div
(&self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:385
↓ 1 callers
Method
vec_float_acos
( &self, size: usize, result: &mut dyn VirtualMachineProgram, )
src/asm/location.rs:663
↓ 1 callers
Method
vec_float_add
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:543
↓ 1 callers
Method
vec_float_asin
( &self, size: usize, result: &mut dyn VirtualMachineProgram, )
src/asm/location.rs:652
↓ 1 callers
Method
vec_float_atan
( &self, size: usize, result: &mut dyn VirtualMachineProgram, )
src/asm/location.rs:674
↓ 1 callers
Method
vec_float_cos
( &self, size: usize, result: &mut dyn VirtualMachineProgram, )
src/asm/location.rs:630
↓ 1 callers
Method
vec_float_div
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:570
↓ 1 callers
Method
vec_float_mul
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:561
↓ 1 callers
Method
vec_float_neg
( &self, size: usize, result: &mut dyn VirtualMachineProgram, )
src/asm/location.rs:588
↓ 1 callers
Method
vec_float_pow
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:610
↓ 1 callers
Method
vec_float_rem
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:579
↓ 1 callers
Method
vec_float_sin
( &self, size: usize, result: &mut dyn VirtualMachineProgram, )
src/asm/location.rs:619
↓ 1 callers
Method
vec_float_sub
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:552
↓ 1 callers
Method
vec_float_tan
( &self, size: usize, result: &mut dyn VirtualMachineProgram, )
src/asm/location.rs:641
↓ 1 callers
Method
vec_float_whole_int
( &self, size: usize, result: &mut dyn VirtualMachineProgram, )
src/asm/location.rs:599
↓ 1 callers
Method
vec_inc
(&self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:495
↓ 1 callers
Method
vec_index
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:524
↓ 1 callers
Method
vec_left_shift
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:393
↓ 1 callers
Method
vec_logical_right_shift
( &self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:411
↓ 1 callers
Method
vec_mul
(&self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:381
↓ 1 callers
Method
vec_neg
(&self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:507
↓ 1 callers
Method
vec_not
(&self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:475
↓ 1 callers
Method
vec_offset
( &self, offset: isize, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:513
↓ 1 callers
Method
vec_or
(&self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:485
↓ 1 callers
Method
vec_rem
(&self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:389
↓ 1 callers
Method
vec_sub
(&self, src: &Self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:377
↓ 1 callers
Method
vec_whole_int
(&self, size: usize, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:489
↓ 1 callers
Method
with
(&self, decls: impl Into<Declaration>)
src/lir/expr/procedure/poly.rs:71
Function
__wbg_init
(module_or_path)
docs/sage/web/web.js:400
Method
add
(self, other: impl Into<Self>)
src/lir/expr/expression.rs:603
Method
add
(self, other: T)
src/lir/expr/declaration.rs:946
Method
addIntoResults
(results,fullId,id,index,dist,path_dist,maxEditDistance)
docs/static.files/search-92e6798f.js:1
Method
add_assign
(&mut self, other: T)
src/lir/expr/declaration.rs:955
Method
add_monomorphized_associated_consts
( &self, template: Type, monomorph: Type, ty_args: Vec<Type>, )
src/lir/env.rs:576
Method
alt
Construct a new pattern which binds to several alternate patterns.
src/lir/expr/pattern.rs:53
Method
app
Apply this procedure or builtin to a list of expressions *at runtime*.
src/lir/expr/const_expr.rs:195
Method
are_patterns_exhaustive
This associated function returns whether or not a set of patterns is exhaustive, that is, whether or not it matches all possible values of a given typ
src/lir/expr/pattern.rs:95
Method
as_char
Try to get this constant expression as a character.
src/lir/expr/const_expr.rs:543
Method
as_float
Try to get this constant expression as a float.
src/lir/expr/const_expr.rs:555
Method
as_type
Cast an expression as another type.
src/lir/expr/const_expr.rs:209
Method
assemble
Assemble a program of core assembly instructions into the core virtual machine instructions.
src/asm/core.rs:89
Function
bench_frontend
(c: &mut Criterion)
benches/frontend.rs:96
Function
bin_digit1
( input: &'a str, )
src/frontend/parse.rs:28
Method
bitand
BitwiseAnd this expression with another.
src/lir/expr/expression.rs:537
Method
bitnand
BitwiseOr this expression with another.
src/lir/expr/expression.rs:532
Method
bitnor
BitwiseAnd this expression with another.
src/lir/expr/expression.rs:542
Method
bitnot
BitwiseAnd this expression with another.
src/lir/expr/expression.rs:547
Method
bitor
(self, rhs: Self)
src/lir/annotate.rs:158
Method
bitor
BitwiseOr this expression with another.
src/lir/expr/expression.rs:527
Method
bitor_assign
(&mut self, rhs: Self)
src/lir/annotate.rs:166
Method
bitwise_nand
(&mut self)
src/vm/mod.rs:193
Method
bitxor
Bitwise this expression with another.
src/lir/expr/expression.rs:522
Method
bool
Construct a new pattern which matches a constant boolean.
src/lir/expr/pattern.rs:49
Method
buildFunctionSearchTypeCallback
(paths,lowercasePaths)
docs/static.files/search-92e6798f.js:1
Method
buildHrefAndPath
docs/static.files/search-92e6798f.js:1
Method
build_core
Compile the core variant of the machine code (must be implemented for every target).
src/targets/mod.rs:212
Method
build_std
Compile the standard variant of the machine code (should be implemented for every target possible).
src/targets/mod.rs:263
Method
call
(&mut self)
src/vm/mod.rs:185
Method
can_apply
Can this binary operation be applied to the given types?
src/lir/expr/ops/assign.rs:23
Method
can_apply
Can this binary operation be applied to the given types?
src/lir/expr/ops/logic.rs:18
Method
can_apply
Can this binary operation be applied to the given types?
src/lir/expr/ops/comparison.rs:25
Method
can_apply
Can this unary operation be applied to the given type?
src/lir/expr/ops/memory.rs:10
Method
can_apply
Can this unary operation be applied to the given type?
src/lir/expr/ops/tagged_union.rs:13
Method
can_apply
Can this binary operation be applied to the given types?
src/lir/expr/ops/arithmetic/mod.rs:174
Method
can_apply
(&self, ty: &Type, env: &Env)
src/lir/expr/ops/arithmetic/negate.rs:11
Method
can_apply
(&self, lhs: &Type, rhs: &Type, env: &Env)
src/lir/expr/ops/arithmetic/addition.rs:63
Method
can_apply
Can this binary operation be applied to the given types?
src/lir/expr/ops/bitwise/xor.rs:14
Method
can_apply
(&self, ty: &Type, env: &Env)
src/lir/expr/ops/bitwise/not.rs:12
Method
can_apply
Can this binary operation be applied to the given types?
src/lir/expr/ops/bitwise/nor.rs:14
Method
can_apply
Can this binary operation be applied to the given types?
src/lir/expr/ops/bitwise/or.rs:14
Method
can_apply
Can this binary operation be applied to the given types?
src/lir/expr/ops/bitwise/nand.rs:14
Method
can_apply
Can this binary operation be applied to the given types?
src/lir/expr/ops/bitwise/and.rs:14
← previous
next →
601–700 of 1,185, ranked by callers