aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2014-12-08Added modules.Eduardo Julian3-46/+85
2014-12-07Fixed the bug that was causing &lexer/lex-form to be used unbound.Eduardo Julian2-60/+40
2014-12-07Fixed bug that was causing function-calls to fail.Eduardo Julian1-2/+4
2014-12-07Cleaned up a lot of useless code and removed the state monad from the ↵Eduardo Julian4-574/+121
compilation phase (the ASM library already works as a state monad).
2014-12-04Now compiles booleans and ifs.Eduardo Julian3-7/+41
2014-12-02Added some super-basic type-system.Eduardo Julian5-17/+94
2014-12-01Doing some basic compilation.Eduardo Julian4-28/+147