aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-17- Removed the tags off tuples/products & variants/sums, as they were no ↵Eduardo Julian3-32/+16
longer necessary.
2016-01-17- Made an optimization to variants/sums, by encoding the last/tail flag as a ↵Eduardo Julian3-12/+12
pointer (with null as false, and everything else as true).
2016-01-17- Added a special constructor for variants to ensure they don't take null ↵Eduardo Julian2-18/+38
values.
2016-01-17- I overdid the switch from null to lux.base/unit-tag, so I reversed the ↵Eduardo Julian11-110/+110
change on places where it was superfluous, to reduce the overhead of variable look-up during compilation.
2016-01-17- Made a small modification to how variants/sums are created, to ensure ↵Eduardo Julian3-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).
2016-01-17- Fixed a bug introduced when I made the change for the "unit" value to be a ↵Eduardo Julian12-117/+117
special String, rather than null.
2016-01-17- Now using the new utility methods in LuxUtils for working with variants/sums.Eduardo Julian14-65/+123
2016-01-16- Now using the new utility methods in LuxUtils for working with ↵Eduardo Julian2-17/+78
tuples/products.
2016-01-05- Optimized the new "product" implementation to improve performance & memory ↵Eduardo Julian24-440/+428
consumption.
2016-01-04- Switched from TupleT to ProdT (implementation-wise).Eduardo Julian10-250/+314
2016-01-02- Switched from TupleT to ProdT (type-wise).Eduardo Julian9-103/+183
2016-01-02- Switched from VariantT to SumT.Eduardo Julian15-173/+246
2016-01-02- Added the VoidT and UnitT types.Eduardo Julian10-119/+178
2016-01-02- Implemented the feature of adding arbitrary meta-data to definitions.Eduardo Julian12-415/+403
- Implemented exports, macros, tags and aliases on top of definition meta-data (a.k.a DefMeta).
2016-01-01- Modified _jvm_anewarray so it now works with generic classes.Eduardo Julian7-49/+117
2015-12-31- Added support for wildcards in generic types.Eduardo Julian6-2/+29
2015-12-31- Implemented multi-line text literals.Eduardo Julian2-10/+48
2015-12-31- [Refactor] Removed the (now unnecessary) lux.type.host/class-name->type ↵Eduardo Julian6-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.
2015-12-30- Improved type-error reporting.Eduardo Julian2-13/+29
2015-12-30- Fixed some bugs in the way _jvm_putfield & _jvm_putstatic special forms ↵Eduardo Julian5-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.
2015-12-30- Bug fixes:Eduardo Julian8-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.
2015-12-24- Fixed a bug wherein the wrong super-class name was being generated (due to ↵Eduardo Julian2-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.
2015-12-20- Fixed a bug wherein the cache became ineffective due to wrong file-paths ↵Eduardo Julian5-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.
2015-12-19- Fixed some bugs regarding JVM interface definition.Eduardo Julian5-43/+37
- Removed (unnecessary) logging.
2015-12-16- Changed the way methods are defined in class definitions.Eduardo Julian7-190/+451
2015-12-06- lux.Function is now generated directly from the compiler, not from the ↵Eduardo Julian3-11/+38
lux.lux file.
2015-12-06- Removed modifiers from field/method declaration.Eduardo Julian5-95/+31
2015-12-06- Better handling generics when analysing class methods.Eduardo Julian1-9/+16
2015-12-02- Made a variety of refactorings and minor changes.Eduardo Julian15-332/+447
- Generic class definitions are halfway done.
2015-12-01- Improved error reporting when pattern-matching on tuples.Eduardo Julian5-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.
2015-11-30- Fixed a bug wherein some error messages were being swallowed-up and ↵Eduardo Julian1-7/+13
getting replaced with "Unknown syntax".
2015-11-30- Refactored some of the parsing done inside the analyser to a separate ↵Eduardo Julian10-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).
2015-11-29- Improved error messaging when building variants & tuples.Eduardo Julian3-290/+307
- Improved error messaging when type-checking. - Improved error messaging when applying functions.
2015-11-29- No longer removing empty lines from source code when reading it. Now ↵Eduardo Julian3-5/+2
lexing them as whitespace. - Shifted version of the compiler to 0.3.1
2015-11-29- Fixed a bug when parsing new-array special forms, wherein primitive arrays ↵Eduardo Julian1-7/+7
required the class of the array.
2015-11-29- _lux_coerce no longer adds checkcast.Eduardo Julian3-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.
2015-11-29- _jvm_anon-class now requires that constructor arguments (with proper ↵Eduardo Julian6-41/+139
type-tags) are given in order to construct the instances.
2015-11-28- Improved support for existential quantification.Eduardo Julian2-5/+12
2015-11-28- Added better support for existential quantification.Eduardo Julian10-107/+150
- No longer requiring type-parameters in JVM interop forms.
2015-11-15- _jvm_ null must now be written as a form.Eduardo Julian4-15/+23
2015-10-29- Now requiring parameterized classes everywhere when invoking methods.Eduardo Julian2-65/+74
2015-10-28- Unknown syntax errors now show cursor information.Eduardo Julian4-131/+161
- Got better generation of types from class-names. - Fixed a bug when parsing meta-data in cached outputs.
2015-10-27- Storage instructions during pattern matching when doing aliasing now use ↵Eduardo Julian4-23/+10
the -1 index to signal no-op. - Removed unnecessary debugging logging.
2015-10-13- The compiler phase now depends on data-structures from the optimization phase.Eduardo Julian3-145/+656
2015-10-13- Added local var aliasing.Eduardo Julian3-19/+56
2015-10-13- Separated type coercions from type annotations.Eduardo Julian10-45/+95
- Enriched type annotatins. - Improved class->type convertions. - Improved showing AST.
2015-10-07- Increased the compiler version from 0.3 to 0.4Eduardo Julian3-30/+37
- Now compiling empty tuples (unit) to null pointer - Now avoiding pattern-matching over empty tuples (unit)
2015-10-07- The method-invocation analysers now take into consideration whether they ↵Eduardo Julian6-52/+71
must work for classes or interfaces & perform the appropriate checks. - A default <init> method is added to the dummy class used during the analysis of anonymous classes. - When adding the default invoke-special for anonymous classes, now using the one from the parent class, rather than the one from Object. - The packaging for the uberjar is now a bit more specific regarding which elements to include or to exclude. - Type errors when comparing JVM generic types are now a bit more specific.
2015-10-04- Removed the Lux source from the repo, as it now belongs to the lux/stdlib ↵Eduardo Julian4-75/+37
package. - Removed de Apacke Commons Compress library, as Lux libraries will now be packaged as .jar files instead of as .tar.gz files. - The compiler no longer packages libraries, as that task will now be left for the build system.
2015-09-30- Changed the license in the project.clj file (had forgotten until now).Eduardo Julian4-42/+47
- Some minor updates to the standard library. - Some minor bug fixes & improvements. - program.lux has been removed.