aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-09-25Attempt at mulJuan J. Martinez
2022-09-25Cases for plus/minusJuan J. Martinez
2022-09-25Some sub casesJuan J. Martinez
2022-09-25Clean upJuan J. Martinez
2022-09-14Playing with some ideasJuan J. Martinez
2022-09-14Use modifyJuan J. Martinez
2022-09-12Track local variables, WIP code genJuan J. Martinez
2022-09-12Some checksJuan J. Martinez
2022-09-12fold constant can return errorsJuan J. Martinez
2022-09-11More foldingJuan J. Martinez
2022-09-11More foldingJuan J. Martinez
2022-09-11Better job splitting constnt foldingJuan J. Martinez
2022-09-11Prevent infinite loopJuan J. Martinez
2022-09-11CommentJuan J. Martinez
2022-09-11Fixed constant folding in function body and returnJuan J. Martinez
2022-09-11Constant folding fixesJuan J. Martinez
2022-09-11Folding constants in additionJuan J. Martinez
2022-09-10Preparing constant foldingJuan J. Martinez
2022-09-10Doesn't belong hereJuan J. Martinez
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