Refactored code structure
This commit is contained in:
README.md
examples
src
build
Assignment.goBuild.goExpressionToRegister.goInstruction.goWrite.go
arch/x64
asm
ast
build_test.gocompiler.goconfig
core
Compile.goCompileAllFunctions.goCompileAssign.goCompileCall.goCompileDefinition.goCompileLoop.goCompileReturn.goEvaluate.goExecute.goFunction.goResult.goSaveRegister.goTokenToRegister.goVariable.goopRegister.gostate.go
cpu
errors
Base.goCompileErrors.goError.goInvalidCharacter.goInvalidInstruction.goInvalidOperator.goKeywordNotImplemented.goScanErrors.goStack.goUnknownIdentifier.goUnusedVariable.goVariableAlreadyExists.go
scanner
cli
tests
7
tests/programs/successive-calls.q
Normal file
7
tests/programs/successive-calls.q
Normal file
@ -0,0 +1,7 @@
|
||||
main() {
|
||||
syscall(60, f(1) + f(2) + f(3))
|
||||
}
|
||||
|
||||
f(x) {
|
||||
return x + 1
|
||||
}
|
Reference in New Issue
Block a user