aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #29 from LuxLang/js_portLuxLang2017-03-2463-4619/+8877
|\ | | | | Js port
| * - Added code for the special case of dividing by a 32-bit divisor.Eduardo Julian2017-03-241-10/+65
| |
| * - Fixed some bugs in the common procedures.Eduardo Julian2017-03-241-3/+3
| |
| * - LuxRT functions/constants now live in the top-level namespace, instead of ↵Eduardo Julian2017-03-224-382/+321
| | | | | | | | inside a LuxRT object.
| * - Now packaging the complete JS code.Eduardo Julian2017-03-216-35/+87
| |
| * - Can now select between JVM and JS compilation, based on command-line ↵Eduardo Julian2017-03-213-13/+14
| | | | | | | | parameters.
| * - Fixed a bug when compiling the ["io" "exit"] procedure on the JVM.Eduardo Julian2017-03-211-1/+2
| |
| * - Fixed a bug when hashing the module files when loading the cache.Eduardo Julian2017-03-211-2/+2
| |
| * - Implemented Nat division, using a partial implementation of big integers.Eduardo Julian2017-03-211-4/+220
| |
| * - Implemented custom JS host procedures.Eduardo Julian2017-03-1510-6/+317
| |
| * - Implemented missing degree functions.Eduardo Julian2017-03-131-409/+100
| |
| * - The compiler can now load specialized modules, depending on the ↵Eduardo Julian2017-03-124-85/+97
| | | | | | | | host-platform being targetted.
| * - Implemented natural decoding.Eduardo Julian2017-03-122-177/+44
| | | | | | - Implemented the _lux_program statement.
| * - Partially implemented natural division and remainder.Eduardo Julian2017-03-111-165/+62
| | | | | | | | | | - Fixed a bug in the sum_get RT function. - Implemented decoding for integers. - Fixed some bugs in LuxRT functions.
| * - Turned the wrapper for chars into a type, for detection when transforming ↵Eduardo Julian2017-03-111-10/+15
| | | | | | | | | | values from JS to Lux. - Now replacing dashes for underscores in module names during compilation.
| * - Now resetting the mappings of the type-vars to avoid having undead ↵Eduardo Julian2017-03-112-4/+18
| | | | | | | | type-vars interfering with compilation.
| * - Added temporary implementations for Nat division and remainder.Eduardo Julian2017-03-051-1/+40
| | | | | | - Fixed a bug in the RT function for counting bits.
| * - Fixed a bug in which the value of a loop wasn't being returned.Eduardo Julian2017-03-021-4/+2
| |
| * - Fixed some bugs when compiling pattern-matching.Eduardo Julian2017-02-281-7/+9
| |
| * - console.log is now defined when starting compilation, and not when LuxRT ↵Eduardo Julian2017-02-272-3/+3
| | | | | | | | is compiled, to avoid issues when compiling a partially-cached program.
| * - Fixed a bug when compiling pattern-matching comparisons for several types.Eduardo Julian2017-02-271-4/+7
| |
| * - Implemented degree encoding.Eduardo Julian2017-02-271-245/+54
| |
| * - Fixed some bugs when compiling common procedures in JS.Eduardo Julian2017-02-271-2/+2
| |
| * - Now accepting JS objects as valid values (necessary for objects encoding ↵Eduardo Julian2017-02-271-1/+3
| | | | | | | | atoms).
| * - Added try-catch procedure to JS backend.Eduardo Julian2017-02-262-2/+20
| |
| * - Added a new try-catch procedure.Eduardo Julian2017-02-265-7/+51
| |
| * - Implemented new IO procedures for JS.Eduardo Julian2017-02-261-1/+12
| |
| * - Increased the fixpoints limit to 64.Eduardo Julian2017-02-261-8/+8
| |
| * - Implemented math procedures for JS.Eduardo Julian2017-02-265-14/+68
| | | | | | - Degree<->radian conversions are no longer math procedures.
| * - Implemented bitwise operations in JS.Eduardo Julian2017-02-262-55/+107
| |
| * - Implemented "atom" and "process" procedures for JS.Eduardo Julian2017-02-261-13/+74
| |
| * - Exiting the program and getting the current time (in milliseconds) is now ↵Eduardo Julian2017-02-254-16/+49
| | | | | | | | done through procedures.
| * - Re-designed (and implemented) the primitives for running processes/threads ↵Eduardo Julian2017-02-236-45/+186
| | | | | | | | as Lux procedures.
| * - Re-designed atomic operations as common procedures.Eduardo Julian2017-02-237-80/+156
| | | | | | | | - Implemented atomic operations for the JVM. - Basic Lux types no longer rely on JVM classes.
| * - Fixed a bug in the way the low and high 32 bits in a long were extracted ↵Eduardo Julian2017-02-221-2/+2
| | | | | | | | and cast to ints.
| * - Implemented a variety of new procedures for text, chars, math and arrays.Eduardo Julian2017-02-2210-193/+564
| |
| * - No longer (uselessly) loading classes right after they get saved.Eduardo Julian2017-02-221-2/+2
| |
| * - Fixed a bug in the way characters where getting compiled to JS.Eduardo Julian2017-02-221-1/+1
| |
| * - The lexer can now recognize a escape-character for vertical tabs (\v).Eduardo Julian2017-02-221-0/+4
| |
| * - Now making sure custom analysis of per-platform procedures requires that ↵Eduardo Julian2017-02-222-2/+3
| | | | | | | | the compiler is running for the correct host platform.
| * - Made some optimizations.Eduardo Julian2017-02-2110-217/+212
| | | | | | | | - Compiler can now distinguish between JVM and JS host state. - Now, complex (with subtyping) type-checking can be done only during JVM compilation.
| * - Implemented caching mechanisms for JS.Eduardo Julian2017-02-202-33/+73
| |
| * - Now saving all the JS in a single file, instead of multiple files.Eduardo Julian2017-02-201-1/+33
| |
| * - Changed the order the cache is loaded.Eduardo Julian2017-02-201-3/+3
| |
| * - Some minor refactoring.Eduardo Julian2017-02-203-12/+10
| |
| * - Separated the platform-independent and platform-dependent components of ↵Eduardo Julian2017-02-194-238/+273
| | | | | | | | the caching mechanism.
| * - Now storing the compiler's version and the module-file's hash inside the ↵Eduardo Julian2017-02-195-26/+24
| | | | | | | | module-descriptor, instead of .class files (to make it reusable across different compiler targets).
| * - Added support for the new common procedures to the JVM backend.Eduardo Julian2017-02-174-64/+177
| | | | | | - Fixed some bugs.
| * - Added "assume" into list of recognized macros.Eduardo Julian2017-02-171-1/+1
| |
| * - Added more common procedures.Eduardo Julian2017-02-179-96/+145
| | | | | | | | | | | | | | - Fixed some bugs in the type-checking of some common procedures. - Removed the "_name" field for generated classes. - Now compiling loops in JS. - Did some refactoring to the caching machinery. - Implemented binary, octal and hexadecimal encoding purely in Lux.