aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-19[Cleanup]Eduardo Julian6-604/+202
- Removed a lot of useless comments & logging. - Removed the useless test1.lux file.
2015-01-19[Bugs]Eduardo Julian4-128/+165
- 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 Julian2-2/+2
Source code is looked-up inside a "source" directory.
2015-01-19[Enhancement]Eduardo Julian3-9/+14
.class files are now stored inside an "output" directory.
2015-01-16[Bugs]Eduardo Julian2-96/+190
- 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 Julian2-9/+99
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 Julian2-22/+86
- 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 Julian2-20/+35
- 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 Julian3-37/+50
2015-01-16- Added pattern-matching on tuples.Eduardo Julian2-124/+250
- 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 Julian3-407/+240
- Modified the implementation of ' (quote) to reflect this. - There is no longer a #Quote syntax token.
2015-01-11- Added integer remainder.Eduardo Julian3-26/+62
- 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 Julian3-62/+146
- 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 Julian2-51/+74
statically-known functions (global ones) better.
2015-01-11- Added substraction, multiplication and division for ints.Eduardo Julian5-16/+80
2015-01-10* Changed the language so variants now store their elements directly, ↵Eduardo Julian6-175/+166
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-03- Boolean is now BoolEduardo Julian5-34/+33
- Integer is now Int - Float is now Real - String is now Text
2015-01-03The language officially has a name: Lux (stylized as "lux").Eduardo Julian8-93/+90
2015-01-03- Beginning to implement compiler in the language itself.Eduardo Julian4-45/+24
- The language can now handle more symbols on identifiers.
2015-01-03The language now supports macros.Eduardo Julian6-267/+316
2015-01-02Fixed a bug in pattern-matching when expanding sequential tests.Eduardo Julian2-22/+84
2015-01-02Pattern matching compiler now generates optimized code.Eduardo Julian3-506/+458
2014-12-26Added string testing & multi-branching to pattern-matching.Eduardo Julian2-5/+25
2014-12-26Pattern-matching has been enriched with sub-structural matching.Eduardo Julian2-44/+100
2014-12-26Reimplemented basic pattern-matching.Eduardo Julian5-94/+581
2014-12-21The machinery is in place to allow loading modules at runtime.Eduardo Julian2-14/+23
2014-12-21Now compiling module contants as separate classes with single data fields.Eduardo Julian1-26/+26
2014-12-20* Java interop is almost finished.Eduardo Julian6-39/+218
% _. and _.. syntax has been replaced with ::
2014-12-20Removed ann-class, cleaned-up some old commented-out code & turned-off the ↵Eduardo Julian3-105/+27
enabled logging.
2014-12-19Now the language has full closures.Eduardo Julian3-156/+231
2014-12-19Almost finished implementing closures.Eduardo Julian3-51/+134
2014-12-18Now folding the classes for lambdas and putting the implementation code ↵Eduardo Julian1-74/+105
inside the classes, not inside the module.
2014-12-18All the classes that used to be generated per function have now been folded ↵Eduardo Julian2-81/+128
into one.
2014-12-16Added some pseudo pattern-matching (only extracting simple data, without ↵Eduardo Julian4-73/+140
exploring inner structure or doing any testing).
2014-12-16+ Strings now have escape characters.Eduardo Julian5-26/+78
+ Characters have been added. % Unicode support is missing...
2014-12-15Added ints and floats.Eduardo Julian4-7/+32
2014-12-15Added "do" expressions.Eduardo Julian4-5/+26
2014-12-15Added lambdas! (not yet real closures, but coming soon...)Eduardo Julian5-27/+186
2014-12-15Added tuples.Eduardo Julian3-92/+21
2014-12-14Now defining functions as classes inheriting Function.Eduardo Julian2-25/+122
2014-12-14Added module imports.Eduardo Julian4-36/+84
2014-12-14Added Java class imports.Eduardo Julian4-22/+91
2014-12-13+ Removed "module" special form.Eduardo Julian4-25/+15
+ Fixed a bug that was preventing multi-line comments from being truly multi-line.
2014-12-12Added let (local vars).Eduardo Julian4-10/+31
2014-12-12Analyser can now distinguish between local and global vars & point the ↵Eduardo Julian3-39/+57
compiler to the right place to look for data.
2014-12-11+ Added an analysis phase.Eduardo Julian5-96/+423
+ Added a type-system.
2014-12-09Now compiling tagged values.Eduardo Julian2-3/+34
2014-12-09Now can define constants in modules.Eduardo Julian2-5/+23
2014-12-09Modules can now contain definitions of simple interfaces, with only method ↵Eduardo Julian2-13/+36
declarations.
2014-12-08Can now define inside modules: simple classes with public fields.Eduardo Julian3-2/+30