aboutsummaryrefslogtreecommitdiff
path: root/source/test2.lux (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-19[Bugs]Eduardo Julian1-473/+7
- Removed the issue that was causing the compiler to never display the true source of errors. [Enhancements] - Separated the prelude (lux.lux) and utils (util.lux) from the code at test2.lux - The compiler now handles module-separation a bit better [Cleanup] - Removed the unnecessary another.lux [Temporary] - The base classes/interfaces are now assumed to be in the "lux" module, but they must be moved to "lux/host"
2015-01-19[Enhancements]Eduardo Julian1-0/+0
Source code is looked-up inside a "source" directory.
2015-01-19[Enhancement]Eduardo Julian1-9/+19
.class files are now stored inside an "output" directory.
2015-01-16[Bugs]Eduardo Julian1-20/+10
- In let forms, the local had the wrong data-structure as a type. [Enhancements] - Can now instance objects. - Java-interop now handles array inputs. - System now has object array creation, storing and retrieving.
2015-01-16[Bugs]Eduardo Julian1-74/+14
Incomplete normalization of the names of lambda-classes. Incomplete coverage of primitive classes in signatures and class names. [Enhancements] Java interop can now handle sending primitive args (automatically unboxes wrappers).
2015-01-16[Bugs]Eduardo Julian1-0/+149
- Char pattern-matching is now handled better and defaults now work for it. - Text pattern-matching is now handled better and defaults now work for it.
2015-01-16[Bugs]Eduardo Julian1-4/+24
- Not all outside vars needed by lambdas were actually captured. - Needed vars weren't always captured in the right order. - The names of global-var classes weren't being generated properly to account for symbols/punctuation. [Enhancements] - The system now uses a brand-new ClassLoader on every run to speed-up development.
2015-01-16Fixed a bug in the ' macro.Eduardo Julian1-52/+92
2015-01-16- Added pattern-matching on tuples.Eduardo Julian1-16/+57
- Extended a bit the types of syntax that can be handled inside macros.
2015-01-12- Greatly simplified the AST and made it more macro-friendly.Eduardo Julian1-11/+42
- Modified the implementation of ' (quote) to reflect this. - There is no longer a #Quote syntax token.
2015-01-11- Added integer remainder.Eduardo Julian1-17/+30
- Now, can handle boolean returns from methods. - Static functions now define a "_datum" field containing an empty instance. - Fixed a bug when analysing lambdas that made their arguments get treated like they were closure variables.
2015-01-11- Fixed a small bug regarding functions calling themselves recursively.Eduardo Julian1-88/+75
- Getting static fields and calling virtual methods has now been decomplected into their own special forms.
2015-01-11- Compiler now handles automatic partial applications and calls to ↵Eduardo Julian1-4/+28
statically-known functions (global ones) better.
2015-01-11- Added substraction, multiplication and division for ints.Eduardo Julian1-3/+10
2015-01-10* Changed the language so variants now store their elements directly, ↵Eduardo Julian1-8/+66
instead of relying on a tuple. * Changed the pattern-matching and variant generation code accordingly. * Also changed a bit the special form for defining classes.
2015-01-03The language officially has a name: Lux (stylized as "lux").Eduardo Julian1-16/+44
2015-01-03- Beginning to implement compiler in the language itself.Eduardo Julian1-1/+46
- The language can now handle more symbols on identifiers.
2015-01-03The language now supports macros.Eduardo Julian1-56/+73
2015-01-02Fixed a bug in pattern-matching when expanding sequential tests.Eduardo Julian1-29/+40
2015-01-02Pattern matching compiler now generates optimized code.Eduardo Julian1-30/+23
2014-12-26Added string testing & multi-branching to pattern-matching.Eduardo Julian1-1/+6
2014-12-26Pattern-matching has been enriched with sub-structural matching.Eduardo Julian1-4/+12
2014-12-26Reimplemented basic pattern-matching.Eduardo Julian1-36/+58
2014-12-21Now compiling module contants as separate classes with single data fields.Eduardo Julian1-1/+1
2014-12-20* Java interop is almost finished.Eduardo Julian1-2/+2
% _. and _.. syntax has been replaced with ::
2014-12-20Removed ann-class, cleaned-up some old commented-out code & turned-off the ↵Eduardo Julian1-10/+0
enabled logging.
2014-12-19Now the language has full closures.Eduardo Julian1-6/+11
2014-12-19Almost finished implementing closures.Eduardo Julian1-10/+9
2014-12-18Now folding the classes for lambdas and putting the implementation code ↵Eduardo Julian1-0/+9
inside the classes, not inside the module.
2014-12-18All the classes that used to be generated per function have now been folded ↵Eduardo Julian1-1/+2
into one.
2014-12-16Added some pseudo pattern-matching (only extracting simple data, without ↵Eduardo Julian1-1/+3
exploring inner structure or doing any testing).
2014-12-16+ Strings now have escape characters.Eduardo Julian1-2/+4
+ Characters have been added. % Unicode support is missing...
2014-12-15Added ints and floats.Eduardo Julian1-2/+4
2014-12-15Added "do" expressions.Eduardo Julian1-1/+3
2014-12-15Added lambdas! (not yet real closures, but coming soon...)Eduardo Julian1-2/+9
2014-12-15Added tuples.Eduardo Julian1-1/+5
2014-12-14Now defining functions as classes inheriting Function.Eduardo Julian1-1/+4
2014-12-14Added module imports.Eduardo Julian1-10/+2
2014-12-14Added Java class imports.Eduardo Julian1-2/+4
2014-12-13+ Removed "module" special form.Eduardo Julian1-6/+4
+ Fixed a bug that was preventing multi-line comments from being truly multi-line.
2014-12-12Added let (local vars).Eduardo Julian1-1/+6
2014-12-09Now compiling tagged values.Eduardo Julian1-1/+3
2014-12-09Now can define constants in modules.Eduardo Julian1-1/+3
2014-12-09Modules can now contain definitions of simple interfaces, with only method ↵Eduardo Julian1-0/+3
declarations.
2014-12-08Can now define inside modules: simple classes with public fields.Eduardo Julian1-0/+2
2014-12-08Added modules.Eduardo Julian1-0/+2
2014-12-07Fixed bug that was causing function-calls to fail.Eduardo Julian1-1/+1
2014-12-07Cleaned up a lot of useless code and removed the state monad from the ↵Eduardo Julian1-4/+6
compilation phase (the ASM library already works as a state monad).
2014-12-04Now compiles booleans and ifs.Eduardo Julian1-0/+4
2014-12-02Added some super-basic type-system.Eduardo Julian1-1/+11