aboutsummaryrefslogtreecommitdiff
path: root/src/Compiler.hs
AgeCommit message (Collapse)Author
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-04Refactored typecheck valueJuan J. Martinez
2022-09-04Type-checking variable declarationJuan J. Martinez
2022-09-02Private variablesJuan 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-21Qualified undefined variable error, added testJuan J. Martinez
2022-08-20Qualified as non callable errorJuan 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-16Test labels, test for errors WIPJuan J. Martinez
2022-08-15Unify error reportingJuan J. Martinez
2022-08-14Limit lambdas to only use local variablesJuan J. Martinez
Dynamic allocation (and hence closures) is not supported.
2022-08-14Unnecessary parenthesisJuan J. Martinez
2022-08-14Case removed by mistakeJuan J. Martinez
2022-08-14Missing caseJuan J. Martinez
Also removed unused as-pattern.
2022-08-14Missing caseJuan J. Martinez
2022-08-14Typechecking returnJuan J. Martinez
2022-08-14Provide information about typesJuan J. Martinez
2022-08-14Typecheck function callsJuan J. Martinez
2022-08-14Extract code to add errors to the stateJuan J. Martinez
2022-08-14Check arityJuan J. Martinez
2022-08-14Slightly better error messageJuan J. Martinez
2022-08-14Return the type of the functionJuan J. Martinez
This makes lambda calls work.
2022-08-14Check type of expressions in calls to be callableJuan J. Martinez
2022-08-13We need to keep the function definition in the enviromentJuan J. Martinez
2022-08-13Extracted functionJuan J. Martinez
2022-08-13Probably betterJuan J. Martinez
2022-08-13Split in modulesJuan J. Martinez
2022-08-12Initial importJuan J. Martinez