- 02 Jun, 2021 1 commit
-
-
John van Groningen authored
refactor, convertCasesOfFunctions created SK_GeneratedFunction's with FunDef Ptr's to a different heap, these FunDef Ptr's were not used, instead remove cs_fun_heap from ConvertState, use SK_LocalMacroFunction for case functions instead of SK_GeneratedFunction, store the FunDefs and indices in cs_new_functions instead of FunctionInfoPtr's
-
- 21 May, 2021 2 commits
-
-
John van Groningen authored
don't replace an explicit case by the only alternative that may match if the result is a strict let that is not a root expression
-
John van Groningen authored
don't restrict case_expr of an explicit Case to Var expressions, this restriction has been removed by using mergeExplicitCasePatterns and variable aliases introduced by simplifications of cases in module trans will now be removed in module partition
-
- 20 May, 2021 1 commit
-
-
John van Groningen authored
always recompute components of functions after fusion pass (module trans), ignore -strip, remove function stripStrictLets
-
- 19 May, 2021 1 commit
-
-
John van Groningen authored
-
- 18 May, 2021 2 commits
-
-
John van Groningen authored
refactor, add a specialised version of collectVariables to module partition (from transform), that only removes aliases and computes the refcounts (to be combined with find_calls next)
-
John van Groningen authored
refactor collectVariables for Let in module transform, don't combine and split strict and lazy binds, use unzip instead of map fst and map snd
-
- 11 May, 2021 1 commit
-
-
John van Groningen authored
refactor, add function mergeExplicitCasePatterns, use it to merge explicit case expressions in module transform, note that cases with a case_expr that is not a variable can also be merged now, so function share_case_expr in module checkFunctionBodies is probably not necessary anymore
-
- 03 May, 2021 2 commits
-
-
John van Groningen authored
-
John van Groningen authored
refactor, replace type StringPos and function stringPosition by type StringPosition, add function for 'cannot unify demanded type with offered type' error
-
- 30 Apr, 2021 1 commit
-
-
John van Groningen authored
-
- 29 Apr, 2021 2 commits
-
-
John van Groningen authored
refactor, replace function uniquenessError, that was always called with a CP_Expression with a FreeVar, by function uniquenessErrorFreeVar
-
John van Groningen authored
refactor, remove some unused functions and record, use =: instead of == to compare annotations and attributes in the parser
-
- 21 Apr, 2021 6 commits
-
-
John van Groningen authored
rename label _Nothing as _None in the generated code, and _!Nothing,_#Nothing and _|Nothing in the compiler to _!None,_#None and _|None
-
John van Groningen authored
-
John van Groningen authored
-
John van Groningen authored
-
John van Groningen authored
-
John van Groningen authored
-
- 19 Apr, 2021 4 commits
-
-
John van Groningen authored
-
John van Groningen authored
refactor, remove FunPos, it is only used in module postparse. where the identifier is also available from type ParsedDefinition
-
John van Groningen authored
-
John van Groningen authored
-
- 16 Apr, 2021 2 commits
-
-
John van Groningen authored
refactor ErrorAdmin class, change setErrorAdmin and pushErrorAdmin to setErrorPosition and pushErrorPosition with Ident and Position arguments instead of IdentPos, add function errorHeadingWithStringPos
-
John van Groningen authored
refactor check error function calls, add checkErrorIdentWithIdentPos and checkErrorIdentWithPosition, use these instead of a check error function and newPosition, pushErrorAdmin + popErrorAdmin or setErrorAdmin
-
- 14 Apr, 2021 2 commits
-
-
John van Groningen authored
refactor, move some constructors of type VarInfo and types AuxiliaryPattern, OptionalVariable, AP_Kind and TypeCodeVariableInfo from module syntax to the module that uses it
-
John van Groningen authored
-
- 09 Apr, 2021 2 commits
-
-
John van Groningen authored
if -o abc_file_name is specified use this file name for the abc file (this stopped working when creating the abc file was moved from the backend c code to Clean code)
-
John van Groningen authored
-
- 08 Apr, 2021 7 commits
-
-
John van Groningen authored
-
John van Groningen authored
-
John van Groningen authored
-
John van Groningen authored
-
John van Groningen authored
-
John van Groningen authored
-
John van Groningen authored
-
- 07 Apr, 2021 1 commit
-
-
John van Groningen authored
bug fix, create new dp_type (pointer) in unfold (if a copy hasn't already been made) to prevent possible crash if a macro contains a dynamic pattern match
-
- 29 Mar, 2021 2 commits
-
-
John van Groningen authored
feature, make the (default) lists head strict (for [ ]) or head and tail strict (for [ !]) by adding 'with [!]' after the module name ('with []' is also permitted but has no effect)
-
John van Groningen authored
-
- 26 Mar, 2021 1 commit
-
-
John van Groningen authored
-