aboutsummaryrefslogtreecommitdiff
path: root/luxc/src/lux.clj (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-03-21- Can now select between JVM and JS compilation, based on command-line ↵Eduardo Julian1-4/+4
parameters.
2017-01-29- Major refactoring to make it easier to introduce the new (JS) backend.Eduardo Julian1-1/+0
2017-01-26- Changed the license from MPL 2.0 to MIT.Eduardo Julian1-5/+0
2017-01-25- Improved Lux error messages by ensuring the cursor is always present.Eduardo Julian1-1/+1
2017-01-25- Renamed lux/data/struct/tree to lux/data/struct/tree/rose.Eduardo Julian1-5/+5
- Moved lux/data/struct/zipper to lux/data/struct/tree/zipper. - Moved lux/regex to lux/lexer/regex. - Changed the suffix of annotation tags, from M to A. - Renamed Frac(tional) numbers to Deg(rees).
2017-01-11- Fixed some bugs in the REPL.Eduardo Julian1-2/+4
2016-12-07- Removed some comments that slipped in with the code.Eduardo Julian1-14/+0
2016-12-01- Collected the Lux compiler's repo, the Standard Library's, the Leiningen ↵Eduardo Julian1-0/+14
plugin's and the Emacs mode's into a big monorepo, to keep development unified.
2016-10-30- Fixed a bug in how the output-dir and output-package are handled.Eduardo Julian1-4/+4
- Now taking output-dir from command-line arguments.
2016-10-25- Improved the way resources and source code are handled.Eduardo Julian1-6/+17
2016-04-18- The compiler now takes the list of directories on which to look for source ↵Eduardo Julian1-9/+6
code during compilation.
2016-03-12- Added a REPL mode.Eduardo Julian1-3/+7
2016-02-17- Added CompilerMode and CompilerInfo data to the Compiler state.Eduardo Julian1-1/+7
- Removed the (now unnecessary #;eval? tag).
2015-12-02- Made a variety of refactorings and minor changes.Eduardo Julian1-3/+1
- Generic class definitions are halfway done.
2015-11-15- _jvm_ null must now be written as a form.Eduardo Julian1-7/+1
2015-10-04- Removed the Lux source from the repo, as it now belongs to the lux/stdlib ↵Eduardo Julian1-5/+0
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.
2015-09-30- Changed the license in the project.clj file (had forgotten until now).Eduardo Julian1-1/+1
- Some minor updates to the standard library. - Some minor bug fixes & improvements. - program.lux has been removed.
2015-09-27- Lux programs can now use libraries for both the JVM (.jar files) and pure ↵Eduardo Julian1-8/+20
Lux code (.tar.gz files). - Fixed a bug regarding indices and loading/storing from/to arrays.
2015-08-28Changed the license from EPL to MPL.Eduardo Julian1-7/+4
2015-07-29- lux;using no longer prefixes variables.Eduardo Julian1-5/+7
- Fixed several bugs with host (JVM) interop. - Now packaging everything in a .jar file ("program.jar").
2015-07-25- The output directory is now being used as the cache.Eduardo Julian1-3/+1
- "input" has been renamed as "source" and "output" has been renamed as "target".
2015-07-24- Fixed an error when compiling Java field access (both static & virtual).Eduardo Julian1-1/+1
- Fixed some errors regarding cache loading.
2015-07-19Added copyright notice on all files that missed it.Eduardo Julian1-0/+8
2015-05-22- Corrected the indentation issues in the lux files.Eduardo Julian1-1/+4
- Temporarily reverted back to forward apply-analysis. - Fixed an error in lux.base/show-ast. - Reader now only returns a tuple instead of a full-blown #Meta variant. - Reader now doesn't cut the strings that it reads. Instead, the "cursor" just moves around, indicating where to read. - Inlined some calculations that previously relied on try-all%.
2015-05-14- Removed the apparently unnecessary total-locals.Eduardo Julian1-2/+0
2015-05-06- Removed all the unnecesary comments.Eduardo Julian1-10/+0
- Made some changes to the way type-checking is performed on variants, records & tuples in order to improve the speed of type-checking.
2015-05-04v0.1Eduardo Julian1-1/+2
2015-05-04- Added the LuxVar type to properly specify the type of environment bindings.Eduardo Julian1-0/+7
- Implemented "using". - Implemented jvm-program. - Corrected some primitive (un)wrapping errors in lux.compiler.host. - jvm-program is now scoped to enable local variables. - The types of definitions are now stored within the module dictionary. - Added a "main" method that just compiles program.lux.
2015-05-04- Added alias-lux to import lux.lux definitions.Eduardo Julian1-0/+2
- Fixed a few bugs both in lux.lux & the compiler. - Added exports to the language.
2015-05-01- Added existential types via #ExT.Eduardo Julian1-9/+1
- Removed the (now useless) lux.type/is-Type? function.
2015-05-01Optimized the compiler with 2 tweaks:Eduardo Julian1-3/+0
- Compilation units are not longer wrapped inside Expression/Statement variants. - analyse-apply* no longer returns lists.
2015-04-17- Solved the bug wherein type-inferencing was causing computational ↵Eduardo Julian1-1/+0
complexity to explode and cause the compiler to become very slow (solved it by removing type-inference from tuples). - Also removed type-inference from functions/lambdas. - Added a small optimization to improve the efficiency of type-checking by not doing a thorough type-check when a global or local binding has a type variant with the same cases as Type, and it's exo-type is also like this (hopefully, it will never happen that someone will exploit this to make the compiler do something weird...)
2015-04-16- Type-vars can now be deleted and be scoped (through with-var).Eduardo Julian1-1/+5
- Fixed a few bugs with types and pattern-matching. - Fixed a bug wherein primitive-analysis did now unify the primitive type with the exotype. - Modified lambda-analysis so functions subject to universal quantification can manage better the universally-quantified variables.
2015-03-30- Beginning to add type-system + type-inferencer.Eduardo Julian1-0/+1
- Removed exec, get@' & set@' special forms, as they are not primitive enough as to be part of the language.
2015-03-22- Fixed the bug that caused the infinite look while compiling the file.Eduardo Julian1-4/+2
2015-03-21- Added module-name aliasing.Eduardo Julian1-1/+0
2015-03-20[2nd Super Refactoring That Breaks The System: Part 6]Eduardo Julian1-0/+2
- Corrected more bugs in the system.
2015-03-19[2nd Super Refactoring That Breaks The System: Part 5]Eduardo Julian1-4/+5
- Changed indents to symbols. - Corrected some of the bugs in the system. Many more still awaiting fixes.
2015-03-17[2nd Super Refactoring That Breaks The System: Part 2]Eduardo Julian1-0/+1
- Compiler-state is now using Lux record-format. - Went from Error+Ok to Left+Right.
2015-03-15[2nd Super Refactoring That Breaks The System: Part 1]Eduardo Julian1-4/+0
- Finishing implementing the type-system. - Migrating more of the data-structures used in the compiler to the ones used by Lux itself.
2015-03-12- Added program creation (generates the "main" method).Eduardo Julian1-2/+3
- Added invokespecial & invokeinterface. - Added putstatic & putfield. - Corrected primitive conversions & bitwise operators to take into account (un)boxing.
2015-03-12- Added a special form for testing if references are null.Eduardo Julian1-6/+0
- Added bitwise operators. - Added synchronization primitives (monitor enter & exit). - Added exception-handling. - Added conversions between primitive values.
2015-03-10- Added null values as jvm-null.Eduardo Julian1-3/+7
2015-03-10- Modified the compiler so parser syntax tokens are stored in the same ↵Eduardo Julian1-1/+0
format as lux data-structures, to ease communication between the compiler & macros.
2015-03-08- The implementation of monadic macros is finally finished.Eduardo Julian1-1/+0
2015-03-08- Changed once more the syntax of the prefix for host special forms. It's ↵Eduardo Julian1-1/+1
now "jvm-" instead of "jvm;" - Fixed the bug where the same local vars/registers were getting registered more than once and the class-verifier complained. - Fixed a bug where the "end label" for pattern-matching bodies was never inserted. - Simplified the analyser by removing "self" calls and having self be just a local for the "this" object (register 0). - Removed the lambda-folding optimization. - The compiler state now holds and environment for naming globally-scoped lambdas.
2015-03-02- Removed the (currently broken) static-call optimization.Eduardo Julian1-4/+1
- Added a list of optimizations to do in the future (after the language is functionally complete).
2015-03-01[TODO]Eduardo Julian1-0/+2
- For some reason, when I fail at compilation due to mistaken use of tags/variants, I don't get the right error reported. [Fixes] - Solved a problem where stack values weren't being properly cleaned-up when pattern-matching on variants and branch bodies.
2015-03-01- Fixed some bugs with pattern matching and macros.Eduardo Julian1-0/+2
- Simplified the code for handling definitions and macros. - Slightly changed the names of the fields of tuple classes. - Added a (currently empty) optimization phase.
2015-02-18Corrections to the super-refactoring: part 4Eduardo Julian1-8/+4