q/src/core
2025-02-21 13:47:56 +01:00
..
AddBytes.go Simplified file structure 2024-08-07 19:39:10 +02:00
ArrayElementToRegister.go Improved code quality 2025-02-20 16:55:17 +01:00
CallExtern.go Improved Windows ABI support 2025-02-15 18:23:33 +01:00
CallSafe.go Fixed register allocation on function calls 2025-02-05 22:49:39 +01:00
CallToRegister.go Implemented loads with register offsets 2025-02-19 15:36:42 +01:00
Compare.go Simplified file structure 2024-08-07 19:39:10 +02:00
Compile.go Simplified file structure 2024-08-07 19:39:10 +02:00
CompileAssert.go Simplified file structure 2024-08-07 19:39:10 +02:00
CompileAssign.go Implemented structs 2025-02-04 18:16:31 +01:00
CompileAssignArray.go Implemented loads with register offsets 2025-02-19 15:36:42 +01:00
CompileAssignDivision.go Renamed x64 to x86 2025-02-05 23:16:18 +01:00
CompileAssignField.go Implemented length storage of allocated memory 2025-02-09 14:14:41 +01:00
CompileAST.go Simplified file structure 2024-08-07 19:39:10 +02:00
CompileASTNode.go Implemented for loops 2025-02-19 23:46:17 +01:00
CompileCall.go Added a program init function 2025-02-16 15:46:54 +01:00
CompileCondition.go Simplified file structure 2024-08-07 19:39:10 +02:00
CompileDefinition.go Added more tests 2025-02-14 00:26:48 +01:00
CompileDelete.go Improved code quality 2025-02-20 16:55:17 +01:00
CompileFor.go Implemented for loops 2025-02-19 23:46:17 +01:00
CompileIf.go Fixed missing register move in if statements 2025-02-03 13:17:48 +01:00
CompileLen.go Improved type system checks 2025-02-10 14:09:27 +01:00
CompileLoop.go Implemented for loops 2025-02-19 23:46:17 +01:00
CompileMemoryStore.go Improved Windows ABI support 2025-02-15 18:23:33 +01:00
CompileNew.go Implemented package specific structs 2025-02-08 16:06:39 +01:00
CompileReturn.go Simplified return code 2025-02-12 17:34:48 +01:00
CompileSwitch.go Simplified file structure 2024-08-07 19:39:10 +02:00
CompileSyscall.go Simplified return code 2025-02-12 17:34:48 +01:00
CompileTokens.go Simplified ast package 2025-02-20 14:12:25 +01:00
Constant.go Fixed incorrect const values 2025-02-21 13:47:56 +01:00
Defer.go Simplified file structure 2024-08-07 19:39:10 +02:00
Define.go Implemented loop iterators 2025-02-19 17:52:15 +01:00
Evaluate.go Implemented loop iterators 2025-02-19 17:52:15 +01:00
Execute.go Simplified file structure 2024-08-07 19:39:10 +02:00
ExecuteLeaf.go Improved Windows ABI support 2025-02-15 18:23:33 +01:00
ExecuteRegister.go Simplified file structure 2024-08-07 19:39:10 +02:00
ExecuteRegisterNumber.go Renamed x64 to x86 2025-02-05 23:16:18 +01:00
ExecuteRegisterRegister.go Renamed x64 to x86 2025-02-05 23:16:18 +01:00
ExpressionsToRegisters.go Simplified return code 2025-02-12 17:34:48 +01:00
ExpressionToMemory.go Improved thread creation on Linux 2025-02-16 11:31:31 +01:00
ExpressionToRegister.go Fixed incorrect const values 2025-02-21 13:47:56 +01:00
Fold.go Fixed incorrect const values 2025-02-21 13:47:56 +01:00
Function.go Implemented const keyword 2025-02-15 14:38:01 +01:00
Identifier.go Simplified identifier lookup 2025-02-03 15:22:57 +01:00
IsExtern.go Implemented extern functions 2025-02-12 00:04:30 +01:00
JumpIfFalse.go Simplified file structure 2024-08-07 19:39:10 +02:00
JumpIfTrue.go Simplified file structure 2024-08-07 19:39:10 +02:00
NewFunction.go Removed unnecessary parameter 2025-02-13 16:58:59 +01:00
Parameter.go Simplified return code 2025-02-12 17:34:48 +01:00
PeriodToRegister.go Fixed incorrect const values 2025-02-21 13:47:56 +01:00
PrintInstructions.go Simplified return code 2025-02-12 17:34:48 +01:00
readme.md Improved documentation 2025-01-28 14:04:30 +01:00
ResolveTypes.go Simplified return code 2025-02-12 17:34:48 +01:00
String.go Simplified file structure 2024-08-07 19:39:10 +02:00
TokenToRegister.go Improved Windows ABI support 2025-02-15 18:23:33 +01:00
ToNumber.go Fixed incorrect const values 2025-02-21 13:47:56 +01:00
TypeByName.go Implemented package specific structs 2025-02-08 16:06:39 +01:00
UsesRegister.go Reduced number of register moves 2025-02-12 17:02:51 +01:00

Function.go

This is the "heart" of the compiler. Each function runs Compile which organizes the source code into an abstract syntax tree that is then compiled via CompileAST. You can think of AST nodes as the individual statements in your source code.