Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThakeeNathees/pocketlang
/ functions
Functions
635 in github.com/ThakeeNathees/pocketlang
⨍
Functions
635
◇
Types & classes
57
↓ 1 callers
Method
addSublanguage
(e,n)
docs/static/highlight.js/highlight.min.js:39
↓ 1 callers
Method
addText
(e)
docs/static/highlight.js/highlight.min.js:39
↓ 1 callers
Function
argparse_init
cli/argparse.h:367
↓ 1 callers
Function
argparse_long_opt
cli/argparse.h:328
↓ 1 callers
Function
argparse_options_check
cli/argparse.h:296
↓ 1 callers
Function
argparse_parse
cli/argparse.h:388
↓ 1 callers
Function
captureUpvalue
Capture the [local] into an upvalue and return it. If the upvalue already exists on the fiber, it'll return it.
src/core/vm.c:673
↓ 1 callers
Function
checkImportExists
check if path + ext exists. If not return 0, otherwise path + ext will written to the buffer and return the total length. [path] and [buff] should be
src/libs/std_path.c:70
↓ 1 callers
Function
check_fnv1_hash
(sources)
scripts/static_check.py:75
↓ 1 callers
Function
check_static
(dirs)
scripts/static_check.py:99
↓ 1 callers
Function
cleanupLibs
Cleanup the modules.
src/libs/libs.c:40
↓ 1 callers
Function
cleanupModuleTerm
src/libs/std_term.c:304
↓ 1 callers
Method
closeAllNodes
()
docs/static/highlight.js/highlight.min.js:31
↓ 1 callers
Method
closeNode
()
docs/static/highlight.js/highlight.min.js:30
↓ 1 callers
Function
collect_source_files
()
docs/wasm/compile.py:40
↓ 1 callers
Function
compileClass
Compile a class and return it's index in the module's types buffer.
src/core/compiler.c:2598
↓ 1 callers
Function
compileForStatement
src/core/compiler.c:3172
↓ 1 callers
Function
compileFromImport
from module import sym1 [as alias1 [, sym2 [as alias2 ...]]]
src/core/compiler.c:3036
↓ 1 callers
Function
compileIfStatement
src/core/compiler.c:3092
↓ 1 callers
Function
compileRegularImport
import module1 [as alias1 [, module2 [as alias2 ...]]
src/core/compiler.c:3003
↓ 1 callers
Function
compileTopLevelStatement
Compile statements that are only valid at the top level of the module. Such as import statement, function define, and if we're running REPL mode top l
src/core/compiler.c:3351
↓ 1 callers
Function
compileWhileStatement
src/core/compiler.c:3141
↓ 1 callers
Function
compilerAddForward
src/core/compiler.c:2394
↓ 1 callers
Function
compilerInit
src/core/compiler.c:557
↓ 1 callers
Function
compilerMarkObjects
src/core/compiler.c:3482
↓ 1 callers
Function
compilerPopFunc
src/core/compiler.c:2487
↓ 1 callers
Function
compilerSearchName
Will check if the name already defined.
src/core/compiler.c:1484
↓ 1 callers
Function
createThemeButton
()
docs/static/main.js:8
↓ 1 callers
Function
define_functions
(api_functions)
scripts/generate_native.py:102
↓ 1 callers
Function
display_results
(results)
scripts/run_benchmarks.py:119
↓ 1 callers
Function
dumpGlobalValues
src/core/debug.c:703
↓ 1 callers
Function
dumpStackFrame
src/core/debug.c:720
↓ 1 callers
Function
eatName
Complete lexing an identifier name.
src/core/compiler.c:826
↓ 1 callers
Function
exprName
src/core/compiler.c:1900
↓ 1 callers
Function
fib
(n)
tests/benchmarks/fib/fib.js:1
↓ 1 callers
Function
fib
(n)
tests/benchmarks/fib/fib.rb:2
↓ 1 callers
Function
fib
(n)
tests/benchmarks/fib/fib.py:3
↓ 1 callers
Method
finalize
()
docs/static/highlight.js/highlight.min.js:41
↓ 1 callers
Function
findBuiltinClass
Find the builtin classes name and returns it's index in the VM's builtin classes array, if not found returns -1.
src/core/compiler.c:1376
↓ 1 callers
Function
findUpvalue
Search for an upvalue with the given [name] for the current function [func]. If an upvalue found, it'll add the upvalue info to the upvalue infor arra
src/core/compiler.c:1427
↓ 1 callers
Function
flaten
(s)
scripts/generate_native.py:56
↓ 1 callers
Function
fnv1a_hash
(string)
scripts/static_check.py:163
↓ 1 callers
Function
generate
()
scripts/amalgamate.py:96
↓ 1 callers
Function
generate
()
scripts/generate_native.py:131
↓ 1 callers
Function
getObjPkVarType
src/core/value.c:1333
↓ 1 callers
Function
getPkVarObjType
src/core/value.c:1353
↓ 1 callers
Function
getSuperMethod
src/core/core.c:1593
↓ 1 callers
Function
get_api_functions
()
scripts/generate_native.py:78
↓ 1 callers
Function
get_pocket_binary
()
scripts/run_tests.py:93
↓ 1 callers
Function
get_source
()
scripts/generate_native.py:47
↓ 1 callers
Function
get_time
(result_string)
scripts/run_benchmarks.py:111
↓ 1 callers
Function
h
(e,n,t)
docs/static/highlight.js/highlight.min.js:179
↓ 1 callers
Function
handleNewLine
(event)
docs/static/codejar/codejar.js:186
↓ 1 callers
Function
handlePaste
(event)
docs/static/codejar/codejar.js:326
↓ 1 callers
Function
handleSelfClosingCharacters
(event)
docs/static/codejar/codejar.js:231
↓ 1 callers
Function
handleTabCharacters
(event)
docs/static/codejar/codejar.js:259
↓ 1 callers
Function
handleUndoRedo
(event)
docs/static/codejar/codejar.js:281
↓ 1 callers
Function
init
(editor, opts)
docs/static/codejar/linenumbers.js:22
↓ 1 callers
Function
init_api
(api_functions)
scripts/generate_native.py:115
↓ 1 callers
Function
initializeBuiltinFunctions
src/core/core.c:693
↓ 1 callers
Function
initializeCore
src/core/core.c:138
↓ 1 callers
Function
initializeCoreModules
src/core/core.c:869
↓ 1 callers
Function
initializePrimitiveClasses
src/core/core.c:1407
↓ 1 callers
Function
intializePocketVM
Create new pocket VM and set it's configuration.
cli/main.c:45
↓ 1 callers
Function
isPrime
(n)
tests/benchmarks/primes/primes.js:1
↓ 1 callers
Function
isStringEmpty
FIXME: this should be moved to somewhere general. Returns true if the string is empty, used to check if the input line is empty to skip compilation o
src/core/public.c:445
↓ 1 callers
Function
is_prime
(n)
tests/benchmarks/primes/primes.py:3
↓ 1 callers
Function
is_prime
(n)
tests/benchmarks/primes/primes.rb:2
↓ 1 callers
Function
j
(e,n)
docs/static/highlight.js/highlight.min.js:103
↓ 1 callers
Function
listAdd
src/core/value.c:910
↓ 1 callers
Function
listClear
src/core/value.c:906
↓ 1 callers
Function
main
()
scripts/run_tests.py:60
↓ 1 callers
Function
main
()
scripts/static_check.py:68
↓ 1 callers
Function
main
()
scripts/run_benchmarks.py:46
↓ 1 callers
Function
main
()
docs/wasm/compile.py:15
↓ 1 callers
Function
make_api
(api_functions)
scripts/generate_native.py:121
↓ 1 callers
Function
mapRemoveKey
src/core/value.c:1090
↓ 1 callers
Function
markClosureBuffer
src/core/value.c:103
↓ 1 callers
Function
matchOperatorMethod
Match operator mathod definition. This will match the operator overloading method syntax of ruby.
src/core/compiler.c:2680
↓ 1 callers
Function
moduleAddFunctionInternal
An internal function to add a function to the given [module].
src/core/core.c:747
↓ 1 callers
Function
moduleAddMain
src/core/value.c:1310
↓ 1 callers
Function
moduleGetMainFunction
FIXME: this should be moved to somewhere general along with isStringEmpty(). This function will get the main function from the module to run it in th
src/core/public.c:459
↓ 1 callers
Function
newCompilerOptions
src/core/compiler.c:3379
↓ 1 callers
Function
newInstance
src/core/value.c:544
↓ 1 callers
Function
newModuleInternal
Create a module and add it to the vm's core modules, returns the module.
src/core/core.c:725
↓ 1 callers
Function
parse_definition
(_def)
scripts/generate_native.py:59
↓ 1 callers
Function
parserInit
This should be called once the compiler initialized (to access it's fields).
src/core/compiler.c:523
↓ 1 callers
Function
patchForward
src/core/compiler.c:2579
↓ 1 callers
Function
pathIsDir
src/libs/std_path.c:202
↓ 1 callers
Function
peekNextChar
Returns the next char of the compiler on.
src/core/compiler.c:812
↓ 1 callers
Function
pkCallFunction
src/core/public.c:970
↓ 1 callers
Function
pkGetClass
src/core/public.c:1067
↓ 1 callers
Function
pkGetClass
tests/native/dl/pknative.c:374
↓ 1 callers
Function
pkGetSlotBool
src/core/public.c:738
↓ 1 callers
Function
pkGetSlotNativeInstance
tests/native/dl/pknative.c:338
↓ 1 callers
Function
pkGetSlotType
src/core/public.c:732
↓ 1 callers
Function
pkListInsert
src/core/public.c:923
↓ 1 callers
Function
pkNewClass
tests/native/dl/pknative.c:242
↓ 1 callers
Function
pkNewInstance
tests/native/dl/pknative.c:378
↓ 1 callers
Function
pkNewList
src/core/public.c:909
← previous
next →
301–400 of 635, ranked by callers