Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jamesbarford/holyc-lang
/ functions
Functions
2,620 in github.com/Jamesbarford/holyc-lang
⨍
Functions
2,620
◇
Types & classes
147
↓ 1 callers
Function
parseForLoopInitialiser
Either parse the initialiser or a range loop. Range loop is experimental */
src/parser.c:1077
↓ 1 callers
Function
parseFunctionDef
src/parser.c:1908
↓ 1 callers
Function
parseGetPriority
src/prslib.c:1112
↓ 1 callers
Function
parseGetType
src/prsutil.c:170
↓ 1 callers
Function
parseIdentifierOrFunction
parse either a function call or a variable being used */
src/prslib.c:969
↓ 1 callers
Function
parseIfClause
Parse one clause inside an `if (...)` header - either a declaration * (`Type name [= expr]`, including pointers) or a plain expression - and * repor
src/parser.c:791
↓ 1 callers
Function
parseIsFloatOrInt
src/prsutil.c:17
↓ 1 callers
Function
parseOptExpr
src/parser.c:905
↓ 1 callers
Function
parsePeekArgAt
Walk the lookahead buffer past the leading args up to position * `fmt_arg_idx`, returning that arg's first token. Used pre-parse to * snapshot the f
src/prslib.c:799
↓ 1 callers
Function
parsePrimary
src/prslib.c:1042
↓ 1 callers
Function
parsePrintfFormatCheck
Raise an error when a printf-style call's format-string literal disagrees * with the supplied argument count. Very easy footgun. `"%d\n";` * Only fi
src/prslib.c:833
↓ 1 callers
Function
parseRaiseCaseException
src/parser.c:1335
↓ 1 callers
Function
parseRangeLoop
src/parser.c:1013
↓ 1 callers
Function
parseReturnAuto
src/prslib.c:38
↓ 1 callers
Function
parseReturnStatement
src/parser.c:1269
↓ 1 callers
Function
parseSwitchStatement
src/parser.c:1454
↓ 1 callers
Function
parseThrowStatement
`throw(expr);` - the expression yields a u64 (commonly a multi- * char constant like `'BlkDev'` which the lexer packs into 8 bytes * via TK_CHAR_CON
src/parser.c:1327
↓ 1 callers
Function
parseToplevelDef
src/parser.c:2282
↓ 1 callers
Function
parseTryStatement
TempleOS-strict `try { ... } catch <stmt>`. The catch handler is a * single statement (often `{...}` so braces still work via the * normal block-sta
src/parser.c:1305
↓ 1 callers
Function
parseTypeCheckClassFieldInitaliser
src/parser.c:99
↓ 1 callers
Function
parseUnionOffsets
src/parser.c:518
↓ 1 callers
Function
parseVariableAssignment
src/parser.c:651
↓ 1 callers
Function
prsAsmTokIsWord
Word-like tokens need a separating space when adjacent; punctuation * binds tight on both sides, which keeps `-8[RBP]` and `@@1:` intact. */
src/prsasm.c:92
↓ 1 callers
Function
put_u64
src/asm/asm_enc.c:67
↓ 1 callers
Function
put_zero_n
src/asm/asm_enc.c:74
↓ 1 callers
Function
rt_line
src/asm/test_dis_x86_64.c:540
↓ 1 callers
Function
setEntriesToString
src/containers.c:585
↓ 1 callers
Function
setGetCStringIdx
src/containers.c:367
↓ 1 callers
Function
setGetCStringNextIdx
We need this function as often we are storing a key which may be a pointer * to a larger string and we want to be able to use the length of the part
src/containers.c:328
↓ 1 callers
Function
setResize
src/containers.c:384
↓ 1 callers
Function
setStats
src/containers.c:271
↓ 1 callers
Function
setToString
src/containers.c:608
↓ 1 callers
Function
setUnion
Add all of `s2` to `s1` */
src/containers.c:641
↓ 1 callers
Function
take_u64
src/asm/dis_x86_64.c:83
↓ 1 callers
Function
tasm_mnemonic_table_for
src/asm/target.c:59
↓ 1 callers
Function
test_aarch64_dump_failure
src/asm/test_aarch64.c:10
↓ 1 callers
Function
test_x86_64_dump_failure
src/asm/test_x86_64.c:10
↓ 1 callers
Function
tokenRingBufferPop
Take one token from the ring buffer */
src/cctrl.c:374
↓ 1 callers
Function
tokenRingBufferPush
Add a token to the ring buffer and remove the oldest element */
src/cctrl.c:361
↓ 1 callers
Function
tokenRingBufferRewind
src/cctrl.c:403
↓ 1 callers
Function
tokenRingBufferStaticNew
src/cctrl.c:322
↓ 1 callers
Function
tprintf
src/aostr.c:538
↓ 1 callers
Function
transpileAsmFunction
This is a best effort! */
src/transpiler.c:1537
↓ 1 callers
Function
transpileAst
src/transpiler.c:1074
↓ 1 callers
Function
transpileAstList
src/transpiler.c:1632
↓ 1 callers
Function
transpileBinaryOp
src/transpiler.c:434
↓ 1 callers
Function
transpileClassDefinitions
src/transpiler.c:1364
↓ 1 callers
Function
transpileCtxNew
src/transpiler.c:271
↓ 1 callers
Function
transpileCtxShouldEmitDefine
src/transpiler.c:308
↓ 1 callers
Function
transpileDefines
src/transpiler.c:1423
↓ 1 callers
Function
transpileFormatAsmLine
Format the assembly to remove the tabs, leading whitespace and make calls * to the c function wrappers rather than the original assmebly */
src/transpiler.c:1483
↓ 1 callers
Function
transpileFunction
src/transpiler.c:1456
↓ 1 callers
Function
transpileGetFunctionSub
src/transpiler.c:423
↓ 1 callers
Function
transpileHighlightFloat
src/transpiler.c:413
↓ 1 callers
Function
transpileHighlightString
src/transpiler.c:405
↓ 1 callers
Function
transpileHighlightStringAsCharacter
src/transpiler.c:389
↓ 1 callers
Function
transpileHighlightStringAsInt
src/transpiler.c:397
↓ 1 callers
Function
transpileIncludes
src/transpiler.c:1658
↓ 1 callers
Function
transpileParamsList
src/transpiler.c:1084
↓ 1 callers
Function
transpileToC
src/transpiler.c:1672
↓ 1 callers
Function
transpileUnary
src/transpiler.c:510
↓ 1 callers
Function
transpileUnionDefinitions
src/transpiler.c:1396
↓ 1 callers
Function
typeCheckReturnTypeWarn
src/prsutil.c:519
↓ 1 callers
Function
vecEntriesToString
Simply get the contents of the array without the type information */
src/containers.c:237
↓ 1 callers
Function
vecToString
src/containers.c:254
↓ 1 callers
Function
vecTypeToString
src/containers.c:228
↓ 1 callers
Function
w_init
src/asm/asm.c:1475
↓ 1 callers
Function
x86AsmGenerate
Create assembly */
src/x86.c:2544
↓ 1 callers
Function
x86_64AsmGenerate
src/x86_64.c:2491
↓ 1 callers
Function
x86_64CcInvFor
Inverted condition for jumping when the cmp is FALSE. */
src/x86_64.c:653
↓ 1 callers
Function
x86_64DerefStoreGlobal
src/x86_64.c:255
↓ 1 callers
Function
x86_64DerefStoreImm
Lay an immediate down through a register-held address (optionally * displaced and SIB-scaled). Used by the DST_IN_REG path so we * don't bounce thro
src/x86_64.c:286
↓ 1 callers
Function
x86_64EmitFloatLiteralData
Materialise a float constant in .data and load it via PC-relative * addressing. `size` selects single (.long / movss) vs double * (.quad / movsd). B
src/x86_64.c:407
↓ 1 callers
Function
x86_64EmitFunctionPrologue
src/x86_64.c:2206
↓ 1 callers
Function
x86_64EmitInstr
src/x86_64.c:1200
↓ 1 callers
Function
x86_64EmitOnePhi
Move a single phi's incoming value into the phi's destination. * Dangling values (tmp with no slot) only arise from unreachable * incoming edges, ze
src/x86_64.c:766
↓ 1 callers
Function
x86_64EmitSysvCall
src/x86_64.c:954
↓ 1 callers
Function
x86_64EmitSysvParamPrologue
Callee entry: unpack by-value struct params (arrived in GP/XMM regs, or * on the stack for MEMORY class) into their frame slots. */
src/x86_64.c:1121
↓ 1 callers
Function
x86_64FrameAddr
leaq <loff>(%rbp), %<reg64>. AT&T allows signed displacements * natively. */
src/x86_64.c:122
↓ 1 callers
Function
x86_64GlobalVar
src/x86_64.c:2391
↓ 1 callers
Function
x86_64HasRet
Did the last emit already place an epilogue at the tail of buf? * Used so we don't double-emit when the function ends with an * explicit return. */
src/x86_64.c:747
↓ 1 callers
Function
x86_64InitRegPool
src/x86_64.c:55
↓ 1 callers
Function
x86_64JitCompile
src/x86_64-jit.c:26
↓ 1 callers
Function
x86_64Lea
src/x86_64.c:126
↓ 1 callers
Function
x86_64PartitionCallArgs
SysV AMD64 has 6 int arg regs (rdi/rsi/rdx/rcx/r8/r9) and 8 FP * (xmm0-7); anything past that goes on the stack right-to-left * (we lay them out lef
src/x86_64.c:873
↓ 1 callers
Function
x86_64PasteAsmBlocks
`asm {}` function blocks: assemble each function chunk with libtasm * and emit the encoded bytes under the function's label. Per-function * encoding
src/x86_64.c:2471
↓ 1 callers
Function
x86_64PasteDataSection
src/x86_64.c:2186
↓ 1 callers
Function
x86_64SavePinnedRegs
Preserve every register a local/param is pinned to. XMM regs can't be * pushed, so instead of push/pop we reserve one 8-byte slot per pinned * reg (
src/x86_64.c:709
↓ 1 callers
Function
x86_64SizedSuffix
x86 mnemonic suffix for an N-byte operation. */
src/x86_64.c:262
↓ 1 callers
Function
x86_64StoreFprSized
`val_size` (0 = derive from dst) is the width of the value stored. When * dst is a gep/pointer tmp aliasing a narrow field, sizing the store from *
src/x86_64.c:530
↓ 1 callers
Function
x86_64_cc_for_mn
Map a canonical jcc mnemonic id to its 4-bit condition code. Returns -1 * if the id isn't a jcc. Alias mnemonics (jz/je, jc/jb/jnae, ...) are * coll
src/asm/enc_x86_64.c:1551
↓ 1 callers
Function
x86_64_disasm_buf
src/asm/dis_x86_64.c:844
↓ 1 callers
Function
x86_64_emit_modrm_mem
Emit a ModR/M and SIB byte (+ optional disp) for a memory operand. The * reg field is the OTHER operand's encoding (the register being moved). */
src/asm/enc_x86_64.c:1026
↓ 1 callers
Function
x86_64_emit_veneer
src/asm/asm_jit.c:232
↓ 1 callers
Function
x86_64_enc_alu_imm_reg
op $imm32, %reg for the five ALU ops; /digit per the 81 group. */
src/asm/enc_x86_64.c:636
↓ 1 callers
Function
x86_64_enc_call
call reg, call imm32-or-label */
src/asm/enc_x86_64.c:1576
↓ 1 callers
Function
x86_64_enc_cmov
CMOVcc r, r/m: 0F 4x /r. Byte-width destinations don't exist. */
src/asm/enc_x86_64.c:2298
↓ 1 callers
Function
x86_64_enc_cqto
src/asm/enc_x86_64.c:343
↓ 1 callers
Function
x86_64_enc_cvtsd2ss
src/asm/enc_x86_64.c:829
↓ 1 callers
Function
x86_64_enc_cvtsi2sd
cvtsi2sdq %r64, %xmm : F2 REX.W 0F 2A /r. */
src/asm/enc_x86_64.c:819
← previous
next →
1,401–1,500 of 2,620, ranked by callers