Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Added the ability to define constant fields in classes. | Eduardo Julian | 2016-02-08 | 7 | -31/+139 |
| | |||||
* | - Added support for strict floating-point arithmetic on methods. | Eduardo Julian | 2016-02-08 | 6 | -67/+77 |
| | |||||
* | - Fixed a bug when getting a value out of a variant (it was acting ↵ | Eduardo Julian | 2016-02-07 | 24 | -1202/+1215 |
| | | | | | improperly when dealing with "composed" variants). - Revamped the way variants are defined & used in the compiler. | ||||
* | - Added support for "abstract" classes & methods. | Eduardo Julian | 2016-02-07 | 5 | -2/+60 |
| | |||||
* | - Added support for "final" fields, methods & classes. | Eduardo Julian | 2016-02-06 | 7 | -33/+67 |
| | |||||
* | - Added support for "volatile" modifier for fields. | Eduardo Julian | 2016-02-06 | 5 | -31/+55 |
| | | | - Minor style fixes. | ||||
* | - Fixed some bugs wherein type-variables being created where not getting ↵ | Eduardo Julian | 2016-02-06 | 4 | -16/+21 |
| | | | | removed from types that used them. | ||||
* | - Added support for defining static methods in JVM classes. | Eduardo Julian | 2016-02-06 | 7 | -12/+103 |
| | | | - Fixed a bug wherein host data-types weren't getting cleaned when working with type variables. | ||||
* | - Fixed some bugs regarding the handling of sums & products. | Eduardo Julian | 2016-02-04 | 8 | -59/+142 |
| | | | | - Added the capacity to specify access modifiers to both class fields & methods. - No longer including "META-INF/MANIFEST.MF" files of imported jars. | ||||
* | - Updated the IO type in lux.type to reflect the new version of the IO type ↵ | Eduardo Julian | 2016-01-22 | 1 | -2/+2 |
| | | | | at lux/codata/io. | ||||
* | - Modified the syntax for multi-line text so line-delimiters (\ \) are no ↵ | Eduardo Julian | 2016-01-17 | 2 | -56/+49 |
| | | | | | longer necessary, and necessary indentation is deduced from the column of the initial double-quote (") delimiting the text. - Modified some functions in the reader so they give back information as to whether the line was fully consumed or not after each reading. | ||||
* | - Removed the tags off tuples/products & variants/sums, as they were no ↵ | Eduardo Julian | 2016-01-17 | 3 | -32/+16 |
| | | | | longer necessary. | ||||
* | - Made an optimization to variants/sums, by encoding the last/tail flag as a ↵ | Eduardo Julian | 2016-01-17 | 3 | -12/+12 |
| | | | | pointer (with null as false, and everything else as true). | ||||
* | - Added a special constructor for variants to ensure they don't take null ↵ | Eduardo Julian | 2016-01-17 | 2 | -18/+38 |
| | | | | values. | ||||
* | - I overdid the switch from null to lux.base/unit-tag, so I reversed the ↵ | Eduardo Julian | 2016-01-17 | 11 | -110/+110 |
| | | | | change on places where it was superfluous, to reduce the overhead of variable look-up during compilation. | ||||
* | - Made a small modification to how variants/sums are created, to ensure ↵ | Eduardo Julian | 2016-01-17 | 3 | -40/+48 |
| | | | | variants for which there is only 1 possible value just compile down to that value (into the same way that 1-tuples are compiled down to their single value). | ||||
* | - Fixed a bug introduced when I made the change for the "unit" value to be a ↵ | Eduardo Julian | 2016-01-17 | 12 | -117/+117 |
| | | | | special String, rather than null. | ||||
* | - Now using the new utility methods in LuxUtils for working with variants/sums. | Eduardo Julian | 2016-01-17 | 14 | -65/+123 |
| | |||||
* | - Now using the new utility methods in LuxUtils for working with ↵ | Eduardo Julian | 2016-01-16 | 2 | -17/+78 |
| | | | | tuples/products. | ||||
* | - Optimized the new "product" implementation to improve performance & memory ↵ | Eduardo Julian | 2016-01-05 | 24 | -440/+428 |
| | | | | consumption. | ||||
* | - Switched from TupleT to ProdT (implementation-wise). | Eduardo Julian | 2016-01-04 | 10 | -250/+314 |
| | |||||
* | - Switched from TupleT to ProdT (type-wise). | Eduardo Julian | 2016-01-02 | 9 | -103/+183 |
| | |||||
* | - Switched from VariantT to SumT. | Eduardo Julian | 2016-01-02 | 15 | -173/+246 |
| | |||||
* | - Added the VoidT and UnitT types. | Eduardo Julian | 2016-01-02 | 10 | -119/+178 |
| | |||||
* | - Implemented the feature of adding arbitrary meta-data to definitions. | Eduardo Julian | 2016-01-02 | 12 | -415/+403 |
| | | | - Implemented exports, macros, tags and aliases on top of definition meta-data (a.k.a DefMeta). | ||||
* | - Modified _jvm_anewarray so it now works with generic classes. | Eduardo Julian | 2016-01-01 | 7 | -49/+117 |
| | |||||
* | - Added support for wildcards in generic types. | Eduardo Julian | 2015-12-31 | 6 | -2/+29 |
| | |||||
* | - Implemented multi-line text literals. | Eduardo Julian | 2015-12-31 | 2 | -10/+48 |
| | |||||
* | - [Refactor] Removed the (now unnecessary) lux.type.host/class-name->type ↵ | Eduardo Julian | 2015-12-31 | 6 | -35/+21 |
| | | | | | function. - When compiling definitions, their names now carry a hash code to avoid file-name collisions when generating files in case-insensitive file-systems. | ||||
* | - Improved type-error reporting. | Eduardo Julian | 2015-12-30 | 2 | -13/+29 |
| | |||||
* | - Fixed some bugs in the way _jvm_putfield & _jvm_putstatic special forms ↵ | Eduardo Julian | 2015-12-30 | 5 | -17/+50 |
| | | | | | | were being compiled. - Fixed a bug in the way constructor arguments in constructor methods were being compiled. - Fixed small bugs in the lux.type.host/instance-param and lux.host.generics/gclass->class-name functions. | ||||
* | - Bug fixes: | Eduardo Julian | 2015-12-30 | 8 | -163/+209 |
| | | | | | | | | | | | | | | | | - - Improved type generation for object-type during analysis of getstatic & putstatic. - - Improved type generation for _jvm_this object during analyse-method. - - Fixed a bug in how the $jvm-class data-structure was being generated for analyse-jvm-class. - - Fixed the format of the "captured-slot-type" for anonymous classes. - - Fixed some minor parsing bugs in lux.analyser.parser. - - Upgraded the version of the compiled bytecode to 0.3.2. - - Fixed the calls to putfield & putstatic in the compiler phase. - - Fixed signature generation for compile-jvm-instanceof. - - Fixed signature generation for class definition & signature definition. - - Fixed dummy-value & dummy-return so they work with generic types. - - Fixed the signature generation for use-dummy-class. - - Improved JVM generic signature generation. - - Fixed a bug when tracing a lineage class->interface. - - Fixed a bug in class-name->type wherein primitive-arrays where given various object-array types. | ||||
* | - Fixed a bug wherein the wrong super-class name was being generated (due to ↵ | Eduardo Julian | 2015-12-24 | 2 | -4/+4 |
| | | | | | a type error >_<) when generating the default constructor for anonymous classes. - Fixed a bug when tracing the lineage of interfaces when doing host-type type-checking. | ||||
* | - Fixed a bug wherein the cache became ineffective due to wrong file-paths ↵ | Eduardo Julian | 2015-12-20 | 5 | -26/+24 |
| | | | | | making the directories impossible to find. - Fixed a bug wherein the 'Function' class was getting erased when the compiler went on to compile the 'lux' module. | ||||
* | - Fixed some bugs regarding JVM interface definition. | Eduardo Julian | 2015-12-19 | 5 | -43/+37 |
| | | | - Removed (unnecessary) logging. | ||||
* | - Changed the way methods are defined in class definitions. | Eduardo Julian | 2015-12-16 | 7 | -190/+451 |
| | |||||
* | - lux.Function is now generated directly from the compiler, not from the ↵ | Eduardo Julian | 2015-12-06 | 3 | -11/+38 |
| | | | | lux.lux file. | ||||
* | - Removed modifiers from field/method declaration. | Eduardo Julian | 2015-12-06 | 5 | -95/+31 |
| | |||||
* | - Better handling generics when analysing class methods. | Eduardo Julian | 2015-12-06 | 1 | -9/+16 |
| | |||||
* | - Made a variety of refactorings and minor changes. | Eduardo Julian | 2015-12-02 | 15 | -332/+447 |
| | | | - Generic class definitions are halfway done. | ||||
* | - Improved error reporting when pattern-matching on tuples. | Eduardo Julian | 2015-12-01 | 5 | -36/+49 |
| | | | | - Improved error reporting when analysing functions. - Now handling arrays in class/interface/method definitions as a kind of GenericType, rather than as a GenericClass. | ||||
* | - Fixed a bug wherein some error messages were being swallowed-up and ↵ | Eduardo Julian | 2015-11-30 | 1 | -7/+13 |
| | | | | getting replaced with "Unknown syntax". | ||||
* | - Refactored some of the parsing done inside the analyser to a separate ↵ | Eduardo Julian | 2015-11-30 | 10 | -188/+285 |
| | | | | | | | namespace. - Added a new namespace for generating generics signatures for classes & methods. - Added generics-based polymorphism to JVM interface definition. - Fixed a bug wherein inconsistent bytecode versions where being used for the generation of classes (1.6 for some, 1.5 for others). | ||||
* | - Improved error messaging when building variants & tuples. | Eduardo Julian | 2015-11-29 | 3 | -290/+307 |
| | | | | - Improved error messaging when type-checking. - Improved error messaging when applying functions. | ||||
* | - No longer removing empty lines from source code when reading it. Now ↵ | Eduardo Julian | 2015-11-29 | 3 | -5/+2 |
| | | | | | lexing them as whitespace. - Shifted version of the compiler to 0.3.1 | ||||
* | - Fixed a bug when parsing new-array special forms, wherein primitive arrays ↵ | Eduardo Julian | 2015-11-29 | 1 | -7/+7 |
| | | | | required the class of the array. | ||||
* | - _lux_coerce no longer adds checkcast. | Eduardo Julian | 2015-11-29 | 3 | -33/+19 |
| | | | | - Now using the correct types for checkcast in arrays of primitives. - aaload, aastore and arraylength now add the appropriate checkcast for the arrays. | ||||
* | - _jvm_anon-class now requires that constructor arguments (with proper ↵ | Eduardo Julian | 2015-11-29 | 6 | -41/+139 |
| | | | | type-tags) are given in order to construct the instances. | ||||
* | - Improved support for existential quantification. | Eduardo Julian | 2015-11-28 | 2 | -5/+12 |
| | |||||
* | - Added better support for existential quantification. | Eduardo Julian | 2015-11-28 | 10 | -107/+150 |
| | | | - No longer requiring type-parameters in JVM interop forms. |