Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArhanChaudhary/NAND
/ functions
Functions
253 in github.com/ArhanChaudhary/NAND
⨍
Functions
253
◇
Types & classes
66
↓ 2 callers
Method
setObstacles
()
src/example-programs/GeneticAlgorithm/main.js:335
↓ 2 callers
Function
slice16_0to14
(n: u16)
src/core/builtins/utils/bit_manipulation.rs:54
↓ 2 callers
Method
symbol
()
src/assembler/parser.ts:30
↓ 2 callers
Function
tick
()
src/core/builtins/hardware.rs:39
↓ 2 callers
Function
tock
()
src/core/builtins/hardware.rs:45
↓ 2 callers
Function
tokenStringToTypeString
(tokenString: string)
src/compiler/exceptions.ts:3
↓ 2 callers
Function
update_clock_speed_and_emit
()
src/core/builtins/kernel_worker/hardware_info.rs:116
↓ 2 callers
Method
writeCall
( functionName: string, numArgs: number, debugInfo: boolean )
src/vm/codewriter.ts:248
↓ 2 callers
Method
writeIf
(label: string)
src/compiler/vmwriter.ts:166
↓ 2 callers
Method
writePush
(segment: string, index: number, debugInfo: boolean)
src/vm/codewriter.ts:373
↓ 2 callers
Method
writeReturn
()
src/compiler/vmwriter.ts:178
↓ 1 callers
Method
AIsNumber
()
src/assembler/parser.ts:36
↓ 1 callers
Function
VMTranslator
( VMCodes: Array<{ fileName: string; VMCode: string[] }> )
src/vm/main.ts:11
↓ 1 callers
Method
advance
()
src/vm/parser.ts:18
↓ 1 callers
Method
allDotsDead
()
src/example-programs/GeneticAlgorithm/population.js:154
↓ 1 callers
Function
alu
(x: u16, y: u16, zx: bool, nx: bool, zy: bool, ny: bool, f: bool, no: bool)
src/core/arithmetic.rs:58
↓ 1 callers
Function
and16
(a: u16, b: u16)
src/core/gates.rs:41
↓ 1 callers
Function
assembler
( inputStream: string[] )
src/assembler/main.ts:23
↓ 1 callers
Method
calculateFitness
()
src/example-programs/GeneticAlgorithm/dot.js:205
↓ 1 callers
Function
clear_interval_with_handle
(handle: i32)
src/core/builtins/utils/js_api.rs:27
↓ 1 callers
Function
clear_ram
()
src/core/builtins/memory.rs:68
↓ 1 callers
Method
commandType
()
src/vm/parser.ts:31
↓ 1 callers
Method
comp
()
src/assembler/parser.ts:44
↓ 1 callers
Method
comp
(mnemonic: string)
src/assembler/code.ts:10
↓ 1 callers
Method
compileClass
()
src/compiler/engine.ts:198
↓ 1 callers
Method
compileClassVarDec
()
src/compiler/engine.ts:246
↓ 1 callers
Method
compileDo
()
src/compiler/engine.ts:572
↓ 1 callers
Method
compileIf
()
src/compiler/engine.ts:694
↓ 1 callers
Method
compileLet
()
src/compiler/engine.ts:589
↓ 1 callers
Method
compileParameterList
()
src/compiler/engine.ts:352
↓ 1 callers
Method
compileReturn
()
src/compiler/engine.ts:663
↓ 1 callers
Method
compileSubroutine
()
src/compiler/engine.ts:277
↓ 1 callers
Method
compileSubroutineBody
()
src/compiler/engine.ts:392
↓ 1 callers
Method
compileVarDec
()
src/compiler/engine.ts:417
↓ 1 callers
Method
compileWhile
()
src/compiler/engine.ts:640
↓ 1 callers
Function
compiler
( inputFiles: Array<{ fileName: string; file: string[] }>, postValidation: boolean )
src/compiler/main.ts:14
↓ 1 callers
Method
contains
(symbol: string)
src/assembler/symboltable.ts:8
↓ 1 callers
Function
cpu
(in_m: u16, instruction: u16, reset: bool)
src/core/architecture.rs:10
↓ 1 callers
Method
dest
()
src/assembler/parser.ts:40
↓ 1 callers
Method
dest
(mnemonic: string)
src/assembler/code.ts:4
↓ 1 callers
Method
drawText
(text, posX, posY)
src/example-programs/GeneticAlgorithm/util.js:148
↓ 1 callers
Method
expectedTokenToEnglish
( expectedToken: string | TokenType | (string | TokenType)[] )
src/compiler/exceptions.ts:119
↓ 1 callers
Method
getAddress
(symbol: string)
src/assembler/symboltable.ts:12
↓ 1 callers
Method
getBestDotFitness
()
src/example-programs/GeneticAlgorithm/population.js:140
↓ 1 callers
Method
getBrainSize
()
src/example-programs/GeneticAlgorithm/brain.js:26
↓ 1 callers
Method
getDead
()
src/example-programs/GeneticAlgorithm/dot.js:77
↓ 1 callers
Method
getGen
()
src/example-programs/GeneticAlgorithm/population.js:136
↓ 1 callers
Method
getMinStep
()
src/example-programs/GeneticAlgorithm/dot.js:81
↓ 1 callers
Method
getNextDirection
()
src/example-programs/GeneticAlgorithm/brain.js:61
↓ 1 callers
Method
getOut
()
src/compiler/engine.ts:142
↓ 1 callers
Method
getOut
()
src/vm/codewriter.ts:484
↓ 1 callers
Method
getReachedGoal
()
src/example-programs/GeneticAlgorithm/dot.js:97
↓ 1 callers
Method
getX
()
src/example-programs/GeneticAlgorithm/accelerationvectorpair.js:74
↓ 1 callers
Method
getX2
()
src/example-programs/GeneticAlgorithm/accelerationvectorpair.js:82
↓ 1 callers
Method
getY
()
src/example-programs/GeneticAlgorithm/accelerationvectorpair.js:78
↓ 1 callers
Method
getY2
()
src/example-programs/GeneticAlgorithm/accelerationvectorpair.js:86
↓ 1 callers
Method
get_context_with_context_options
( self, context_type: &str, context_options: CanvasContextOptions, )
src/core/builtins/utils/js_api.rs:45
↓ 1 callers
Function
half_adder
(a: bool, b: bool)
src/core/arithmetic.rs:5
↓ 1 callers
Function
inc16
(a: u16)
src/core/arithmetic.rs:52
↓ 1 callers
Method
incStep
()
src/example-programs/GeneticAlgorithm/brain.js:53
↓ 1 callers
Function
init
(screen_init_message: ScreenInitMessage)
src/core/builtins/kernel_worker/screen.rs:11
↓ 1 callers
Method
instantiateDots
()
src/example-programs/GeneticAlgorithm/population.js:328
↓ 1 callers
Function
is_zero
(a: u16)
src/core/gates.rs:83
↓ 1 callers
Function
joinExpectedTokensWithOr
(arr: (string | TokenType)[])
src/compiler/exceptions.ts:37
↓ 1 callers
Method
jump
()
src/assembler/parser.ts:57
↓ 1 callers
Method
jump
(mnemonic: string)
src/assembler/code.ts:67
↓ 1 callers
Method
lt
(a, b)
src/example-programs/GeneticAlgorithm/util.js:105
↓ 1 callers
Method
main
()
src/example-programs/GeneticAlgorithm/main.js:84
↓ 1 callers
Method
max
(a, b)
src/example-programs/GeneticAlgorithm/util.js:124
↓ 1 callers
Function
nand_calls
()
src/core/builtins/hardware.rs:29
↓ 1 callers
Method
naturalSelection
()
src/example-programs/GeneticAlgorithm/population.js:165
↓ 1 callers
Function
pack_output_raster
(file_contents)
src/os/helpers/pack_output_raster.py:27
↓ 1 callers
Function
partial_full_adder
(a: bool, b: bool, c: bool)
src/core/arithmetic.rs:12
↓ 1 callers
Function
pc_register
(in_: u16)
src/core/builtins/memory.rs:6
↓ 1 callers
Method
postValidation
()
src/compiler/engine.ts:959
↓ 1 callers
Function
ram16k
(in_: u16, load: bool, address: u16)
src/core/builtins/memory.rs:42
↓ 1 callers
Method
removeComments
()
src/compiler/tokenizer.ts:124
↓ 1 callers
Function
reset_nand_calls
()
src/core/builtins/hardware.rs:33
↓ 1 callers
Function
rom32k
(pc: u16)
src/core/builtins/memory.rs:53
↓ 1 callers
Function
screen
(in_: u16, load: bool, address: u16)
src/core/builtins/memory.rs:58
↓ 1 callers
Method
setFileName
(file: string)
src/vm/codewriter.ts:10
↓ 1 callers
Method
setMinStep
(minStep)
src/example-programs/GeneticAlgorithm/dot.js:85
↓ 1 callers
Function
set_interval_with_callback_and_timeout
(callback: &Function, timeout: i32)
src/core/builtins/utils/js_api.rs:13
↓ 1 callers
Function
set_timeout_with_callback_and_timeout
(callback: &Function, timeout: i32)
src/core/builtins/utils/js_api.rs:20
↓ 1 callers
Method
showMenu
()
src/example-programs/GeneticAlgorithm/main.js:726
↓ 1 callers
Function
slice16_0to12
(n: u16)
src/core/builtins/utils/bit_manipulation.rs:46
↓ 1 callers
Function
slice16_0to13
(n: u16)
src/core/builtins/utils/bit_manipulation.rs:50
↓ 1 callers
Method
startSubroutine
(subroutineType: string)
src/compiler/symboltable.ts:14
↓ 1 callers
Method
sub
(a, b)
src/example-programs/GeneticAlgorithm/util.js:86
↓ 1 callers
Method
toggleOnlyBest
()
src/example-programs/GeneticAlgorithm/population.js:132
↓ 1 callers
Function
try_start_emitting
()
src/core/builtins/kernel_worker/hardware_info.rs:75
↓ 1 callers
Function
try_start_rendering
()
src/core/builtins/kernel_worker/screen.rs:36
↓ 1 callers
Method
typeOf
(name: string)
src/compiler/symboltable.ts:69
↓ 1 callers
Method
update
(andShow, firstPairComponent)
src/example-programs/GeneticAlgorithm/dot.js:101
↓ 1 callers
Method
writeArithmetic
(command: string)
src/vm/codewriter.ts:325
↓ 1 callers
Method
writeFunction
(name: string, nLocals: number)
src/compiler/vmwriter.ts:174
↓ 1 callers
Method
writeFunction
(functionName: string, numLocals: number)
src/vm/codewriter.ts:285
↓ 1 callers
Method
writeGoto
(label: string)
src/vm/codewriter.ts:234
↓ 1 callers
Method
writeIf
(label: string)
src/vm/codewriter.ts:238
↓ 1 callers
Method
writeInit
()
src/vm/codewriter.ts:26
← previous
next →
101–200 of 253, ranked by callers