Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Srinivasa314/neptune-lang
/ functions
Functions
611 in github.com/Srinivasa314/neptune-lang
⨍
Functions
611
◇
Types & classes
127
↓ 193 callers
Method
as_ptr
neptune-vm/value.cc:79
↓ 134 callers
Method
push
neptune-vm/native_function.cc:10
↓ 72 callers
Method
is_ptr
neptune-vm/value.cc:74
↓ 66 callers
Method
size
neptune-vm/function.cc:138
↓ 62 callers
Method
to_string
neptune-vm/vm.cc:436
↓ 56 callers
Method
type_string
neptune-vm/value.cc:208
↓ 51 callers
Method
as_int
neptune-vm/value.cc:53
↓ 48 callers
Method
write1
(&mut self, op: Op, u: u32, line: u32)
src/compiler.rs:247
↓ 45 callers
Method
evaluate_expr
(&mut self, expr: &Expr)
src/compiler.rs:1375
↓ 45 callers
Method
match_token
(&mut self, ttype: TokenType)
src/parser.rs:389
↓ 40 callers
Method
consume
(&mut self, ttype: TokenType, message: String)
src/parser.rs:380
↓ 39 callers
Function
r
(e,...n)
neptune-book/book/highlight.js:6
↓ 39 callers
Method
replace
neptune-vm/object.cc:329
↓ 35 callers
Method
end
neptune-vm/hash_table.h:98
↓ 35 callers
Method
is_int
neptune-vm/value.cc:51
↓ 34 callers
Method
peek
Gives the current character
src/scanner.rs:644
↓ 32 callers
Method
advance
Increments current and returns the previous character
src/scanner.rs:637
↓ 32 callers
Method
concat
neptune-vm/object.cc:20
↓ 30 callers
Method
insert
neptune-vm/hash_table.h:80
↓ 29 callers
Method
add
(e)
neptune-book/book/highlight.js:6
↓ 28 callers
Method
call
(&mut self, function: Box<Expr>)
src/parser.rs:640
↓ 28 callers
Method
store_in_accumulator
(&mut self, result: ExprResult, line: u32)
src/compiler.rs:531
↓ 28 callers
Method
write0
(&mut self, op: Op, line: u32)
src/compiler.rs:242
↓ 27 callers
Method
add_token
(&mut self, token_type: TokenType)
src/scanner.rs:675
↓ 27 callers
Method
line
(&self)
src/parser.rs:196
↓ 26 callers
Method
advance
(&mut self)
src/parser.rs:335
↓ 26 callers
Method
pop_register
(&mut self)
src/compiler.rs:221
↓ 25 callers
Method
find
Boyer-Moore-Horspool algorithm
neptune-vm/object.cc:300
↓ 24 callers
Method
binary
(&mut self, left: Box<Expr>)
src/parser.rs:819
↓ 24 callers
Method
is_empty
neptune-vm/value.cc:93
↓ 24 callers
Method
write_u8
neptune-vm/function.cc:22
↓ 22 callers
Method
exec
(e)
neptune-book/book/highlight.js:6
↓ 22 callers
Method
expression
(&mut self)
src/parser.rs:593
↓ 22 callers
Method
ignore_newline
(&mut self)
src/parser.rs:398
↓ 22 callers
Function
n
(n,t)
neptune-book/book/highlight.js:6
↓ 21 callers
Method
as_float
neptune-vm/value.cc:62
↓ 21 callers
Method
as_str
(self)
src/vm.rs:15
↓ 19 callers
Method
pop
Pops the top of the stack
src/vm.rs:701
↓ 19 callers
Method
push_register
(&mut self)
src/compiler.rs:213
↓ 18 callers
Method
is_float
neptune-vm/value.cc:58
↓ 17 callers
Method
map
Pushes an empty map to the stack
src/vm.rs:710
↓ 16 callers
Method
error
(&mut self, message: String)
src/scanner.rs:683
↓ 16 callers
Method
error
(&mut self, e: CompileError)
src/compiler.rs:238
↓ 16 callers
Method
patch_jump
neptune-vm/function.cc:105
↓ 16 callers
Method
peek_next
Gives the character after the current character
src/scanner.rs:652
↓ 14 callers
Method
write2
(&mut self, op: Op, u1: u32, u2: u32, line: u32)
src/compiler.rs:277
↓ 13 callers
Method
create_efunc
Creates an synchronous efunc. Returns Err(EFuncAlreadyExists) if an existing efunc is named `name` Example: ``` use neptune_lang::*; let n = VM::new(N
src/lib.rs:389
↓ 13 callers
Method
exec_sync
Executes source with module `module`. It panics if a asynchronous efunc is executed
src/lib.rs:329
↓ 12 callers
Function
a
(e)
neptune-book/book/highlight.js:6
↓ 12 callers
Method
empty
neptune-vm/object.cc:346
↓ 12 callers
Method
reserve_constant
neptune-vm/function.cc:40
↓ 12 callers
Function
t
(e)
neptune-book/book/highlight.js:6
↓ 11 callers
Function
intHash
Thomas Wang's hash function
neptune-vm/value.cc:251
↓ 11 callers
Method
store_in_specific_register
(&mut self, result: ExprResult, reg: u32, line: u32)
src/compiler.rs:554
↓ 11 callers
Method
symbol_constant
neptune-vm/function.cc:54
↓ 10 callers
Function
e
(n)
neptune-book/book/highlight.js:6
↓ 10 callers
Method
from
(s: &'a str)
src/vm.rs:24
↓ 10 callers
Method
store_in_register
(&mut self, result: ExprResult, line: u32)
src/compiler.rs:543
↓ 9 callers
Method
error_at_current
(&self, message: String)
src/parser.rs:368
↓ 9 callers
Method
match_char
(&mut self, expected: u8)
src/scanner.rs:620
↓ 9 callers
Function
read
(file: &str)
src/lib.rs:485
↓ 9 callers
Function
t
(e,t)
neptune-book/book/mark.min.js:7
↓ 8 callers
Method
add_token_if_match
(&mut self, expected: u8, if_match: TokenType, if_not_match: TokenType)
src/scanner.rs:629
↓ 8 callers
Method
begin
neptune-vm/hash_table.h:97
↓ 8 callers
Method
block
(&mut self)
src/parser.rs:1037
↓ 8 callers
Method
intern
neptune-vm/vm.cc:322
↓ 8 callers
Method
new
(module_loader: M)
src/lib.rs:191
↓ 8 callers
Method
new_local
(&mut self, name: String, mutable: bool)
src/compiler.rs:413
↓ 8 callers
Method
set_object_property
Pops a value from the stack and sets the property prop for the object instance at the top of the stack as the popped value
src/vm.rs:593
↓ 7 callers
Method
as_string
Pops a string from the top of the stack
src/vm.rs:646
↓ 7 callers
Method
equal
(&mut self, left: &Expr, right: &Expr, line: u32)
src/compiler.rs:1974
↓ 7 callers
Method
error
Pushes an error with class `error_class` within module `module` and with message `message`
src/vm.rs:726
↓ 7 callers
Method
get_property
Pushes the value of property prop of the object at the top of the stack
src/vm.rs:690
↓ 7 callers
Function
n
()
neptune-book/book/clipboard.min.js:7
↓ 7 callers
Function
o
(t,e)
neptune-book/book/clipboard.min.js:7
↓ 7 callers
Method
run
neptune-vm/vm.cc:86
↓ 7 callers
Method
string
Pushes a string to the stack
src/vm.rs:563
↓ 7 callers
Method
write_u16
neptune-vm/function.cc:23
↓ 7 callers
Method
write_u32
neptune-vm/function.cc:24
↓ 6 callers
Method
addText
(e)
neptune-book/book/highlight.js:6
↓ 6 callers
Function
d
(e)
neptune-book/book/highlight.js:6
↓ 6 callers
Method
erase
neptune-vm/hash_table.h:105
↓ 6 callers
Function
i
(e,n)
neptune-book/book/highlight.js:6
↓ 6 callers
Method
is_empty
neptune-vm/hash_table.h:255
↓ 6 callers
Function
is_valid_num_char
(c: u8, is_hex: bool)
src/scanner.rs:692
↓ 6 callers
Method
literal
(&self)
src/parser.rs:831
↓ 6 callers
Function
m
(e,n,t={})
neptune-book/book/highlight.js:6
↓ 6 callers
Method
pop
neptune-vm/native_function.cc:170
↓ 6 callers
Function
showSearch
(yes)
neptune-book/book/searcher.js:367
↓ 6 callers
Method
write_op_store_register
(&mut self, reg: u32, line: u32)
src/compiler.rs:335
↓ 5 callers
Function
T
(e)
neptune-book/book/highlight.js:6
↓ 5 callers
Function
e
(e,t)
neptune-book/book/mark.min.js:7
↓ 5 callers
Method
get_global
(&self, name: &str)
src/compiler.rs:225
↓ 5 callers
Method
is_null_or_false
neptune-vm/value.cc:70
↓ 5 callers
Function
open
(file: &str)
src/lib.rs:479
↓ 5 callers
Function
string
( index: &mut usize, s: &str, delim: u8, depths: &mut Vec<u32>, delims
neptune-cli/src/main.rs:174
↓ 5 callers
Method
symbol
Pushes a symbol to the stack
src/vm.rs:568
↓ 5 callers
Method
write_op_load_register
(&mut self, reg: u32, line: u32)
src/compiler.rs:369
↓ 4 callers
Function
S
(e,n)
neptune-book/book/highlight.js:6
↓ 4 callers
Function
assert_in_range
neptune-vm/function.cc:100
next →
1–100 of 611, ranked by callers