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
Function
isPathSeparator
(c)
docs/static.files/search-92e6798f.js:1
↓ 1 callers
Function
isSidebarHidden
()
docs/static.files/main-5f194d8c.js:11
↓ 1 callers
Function
isSpecialStartCharacter
(c)
docs/static.files/search-92e6798f.js:1
↓ 1 callers
Method
is_constant
Is this data protected against mutation?
src/lir/types/mod.rs:60
↓ 1 callers
Method
is_defined
Is the given label defined yet in the operations?
src/asm/std.rs:248
↓ 1 callers
Method
is_defined_as_mutable
Is the variable defined in scope as mutable?
src/lir/env.rs:1148
↓ 1 callers
Method
is_equal
(&self, src: &Self, dst: &Self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:886
↓ 1 callers
Method
is_exhaustive
Is this pattern exhaustive?
src/lir/expr/pattern.rs:88
↓ 1 callers
Method
is_greater_or_equal_to
dst = this cell >= source cell.
src/asm/location.rs:827
↓ 1 callers
Method
is_greater_than_float
dst = this cell >= source cell.
src/asm/location.rs:815
↓ 1 callers
Method
is_less_than_float
dst = this cell < source cell.
src/asm/location.rs:854
↓ 1 callers
Method
is_location
Is this annotation a location?
src/lir/annotate.rs:65
↓ 1 callers
Method
is_non_negative
(&mut self)
src/vm/mod.rs:205
↓ 1 callers
Method
is_polymorphic
Is this type polymorphic?
src/lir/types/mod.rs:939
↓ 1 callers
Method
is_recursive_helper
Is this type recursive?
src/lir/types/mod.rs:245
↓ 1 callers
Method
is_simple
Is this type in a simple form? A simple form is a form that does not require any immediate simplification. For example, a `Poly` type is not simple, b
src/lir/types/mod.rs:713
↓ 1 callers
Method
is_union
Is this a union type?
src/lir/types/mod.rs:891
↓ 1 callers
Method
jmp_back_to_matching
Jump back to the matching instruction for a given "End" instruction. ```hs If (ends up here) ... End (calls jmp_back_to_matching) ```
src/vm/interpreter/std.rs:213
↓ 1 callers
Method
jmp_back_to_matching
Jump back to the matching instruction for a given "End" instruction. ```hs If (ends up here) ... End (calls jmp_back_to_matching) ```
src/vm/interpreter/core.rs:198
↓ 1 callers
Method
jmp_back_to_matching
Jump back to the matching instruction for a given "End" instruction. ```hs If (ends up here) ... End (calls jmp_back_to_matching) ```
examples/web/src/interpreter.rs:200
↓ 1 callers
Method
jmp_to_else
Jump to the matching "Else" for this "If" instruction.
src/vm/interpreter/std.rs:175
↓ 1 callers
Method
jmp_to_else
Jump to the matching "Else" for this "If" instruction.
src/vm/interpreter/core.rs:164
↓ 1 callers
Method
jmp_to_else
Jump to the matching "Else" for this "If" instruction.
examples/web/src/interpreter.rs:162
↓ 1 callers
Method
left_shift
This cell <<= source cell.
src/asm/location.rs:917
↓ 1 callers
Function
line_and_column
(line_starts: &[usize], index: usize)
src/frontend/parse.rs:45
↓ 1 callers
Method
logical_right_shift
This cell >>= source cell. This is a logical shift right.
src/asm/location.rs:933
↓ 1 callers
Function
make_env
()
src/frontend/parse.rs:59
↓ 1 callers
Function
matches
(bindings: &mut HashMap<Expr, Expr>, env: &Env, pattern: &Expr, pivot: &Expr)
src/frontend/parse.rs:1056
↓ 1 callers
Method
mul_float
This cell *= source cell.
src/asm/location.rs:964
↓ 1 callers
Method
neg
Negate the cell
src/asm/location.rs:937
↓ 1 callers
Method
neg_float
Negate this cell
src/asm/location.rs:991
↓ 1 callers
Method
neq
Is this expression greater than or equal to another?
src/lir/expr/expression.rs:577
↓ 1 callers
Function
obliterate_save
()
src/frontend/parse.rs:1210
↓ 1 callers
Function
onHashChange
(ev)
docs/static.files/main-5f194d8c.js:1
↓ 1 callers
Function
parse_block
( input: &'a str, )
src/frontend/parse.rs:1867
↓ 1 callers
Function
parse_const_atom
( input: &'a str, )
src/frontend/parse.rs:3741
↓ 1 callers
Function
parse_const_term
( input: &'a str, )
src/frontend/parse.rs:3656
↓ 1 callers
Function
parse_expr_factor
( input: &'a str, )
src/frontend/parse.rs:3388
↓ 1 callers
Function
parse_expr_prec
( input: &'a str, prec: u8, )
src/frontend/parse.rs:3250
↓ 1 callers
Function
parse_expr_term
( input: &'a str, )
src/frontend/parse.rs:3349
↓ 1 callers
Function
parse_frontend_file
(filename: &str)
benches/frontend.rs:16
↓ 1 callers
Function
parse_frontend_minimal
( input: impl ToString, filename: Option<&str>, )
src/parse.rs:157
↓ 1 callers
Function
parse_fun_params
( input: &'a str, )
src/frontend/parse.rs:2376
↓ 1 callers
Function
parse_if_expr
( input: &'a str, )
src/frontend/parse.rs:2115
↓ 1 callers
Function
parse_if_let_expr
( input: &'a str, )
src/frontend/parse.rs:2165
↓ 1 callers
Function
parse_import_decl
( input: &'a str, )
src/frontend/parse.rs:1955
↓ 1 callers
Function
parse_match_expr
( input: &'a str, )
src/frontend/parse.rs:1678
↓ 1 callers
Function
parse_module
(name: &str, input: &str, checked: bool)
src/frontend/parse.rs:1450
↓ 1 callers
Function
parse_module_contents
( name: &str, input: &'a str, checked: bool )
src/frontend/parse.rs:2016
↓ 1 callers
Function
parse_pattern
( input: &'a str, )
src/frontend/parse.rs:1725
↓ 1 callers
Function
parse_pattern_atom
( input: &'a str, )
src/frontend/parse.rs:1754
↓ 1 callers
Function
parse_source
(input: &str, filename: Option<String>)
src/frontend/parse.rs:1407
↓ 1 callers
Function
parse_type_atom
( input: &'a str, )
src/frontend/parse.rs:3179
↓ 1 callers
Method
peek
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1101
↓ 1 callers
Method
peek
(&mut self)
src/targets/c.rs:306
↓ 1 callers
Method
peek
(&mut self)
src/targets/sage_os.rs:156
↓ 1 callers
Method
peek
(&mut self)
src/vm/interpreter/mod.rs:230
↓ 1 callers
Method
peek
(&mut self)
examples/web/src/device.rs:206
↓ 1 callers
Method
perform_template_applications
Perform type applications if possible.
src/lir/types/mod.rs:1556
↓ 1 callers
Method
poke
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1110
↓ 1 callers
Method
poke
(&mut self)
src/targets/c.rs:309
↓ 1 callers
Method
poke
(&mut self)
src/targets/sage_os.rs:159
↓ 1 callers
Method
poke
(&mut self, val: i64)
src/vm/interpreter/mod.rs:239
↓ 1 callers
Method
poke
(&mut self, val: i64)
examples/web/src/device.rs:216
↓ 1 callers
Method
pop_from
Pop the top item off a given stack and store it in this location.
src/asm/location.rs:228
↓ 1 callers
Method
possibly_has_members
Does this type possibly have some members/fields?
src/lir/types/mod.rs:862
↓ 1 callers
Method
pow
(self, exp: impl Into<Self>)
src/lir/expr/expression.rs:597
↓ 1 callers
Method
pow_float
This cell **= source cell.
src/asm/location.rs:1001
↓ 1 callers
Function
preLoadCss
(cssUrl)
docs/static.files/main-5f194d8c.js:1
↓ 1 callers
Function
precompute_line_starts
(s: &str)
src/frontend/parse.rs:36
↓ 1 callers
Method
purge_existing_location
Remove any existing location from this annotation.
src/lir/annotate.rs:115
↓ 1 callers
Method
push_to
Push the value of this location to a given stack.
src/asm/location.rs:222
↓ 1 callers
Method
put
(&self, dst: Output, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1093
↓ 1 callers
Method
put
(&mut self, dst: &Output)
src/targets/c.rs:293
↓ 1 callers
Method
put
(&mut self, val: i64, dst: Output)
examples/web/src/device.rs:193
↓ 1 callers
Method
put_float
(&mut self, val: f64)
src/vm/interpreter/mod.rs:101
↓ 1 callers
Method
put_int
(&mut self, val: i64)
src/vm/interpreter/mod.rs:94
↓ 1 callers
Function
read_file
(filename: &str)
benches/frontend.rs:12
↓ 1 callers
Function
read_file
Read the contents of a file.
src/cli.rs:457
↓ 1 callers
Method
refer
Undo a dereference.
src/vm/interpreter/std.rs:110
↓ 1 callers
Method
refer
Undo a dereference.
src/vm/interpreter/core.rs:99
↓ 1 callers
Method
refer
Undo a dereference.
examples/web/src/interpreter.rs:97
↓ 1 callers
Function
registerSearchEvents
()
docs/static.files/search-92e6798f.js:6
↓ 1 callers
Method
rem_float
This cell %= source cell.
src/asm/location.rs:982
↓ 1 callers
Method
restore_address
Restore the address of this location to the register.
src/asm/location.rs:234
↓ 1 callers
Method
restore_args
Resume the previous state of the args being pushed onto the stack.
src/lir/env.rs:1274
↓ 1 callers
Method
ret
Return from the current function.
src/vm/interpreter/core.rs:153
↓ 1 callers
Method
ret
Return from the current function.
examples/web/src/interpreter.rs:151
↓ 1 callers
Method
run
Run a core program using this interpreter and its device.
examples/web/src/interpreter.rs:252
↓ 1 callers
Method
save_args
Save the current state of the args being pushed onto the stack.
src/lir/env.rs:1247
↓ 1 callers
Function
save_source_code_setup
()
src/frontend/parse.rs:1186
↓ 1 callers
Method
search
(name,tailTable)
docs/static.files/search-92e6798f.js:1
↓ 1 callers
Method
searchLev
(name,substart,levParams,results)
docs/static.files/search-92e6798f.js:1
↓ 1 callers
Function
setEvents
(settingsElement)
docs/static.files/settings-0f613d39.js:1
↓ 1 callers
Function
setMobileTopbar
()
docs/static.files/main-5f194d8c.js:1
↓ 1 callers
Method
set_float
This cell = a constant floating point value. This requires the standard instruction.
src/asm/location.rs:1017
↓ 1 callers
Function
set_panic_hook
()
examples/web/src/utils.rs:1
↓ 1 callers
Function
showLightAndDark
()
docs/static.files/settings-0f613d39.js:1
↓ 1 callers
Function
showMain
()
docs/static.files/main-5f194d8c.js:1
↓ 1 callers
Function
showResults
(results,go_to_first,filterCrates)
docs/static.files/search-92e6798f.js:5
← previous
next →
501–600 of 1,185, ranked by callers