aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - Added a REPL mode.Eduardo Julian2016-03-128-21/+121
|
* - Fixed the way the CLI arguments are received by _jvm_program by using the ↵Eduardo Julian2016-03-111-23/+9
| | | | new format for data-structures.
* - Fixed a bug wherein type-variables were not getting properly cleaned and ↵Eduardo Julian2016-03-097-73/+120
| | | | | | | that was causing trouble with type-checking. - Fixed a bug in the way arguments for method-definitions were getting compiled. - Fixed a bug in the way double greater-than comparison was being compiled. - Fixed how exception signatures were getting compiled for method-definitions.
* - Fixed an error when parsing annotations syntax, in which the wrong ↵Eduardo Julian2016-03-062-2/+2
| | | | | data-structures were being returned. - Fixed an error when generating class signatures in annotations in .class files, in which the class-name was being generated instead.
* - VarT and ExT types are now treated as java.lang.Object.Eduardo Julian2016-02-296-60/+193
| | | | | - Now wrapping primitive method arguments inside objects, as Lux code always assumes everything is an object. - Now using a hand-made text lexer, that is less tolerant of escaping-cleanup errors. - When packaging the contents of dependency JARs inside the output program JAR, the compressed size of the entries is recalculated with (.setCompressedSize -1), in order to avoid errors in the JarOutputStream.
* - Added the means to convert characters into other things.Eduardo Julian2016-02-227-31/+91
| | | | - Fixed character & integer comparisons. - Added the means to "apply" type-functions that are bound to type-variables.
* - Fixed a bug when lexing text that contains escaped characters.Eduardo Julian2016-02-201-3/+6
|
* - The analyser disallows importing a module more than once.Eduardo Julian2016-02-191-7/+9
|
* - Added support for bounded polymorphism.Eduardo Julian2016-02-195-58/+110
| | | - Fixed some minor JVM-interop bugs.
* - Now adding the contents of the "resources" directory into the class-path ↵Eduardo Julian2016-02-183-7/+31
| | | | | and the generated JAR file. - Fixed a bug when generating the input list for _jvm_program.
* - Added CompilerMode and CompilerInfo data to the Compiler state.Eduardo Julian2016-02-176-24/+60
| | | - Removed the (now unnecessary #;eval? tag).
* - [Bug Fix] Can no longer compile expressions that are at the top-level ↵Eduardo Julian2016-02-161-3/+1
| | | | (unlike statements).
* - Now, you cannot use the tags of types that haven't been exported if you're ↵Eduardo Julian2016-02-155-13/+40
| | | | not in that type's module.
* - Improved the instantiation of generic types when using unparameterized ↵Eduardo Julian2016-02-153-9/+17
| | | | | | classes. - Added beta-reduction for ExQ. - Improved ident->text.
* - Can now use unicode characters in identifiers.Eduardo Julian2016-02-152-25/+10
| | | - Can now escape unicode characters in both Char and Text.
* - Updated the compiler version to 0.3.3.Eduardo Julian2016-02-144-6/+12
| | | | | - type->analysis can now handle ExQ. - Can now handle exponent syntax for reals. - Now adding v: and e: prefixes when showing type-vars and existential types, for improved readability.
* - Both abstract & native methods can now have privacy modifiers.Eduardo Julian2016-02-084-26/+32
|
* - Added the ability to define native methods.Eduardo Julian2016-02-085-2/+55
|
* - Added the ability to define constant fields in classes.Eduardo Julian2016-02-087-31/+139
|
* - Added support for strict floating-point arithmetic on methods.Eduardo Julian2016-02-086-67/+77
|
* - Fixed a bug when getting a value out of a variant (it was acting ↵Eduardo Julian2016-02-0724-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 Julian2016-02-075-2/+60
|
* - Added support for "final" fields, methods & classes.Eduardo Julian2016-02-067-33/+67
|
* - Added support for "volatile" modifier for fields.Eduardo Julian2016-02-065-31/+55
| | | - Minor style fixes.
* - Fixed some bugs wherein type-variables being created where not getting ↵Eduardo Julian2016-02-064-16/+21
| | | | removed from types that used them.
* - Added support for defining static methods in JVM classes.Eduardo Julian2016-02-067-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 Julian2016-02-048-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 Julian2016-01-221-2/+2
| | | | at lux/codata/io.
* - Modified the syntax for multi-line text so line-delimiters (\ \) are no ↵Eduardo Julian2016-01-172-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 Julian2016-01-173-32/+16
| | | | longer necessary.
* - Made an optimization to variants/sums, by encoding the last/tail flag as a ↵Eduardo Julian2016-01-173-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 Julian2016-01-172-18/+38
| | | | values.
* - I overdid the switch from null to lux.base/unit-tag, so I reversed the ↵Eduardo Julian2016-01-1711-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 Julian2016-01-173-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 Julian2016-01-1712-117/+117
| | | | special String, rather than null.
* - Now using the new utility methods in LuxUtils for working with variants/sums.Eduardo Julian2016-01-1714-65/+123
|
* - Now using the new utility methods in LuxUtils for working with ↵Eduardo Julian2016-01-162-17/+78
| | | | tuples/products.
* - Optimized the new "product" implementation to improve performance & memory ↵Eduardo Julian2016-01-0524-440/+428
| | | | consumption.
* - Switched from TupleT to ProdT (implementation-wise).Eduardo Julian2016-01-0410-250/+314
|
* - Switched from TupleT to ProdT (type-wise).Eduardo Julian2016-01-029-103/+183
|
* - Switched from VariantT to SumT.Eduardo Julian2016-01-0215-173/+246
|
* - Added the VoidT and UnitT types.Eduardo Julian2016-01-0210-119/+178
|
* - Implemented the feature of adding arbitrary meta-data to definitions.Eduardo Julian2016-01-0212-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 Julian2016-01-017-49/+117
|
* - Added support for wildcards in generic types.Eduardo Julian2015-12-316-2/+29
|
* - Implemented multi-line text literals.Eduardo Julian2015-12-312-10/+48
|
* - [Refactor] Removed the (now unnecessary) lux.type.host/class-name->type ↵Eduardo Julian2015-12-316-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 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.