aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-09-10Renamed constructorJuan J. Martinez
2022-09-10Revisited parser interfaceJuan J. Martinez
2022-09-10Better interfaceJuan J. Martinez
2022-09-10Fix: only needs to change the environmentJuan J. Martinez
2022-09-10Not neededJuan J. Martinez
2022-09-10Use a record for stateJuan J. Martinez
2022-09-09Pass the versionJuan J. Martinez
2022-09-09SDCC generation WIPJuan J. Martinez
2022-09-09Refactored the compiler result to plug in the code generatorJuan J. Martinez
Also some tweaks in error reporting.
2022-09-07Better project layout, removed warningsJuan J. Martinez
2022-09-07This is missingJuan J. Martinez
2022-09-06Typecheck binary operatorJuan J. Martinez
2022-09-06AssignationJuan J. Martinez
2022-09-06Split statement parsers to get better error reportingJuan J. Martinez
Also prevents duplicated parsers for var.
2022-09-06Group variable declarationJuan J. Martinez
2022-09-04Typo, formatting of commentJuan J. Martinez
2022-09-04Ccmment clarifying the caseJuan J. Martinez
2022-09-04TypoJuan J. Martinez
2022-09-04Revert "Unneeded (duplicated) case"Juan J. Martinez
It is actually needed because when we resolve the parameters it is possible some of them are wrong and we may end with a number of "right" that is less than the number of parameters we had initially. This reverts commit 72dc8f0490a26c2438b5eff9fe29a3197036d6e5.
2022-09-04Unneeded (duplicated) caseJuan J. Martinez
2022-09-04Use pure for pure valuesJuan J. Martinez
2022-09-04Guards, use themJuan J. Martinez
2022-09-04Resolving the value may add errors to stateJuan J. Martinez
In this way we preserve them (like in "return").
2022-09-04CommentJuan J. Martinez
2022-09-04Parse only flagJuan J. Martinez
2022-09-04Refactored typecheck valueJuan J. Martinez
2022-09-04Type-checking variable declarationJuan J. Martinez
2022-09-02Private only makes sense for global variablesJuan J. Martinez
Also make error reporting slightly better on statements.
2022-09-02Private variablesJuan J. Martinez
2022-09-01Use the position of the identJuan J. Martinez
2022-09-01Fix: if binNum fails, backtrackJuan J. Martinez
2022-09-01Variable declarationJuan J. Martinez
2022-08-31Technically is the function type itself what is testingJuan J. Martinez
2022-08-30Check undefined typesJuan J. Martinez
2022-08-30Boolean type, and true/false symbolsJuan J. Martinez
2022-08-21Use # as line commentJuan J. Martinez
2022-08-21Support for binary numbers witg 0b[0-1] notationJuan J. Martinez
2022-08-21Qualified undefined variable error, added testJuan J. Martinez
2022-08-20Refactor expectErrorJuan J. Martinez
We expect a specific error in a list of errors. Added case for call on non callable symbol.
2022-08-20Qualified as non callable errorJuan J. Martinez
2022-08-18Added CLIJuan J. Martinez
2022-08-18This words make the errors more readableJuan J. Martinez
2022-08-17More sensible error typesJuan J. Martinez
2022-08-16Unexpected return errorJuan J. Martinez
2022-08-16Missing casesJuan J. Martinez
2022-08-16Test labels, test for errors WIPJuan J. Martinez
2022-08-15Try call before lambdaJuan J. Martinez
2022-08-15Unify error reportingJuan J. Martinez
2022-08-15Better error reportingJuan J. Martinez
These don't need backtracking.
2022-08-14Limit lambdas to only use local variablesJuan J. Martinez
Dynamic allocation (and hence closures) is not supported.