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
Method
let_proc
Create a `proc` binding for a procedure. This will create a new scope with the procedure `proc` defined. `ret` will be evaluated under this new scope
src/lir/expr/expression.rs:716
Method
let_procs
Create several `proc` bindings at onces.
src/lir/expr/expression.rs:721
Method
let_type
Create a `let` binding for an type. This will create a new scope with the type `typename` defined. `typename` will be declared with the type `t`, and
src/lir/expr/expression.rs:687
Method
let_types
Create several `type` bindings at onces.
src/lir/expr/expression.rs:691
Method
let_var
Create a `let` binding for an expression. This will create a new scope with the variable `var` defined. `var` will be declared with the type `t`, and
src/lir/expr/expression.rs:661
Method
let_vars
Create a `let` binding for an expression, and define multiple variables.
src/lir/expr/expression.rs:673
Function
main
()
build.rs:3
Function
main
()
src/cli.rs:509
Function
main_js
()
docs/sage/web/web.js:170
Function
main_js
()
examples/web/src/lib.rs:29
Method
many
Create a collection of declarations
src/lir/expr/declaration.rs:69
Method
match_pattern
Generate an expression which evaluates a `match` expression, which matches a given `expr` against a set of patterns and branches.
src/lir/expr/pattern.rs:496
Method
match_pattern_helper
A helper function for generating a `match` expression. This function simply generates code which matches a given `expr` against a set of patterns and
src/lir/expr/pattern.rs:524
Method
module
Create a module with a given name and a list of declarations, and whether or not it is checked.
src/lir/expr/declaration.rs:74
Method
monomorphize
Take some type arguments and produce a monomorphized version of the procedure. This monomorphized version can then be compiled directly. Additionally,
src/lir/expr/procedure/poly.rs:116
Method
mul
(self, other: impl Into<Self>)
src/lir/expr/expression.rs:615
Method
name
(&self)
src/lir/expr/ops/mod.rs:31
Method
name
(&self)
src/lir/expr/ops/mod.rs:222
Method
name
(&self)
src/lir/expr/ops/mod.rs:326
Method
name
(&self)
src/targets/sage_os.rs:116
Method
name
(&self)
src/targets/sage_lisp.rs:48
Method
neg
(self)
src/lir/expr/expression.rs:633
Method
new
Construct a new polymorphic procedure with type parameters, a list of arguments + their types, a return type, and the body of the procedure.
src/lir/expr/procedure/poly.rs:53
Method
new
Create a new FFI procedure.
src/lir/expr/procedure/ffi.rs:31
Method
new
Construct a new procedure with a given list of arguments and their types, a return type, and the body of the procedure.
src/lir/expr/procedure/mono.rs:63
Method
new
Create a new assignment operation.
src/lir/expr/ops/assign.rs:16
Method
new
Create a new program of core assembly instructions.
src/asm/std.rs:41
Method
new
Create a new empty `Globals` lookup.
src/asm/globals.rs:43
Method
new
Create a new program of core assembly instructions.
src/asm/core.rs:63
Method
new
Create a new FFI binding.
src/side_effects/ffi.rs:24
Method
new
Create a new input source.
src/side_effects/io.rs:317
Method
new
(env: sage_lisp::Env)
src/targets/sage_lisp.rs:18
Method
new
Create a new testing device with some given sample input.
src/vm/interpreter/mod.rs:67
Method
new
(device: T)
src/vm/interpreter/std.rs:58
Method
new
(device: T)
src/vm/interpreter/core.rs:47
Method
new
Create a new testing device with some given sample input.
examples/web/src/device.rs:21
Method
new
(device: T)
examples/web/src/interpreter.rs:45
Method
newParsedQuery
(userQuery)
docs/static.files/search-92e6798f.js:1
Method
new_raw
(input: Vec<i64>)
src/vm/interpreter/mod.rs:80
Method
not
(self)
src/lir/expr/expression.rs:517
Function
onSearchSubmit
(e)
docs/static.files/search-92e6798f.js:6
Method
op
(&mut self, op: CoreOp)
src/asm/core.rs:187
Method
op
(&mut self, op: &CoreOp)
src/targets/sage_os.rs:44
Method
op
(&mut self, _op: &CoreOp)
src/targets/sage_lisp.rs:32
Method
op
(&mut self, op: CoreOp)
src/vm/core.rs:14
Method
parseInput
(query,parserState)
docs/static.files/search-92e6798f.js:1
Function
parse_alt_pattern
( input: &'a str, )
src/frontend/parse.rs:1734
Function
parse_assign_stmt
( input: &'a str, )
src/frontend/parse.rs:2835
Function
parse_attribute
( input: &'a str, )
src/frontend/parse.rs:1488
Function
parse_char_literal
( input: &'a str, )
src/frontend/parse.rs:4029
Function
parse_const_array
( input: &'a str, )
src/frontend/parse.rs:4183
Function
parse_const_bool
( input: &'a str, )
src/frontend/parse.rs:4082
Function
parse_const_group
( input: &'a str, )
src/frontend/parse.rs:3729
Function
parse_const_member
( input: &'a str, )
src/frontend/parse.rs:3705
Function
parse_const_monomorph
( input: &'a str, )
src/frontend/parse.rs:3662
Function
parse_const_none
( input: &'a str, )
src/frontend/parse.rs:4112
Function
parse_const_null
( input: &'a str, )
src/frontend/parse.rs:4097
Function
parse_const_sizeof_expr
( input: &'a str, )
src/frontend/parse.rs:4133
Function
parse_const_sizeof_type
( input: &'a str, )
src/frontend/parse.rs:4147
Function
parse_const_stmt
( input: &'a str, )
src/frontend/parse.rs:2560
Function
parse_const_struct
( input: &'a str, )
src/frontend/parse.rs:4223
Function
parse_const_tuple
( input: &'a str, )
src/frontend/parse.rs:4165
Function
parse_const_variant
( input: &'a str, )
src/frontend/parse.rs:3685
Function
parse_decl
( input: &'a str, )
src/frontend/parse.rs:2092
Function
parse_decorator
( input: &'a str, )
src/frontend/parse.rs:1473
Function
parse_enum_stmt
( input: &'a str, )
src/frontend/parse.rs:2764
Function
parse_escaped_char
Parse an escaped character: \n, \t, \r, \u{00AC}, etc.
src/frontend/parse.rs:3880
Function
parse_escaped_whitespace
Parse a backslash, followed by any amount of whitespace. This is used later to discard any escaped whitespace.
src/frontend/parse.rs:3921
Function
parse_expr_array
( input: &'a str, )
src/frontend/parse.rs:3572
Function
parse_expr_atom
( input: &'a str, )
src/frontend/parse.rs:3522
Function
parse_expr_call
( expr: &Expr, input: &'a str, )
src/frontend/parse.rs:3444
Function
parse_expr_cast
( expr: &Expr, input: &'a str, )
src/frontend/parse.rs:3432
Function
parse_expr_group
( input: &'a str, )
src/frontend/parse.rs:3542
Function
parse_expr_index
( expr: &Expr, input: &'a str, )
src/frontend/parse.rs:3418
Function
parse_expr_member
( expr: &Expr, input: &'a str, )
src/frontend/parse.rs:3498
Function
parse_expr_struct
( input: &'a str, )
src/frontend/parse.rs:3590
Function
parse_expr_tuple
( input: &'a str, )
src/frontend/parse.rs:3554
Function
parse_expr_variant
( input: &'a str, )
src/frontend/parse.rs:3402
Function
parse_extern_stmt
( input: &'a str, )
src/frontend/parse.rs:2526
Function
parse_float_literal
( input: &'a str, )
src/frontend/parse.rs:3808
Function
parse_for_stmt
( input: &'a str, )
src/frontend/parse.rs:2234
Function
parse_fragment_char
(input: &'a str)
src/frontend/parse.rs:3983
Function
parse_fragment_str
Combine parse_literal, parse_escaped_whitespace, and parse_escaped_char into a StringFragment.
src/frontend/parse.rs:3969
Function
parse_fun_stmt
( input: &'a str, )
src/frontend/parse.rs:2273
Function
parse_helper
( input: &'a str, )
src/frontend/parse.rs:1416
Function
parse_if_let_stmt
( input: &'a str, )
src/frontend/parse.rs:2192
Function
parse_if_stmt
( input: &'a str, )
src/frontend/parse.rs:2158
Function
parse_impl_const
( input: &'a str, )
src/frontend/parse.rs:1587
Function
parse_impl_fun
( input: &'a str, )
src/frontend/parse.rs:1548
Function
parse_impl_item
( input: &'a str, ty: &Type, )
src/frontend/parse.rs:1533
Function
parse_impl_method
( input: &'a str, ty: &Type, )
src/frontend/parse.rs:1604
Function
parse_impl_stmt
( input: &'a str, )
src/frontend/parse.rs:1506
Function
parse_import_stmt
( input: &'a str, )
src/frontend/parse.rs:1948
Function
parse_int_literal
( input: &'a str, )
src/frontend/parse.rs:3771
Function
parse_literal_intermediate
Parse a non-empty block of text that doesn't include \ or "
src/frontend/parse.rs:3928
Function
parse_literal_intermediate_char
Parse a non-empty block of text that doesn't include \ or "
src/frontend/parse.rs:3943
Function
parse_long_stmt
( input: &'a str, )
src/frontend/parse.rs:1920
Function
parse_match_stmt
( input: &'a str, )
src/frontend/parse.rs:1718
Function
parse_method_params
( input: &'a str, ty: &Type, )
src/frontend/parse.rs:2425
Function
parse_module_file_stmt
( input: &'a str, )
src/frontend/parse.rs:2049
← previous
next →
901–1,000 of 1,185, ranked by callers