aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - Improved type-error reporting.Eduardo Julian2015-12-302-13/+29
|
* - Fixed some bugs in the way _jvm_putfield & _jvm_putstatic special forms ↵Eduardo Julian2015-12-305-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 Julian2015-12-308-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.
* Updated the README and added the Lux DevLog URL, plus the Trello board URLLuxLang2015-12-251-6/+20
|
* - Fixed a bug wherein the wrong super-class name was being generated (due to ↵Eduardo Julian2015-12-242-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 Julian2015-12-205-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 Julian2015-12-195-43/+37
| | | - Removed (unnecessary) logging.
* - Changed the way methods are defined in class definitions.Eduardo Julian2015-12-167-190/+451
|
* - lux.Function is now generated directly from the compiler, not from the ↵Eduardo Julian2015-12-063-11/+38
| | | | lux.lux file.
* - Removed modifiers from field/method declaration.Eduardo Julian2015-12-065-95/+31
|
* - Better handling generics when analysing class methods.Eduardo Julian2015-12-061-9/+16
|
* - Made a variety of refactorings and minor changes.Eduardo Julian2015-12-0215-332/+447
| | | - Generic class definitions are halfway done.
* - Improved error reporting when pattern-matching on tuples.Eduardo Julian2015-12-015-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 Julian2015-11-301-7/+13
| | | | getting replaced with "Unknown syntax".
* - Refactored some of the parsing done inside the analyser to a separate ↵Eduardo Julian2015-11-3010-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 Julian2015-11-293-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 Julian2015-11-294-6/+3
| | | | | 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 Julian2015-11-291-7/+7
| | | | required the class of the array.
* - _lux_coerce no longer adds checkcast.Eduardo Julian2015-11-293-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 Julian2015-11-296-41/+139
| | | | type-tags) are given in order to construct the instances.
* - Improved support for existential quantification.Eduardo Julian2015-11-282-5/+12
|
* - Added better support for existential quantification.Eduardo Julian2015-11-2810-107/+150
| | | - No longer requiring type-parameters in JVM interop forms.
* - _jvm_ null must now be written as a form.Eduardo Julian2015-11-154-15/+23
|
* - Now requiring parameterized classes everywhere when invoking methods.Eduardo Julian2015-10-292-65/+74
|
* - Unknown syntax errors now show cursor information.Eduardo Julian2015-10-284-131/+161
| | | | - Got better generation of types from class-names. - Fixed a bug when parsing meta-data in cached outputs.
* - Storage instructions during pattern matching when doing aliasing now use ↵Eduardo Julian2015-10-274-23/+10
| | | | | the -1 index to signal no-op. - Removed unnecessary debugging logging.
* - The compiler phase now depends on data-structures from the optimization phase.Eduardo Julian2015-10-133-145/+656
|
* - Added local var aliasing.Eduardo Julian2015-10-133-19/+56
|
* - Separated type coercions from type annotations.Eduardo Julian2015-10-1310-45/+95
| | | | | - Enriched type annotatins. - Improved class->type convertions. - Improved showing AST.
* - Increased the compiler version from 0.3 to 0.4Eduardo Julian2015-10-073-30/+37
| | | | - Now compiling empty tuples (unit) to null pointer - Now avoiding pattern-matching over empty tuples (unit)
* - The method-invocation analysers now take into consideration whether they ↵Eduardo Julian2015-10-076-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.
* MERGEDEduardo Julian2015-10-041-0/+11
|\
| * Added info about the Leiningen pluginLuxLang2015-10-011-0/+5
| |
| * Added project sample to the READMELuxLang2015-10-011-0/+6
| |
* | - Removed the Lux source from the repo, as it now belongs to the lux/stdlib ↵Eduardo Julian2015-10-0443-6599/+38
|/ | | | | | 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.
* Updated README for v0.3Eduardo Julian2015-10-011-21/+9
|
* Merge pull request #12 from LuxLang/v0.3LuxLang2015-10-0189-6770/+10916
|\ | | | | V0.3
| * Tweaks to README.Eduardo Julian2015-10-011-1/+3
| |
| * - Changed the license in the project.clj file (had forgotten until now).Eduardo Julian2015-09-3014-133/+211
| | | | | | | | | | - Some minor updates to the standard library. - Some minor bug fixes & improvements. - program.lux has been removed.
| * - Returned to old format of type-environments where odds are arguments & ↵Eduardo Julian2015-09-294-57/+57
| | | | | | | | evens are quantifiers.
| * - Cleaned-up the comments from the codebase.Eduardo Julian2015-09-2918-478/+199
| |
| * - Removed reflection warnings.Eduardo Julian2015-09-2810-104/+116
| | | | | | - Made some improvements to working with object arrays.
| * - Added a rule that Void is a subtype of every other type.Eduardo Julian2015-09-283-33/+42
| | | | | | | | - Added the type-checking rules for existential quantification (ExQ). - Fixed one of the rules for type-checking universal quantification (UnivQ).
| * - Added generics support for object field access (getting & setting).Eduardo Julian2015-09-276-234/+319
| | | | | | - Added generics support for object method invocation.
| * - Added support for type-checking generic classes.Eduardo Julian2015-09-2710-122/+321
| | | | | | - Added support for instancing generic objects.
| * - Lux programs can now use libraries for both the JVM (.jar files) and pure ↵Eduardo Julian2015-09-2711-28/+199
| | | | | | | | | | Lux code (.tar.gz files). - Fixed a bug regarding indices and loading/storing from/to arrays.
| * - Added support for Java annotations.Eduardo Julian2015-09-267-59/+189
| |
| * - Finished some missing bits of class definition analysis.Eduardo Julian2015-09-264-45/+165
| |
| * - Both method declarations & method definitions in classes can now include ↵Eduardo Julian2015-09-265-30/+91
| | | | | | | | declarations of which exceptions they throw.
| * - Did a trick to make sure "this" always had the type of the class being ↵Eduardo Julian2015-09-164-36/+60
| | | | | | | | defined, instead of the type of the super-class.