aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-08fix type checking of existential type variables that are used by a dynamic ↵johnvg1-0/+4
expression, but do not occur in the type of a dynamic pattern. TempQDV is used for existential type variables in a dynamic pattern. git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1912 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-04-08fix type checking of existential type variables that are used by a dynamic ↵johnvg5-269/+248
expression, but do not occur in the type of a dynamic pattern. TempQDV is used for existential type variables in a dynamic pattern. git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1911 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-04-07fix bug in the memory allocatorjohnvg1-7/+3
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1903 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-04-06add qualified import of a module, for functions, macros, constructors, types ↵johnvg6-81/+167
and classes git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1901 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-04-04use type ImportQualified instead of Bool for fields import_qualified and ↵johnvg5-8/+10
ei_qualified git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1899 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-04-04Remove type argument from_symbol of type Import, it was always type ↵johnvg3-12/+11
ImportDeclaration git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1897 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-31use type Component instead of Group in the fusion modules: partition, ↵johnvg15-647/+681
classify and trans, because function pointers for generated functions are stored in the Component, they can be found without searching the new functions list git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1895 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-30make the following identical local functions of functions analyseGroups and ↵johnvg1-86/+55
reanalyseGroups global: get_linearity_info, get_linearity_info_of_pattern, get_var_index, set_linearity_info git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1893 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-30remove unused result cons_args of function transformGrooupsjohnvg3-27/+14
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1891 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-22recognize non generic variables in is_bimap_idjohnvg3-43/+53
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1889 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-21optimize adapters for generic functions using algebraic types which havejohnvg2-184/+408
constructors with only type variable arguments occurring at most once, these types can be optimized if they occur as an argument or result, or as an argument of such a type, of a generic function (and a generic variable is used by the type) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1886 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-21remove unused field td_context from type TypeDefjohnvg7-17/+11
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1884 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-18update files for the Mac after removing some unused fields and values on Windowsjohnvg4-9/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1883 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-17pass generic info only to instances for OBJECT, CONS and FIELD,johnvg4-262/+342
call instance functions for OBJECT, CONS and FIELD directly, with generic info git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1881 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-04remove shorthand and iso functions from generic ranges,johnvg2-170/+207
first all main instances are build, then all shorthand instances, shorthand instances directly call the main instance (SK_Function instead of SK_Generic), call toGeneric.. and fromGeneric.. functions directly if possible, instead of iso.. git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1877 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-04delete old implementation of genericsjohnvg2-4219/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1876 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-04remove unused index passed by foldArrayStjohnvg1-150/+83
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1874 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-01remove many unused generic dictionaries from the abc code (previous commit),johnvg1-0/+1
add BETypeSymbolNoMark git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1872 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-01git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1871 ↵johnvg7-44/+75
1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-01in BEConstructorSymbol store constructor index in symb_arity until ↵johnvg1-14/+18
BERecordType is called, instead of scanning all constructors to find it in BERecordType, (should be passed directly to BERecordType) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1870 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-03-01remove more unused fields and variablesjohnvg6-86/+11
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1869 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-28adapt arguments and result separately, instead of adapting the functionjohnvg1-17/+49
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1867 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-25git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1866 ↵johnvg17-442/+15
1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-25remove some unused fields and variablesjohnvg13-173/+83
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1865 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-24check_completeness of type of generic function definitionjohnvg1-1/+5
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1863 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-24more: write generic functions in constructors to .tcl and .typ files,johnvg1-18/+12
don;t write generic dictionaries to these files git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1862 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-24git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1858 ↵johnvg14-156/+151
1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-24fix error message for not imported qualified identjohnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1857 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-23only generate a generic info argument for generic instances of kind *->*,johnvg4-205/+169
because OBJECT, CONS and FIELD have this kind and are the only types using generic info git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1855 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-23fix type in name of function collectCommonDefinitionsjohnvg1-4/+4
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1854 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-23remove some unused commented out functionsjohnvg1-56/+15
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1853 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-23really remove dummy function add_kind in function check_generic_exprjohnvg1-5/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1852 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-23remove unused function check_generic_varsjohnvg1-22/+4
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1850 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-23remove dummy function add_kind in function check_generic_expr,johnvg1-48/+25
fix error message for failed qualified import git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1849 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-23remove ImportedConstructors result from function ↵johnvg5-27/+24
convertDynamicPatternsIntoUnifyAppls, because it is always [] git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1847 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-23remove unused field wtis_collected_conses of WriteTypeInfoStatejohnvg3-51/+22
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1843 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-15fix bug in scanning 'a'..johnvg1-10/+9
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1841 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-11use ClassInstanceMember array for ins_members instead of DefinedSymbol array,johnvg7-136/+93
call exported generic instances directly git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1838 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-08remove selectors from .tcl filejohnvg1-44/+10
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1836 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-07remove unused cons_arg_vars and cons_index in .tcl filejohnvg1-10/+3
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1834 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-07remove unused types in dynamic patterns in .tcl filejohnvg1-8/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1833 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-02don't write fs_var to .tcl file, because it is the same as fs_ident,johnvg1-8/+4
also requires new linkers git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1830 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-02fix test for predefined module index in write_type_info,johnvg3-7/+2
requires new linkers git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1828 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-01remove building ArgEnvjohnvg1-1/+0
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1826 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-01add make script for Mac OS X (AMD64)johnvg1-0/+9
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1825 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-02-01move some #includes, because of compile errors on Mac OS Xjohnvg1-3/+4
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1824 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-01-24change BESpecialIdentCountjohnvg1-1/+1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1823 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2011-01-24use p instead of I for pointers in ccalljohnvg1-128/+130
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1820 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2010-12-08change version to 2.3johnvg1-2/+2
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1818 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
2010-11-24don't print pointer values (only for debugging)johnvg1-19/+14
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1813 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d