aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-09-29don't use freopen with Visual Studio, to prevent crashesjohnvg2-14/+25
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2743 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-29use "a" instead of "aw" in fopen and freopen calls, to prevent immediately ↵johnvg1-4/+4
crashes with VC 14 git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2742 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-27remove definition of EndOfFile, causes errors with VC 14 if windows.h is ↵johnvg1-1/+0
included git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2741 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-20add -static-libgcc to remove dependency on a dlljohnvg1-2/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2740 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-20avoid annoying C compiler warnings for _X86_johnvg1-1/+3
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2739 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-19rename function CopyContext to copy_context to avoid conflict with Windows ↵johnvg1-3/+3
API function CopyContext git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2738 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-16remove BELabelWithoutNumberFunctionsjohnvg1-1/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2737 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-09-16add Makefile.windows_mingw for backend.dll and backend.defjohnvg2-0/+150
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2736 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-20fix commit for revision 2724johnvg1-3/+5
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2734 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-10add Expression to CP_SymbArg and rename as CP_SymbArgAndExpression,johnvg3-43/+51
print expression in error message in cannot_unify git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2732 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-10pass -dynamics to backendjohnvg1-1/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2730 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-10add a bit in the .comp directive indicating whether -dynamics was passedjohnvg4-2/+9
(to make it possible for the IDE to recompile if necessary) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2728 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06set FI_HasTypeCodes in fi_properties if a function contains type codes andjohnvg3-49/+46
should be converted in module convertDynamics, instead of storing a list with one nilPtr in fi_dynamics, remove unnecessary Let expressions with unused variables by initializing with VI_NotUsed instead of VI_Empty git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2724 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06fix previous commitjohnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2723 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06fix bug that occurs if the same label name is used for inline code in ↵johnvg6-10/+10
different system modules git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2722 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06make RetrieveFromSymbolTable static,johnvg2-74/+11
remove old prototypes from scanner.h, remove #ifndef CLEAN2 .. #endif git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2721 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06remove #pragma options (!macsbug_names)johnvg1-2/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2720 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-06-06remove #ifdef CLEAN2johnvg1-19/+16
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2719 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-05-18remove unused fields and typesjohnvg1-158/+5
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2709 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-05-18remove unused functionsjohnvg3-222/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2708 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-04-07remove some unnecessary copying on the stack for root record updatesjohnvg1-13/+19
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2685 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-04-06remove an unnecessary record copy in the abc code for some record updatesjohnvg3-197/+73
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2684 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-04-05use {}'s instead of ()'s in element type string for unboxed recordsjohnvg1-2/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2683 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2016-04-05don't forget to transform (index) expressions in ArraySelection's of Selector'sjohnvg1-23/+31
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2681 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-12-02allow # and | in \ expressionsjohnvg4-66/+130
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2671 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-11-27only allow infix constructor with arity 2, otherwise the compiler may crash ↵johnvg1-2/+11
when pattern matching git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2669 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-11-23use new label names for _indirection (instead of old names)johnvg2-4/+4
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2667 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-11-17fix qualified import of constructors with a constraint or universally ↵johnvg1-10/+17
quantified type variable by using a SK_OverloadedConstructor instead of a SK_Constructor git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2665 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-09-17fix name in descriptor for unboxed lists of records if exporting local ↵johnvg1-1/+1
labels (again) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2632 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-09-08remove .o files generated by c compiler in call to clm,johnvg1-4/+5
no longer necessary because clm supports import code from, compile module backendconvert with -fusion git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2628 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-08-20add record label to .record directive for list of unboxed recordsjohnvg1-11/+14
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2609 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-08-19fix bug in FPrintF calljohnvg1-2/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2608 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-08-18fix previous version, add return before next case in switch instructionjohnvg1-1/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2607 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-08-18add descriptors of unboxed sub records to .record directive, in reverse orderjohnvg1-37/+206
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2605 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-07-21export label of node entry for Array methods for arrays of unboxed records ↵johnvg1-6/+10
if exporting local labels git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2582 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-07-20fix names and export labels of tuple selectors > 6 if exporting local labelsjohnvg2-2/+31
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2577 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-07-09fix name in descriptor for unboxed lists of records if exporting local labelsjohnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2569 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2015-07-09fix printing of symbols starting with a _ (characters after ; were printed ↵johnvg1-8/+10
twice) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2568 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2014-10-16atop compiling after a kind error, because this may cause a crash in the ↵johnvg1-2/+6
typechecker (while matching types of instances) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2444 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2014-10-16move addFunctionsRange after collectFunctions for instances and generic cases,johnvg1-3/+2
this adds local functions of instances and generic cases to the ifi_local_function_indices, in order to check the kinds of these local functions git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2442 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2014-09-26remove unused constructor TQV of :: type_io.icljohnvg6-24/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2424 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2014-04-03add unit type (print type as ())johnvg1-0/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2366 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2014-04-03add unit typejohnvg6-234/+329
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2365 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2014-04-03use the index to recognize predefined types when printing, instead of the ↵johnvg1-23/+16
name of the types git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2364 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2014-03-19fix the order of expansion of type synonyms in type synonyms,johnvg1-2/+3
by using the reversed groups (constructed in reverse order) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2361 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2014-02-21if a constraint of a class without members is reduced, and all classes in ↵johnvg1-1/+65
the constraint of that class appear in the reduced constraints for a variable, add a constraint for the original class for that variable (this causes removal of the other constraints later), to prevent functions with too many constraints git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2357 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-12-13in derived dynamic types, add uniqueness to algebraic types that are always ↵johnvg4-7/+23
unique (the type definition has a * on the left), add Bool to GTT_Constructor to indicate uniqueness, generate TCE_UnqType in TypeCode for unique GTT_Constructor's, this uniqueness property should be propagated, but this is not implemented yet git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2336 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-12-12add type attributes for universally quantified variables generated in the ↵johnvg1-5/+3
generics1 module to the list of all type attributes (not adding these type attributes caused a type error), this also happens for function types that are specified by the programmer, the universally quantified type variables are however not added to the list of all type variables git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2334 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-12-04generate .impmod before importing labels and descriptors,johnvg11-101/+301
using this information the code generator can determine from which module a label is imported, this is used when generating position independent code git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2332 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2013-11-27fix printing of uniqueness attributes in type with A.johnvg1-0/+4
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2330 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d