Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #29 from LuxLang/js_port | LuxLang | 2017-03-24 | 63 | -4619/+8877 |
|\ | | | | | Js port | ||||
| * | - Added code for the special case of dividing by a 32-bit divisor. | Eduardo Julian | 2017-03-24 | 1 | -10/+65 |
| | | |||||
| * | - Fixed some bugs in the common procedures. | Eduardo Julian | 2017-03-24 | 1 | -3/+3 |
| | | |||||
| * | - LuxRT functions/constants now live in the top-level namespace, instead of ↵ | Eduardo Julian | 2017-03-22 | 4 | -382/+321 |
| | | | | | | | | inside a LuxRT object. | ||||
| * | - Now packaging the complete JS code. | Eduardo Julian | 2017-03-21 | 6 | -35/+87 |
| | | |||||
| * | - Can now select between JVM and JS compilation, based on command-line ↵ | Eduardo Julian | 2017-03-21 | 3 | -13/+14 |
| | | | | | | | | parameters. | ||||
| * | - Fixed a bug when compiling the ["io" "exit"] procedure on the JVM. | Eduardo Julian | 2017-03-21 | 1 | -1/+2 |
| | | |||||
| * | - Fixed a bug when hashing the module files when loading the cache. | Eduardo Julian | 2017-03-21 | 1 | -2/+2 |
| | | |||||
| * | - Implemented Nat division, using a partial implementation of big integers. | Eduardo Julian | 2017-03-21 | 1 | -4/+220 |
| | | |||||
| * | - Implemented custom JS host procedures. | Eduardo Julian | 2017-03-15 | 10 | -6/+317 |
| | | |||||
| * | - Implemented missing degree functions. | Eduardo Julian | 2017-03-13 | 1 | -409/+100 |
| | | |||||
| * | - The compiler can now load specialized modules, depending on the ↵ | Eduardo Julian | 2017-03-12 | 4 | -85/+97 |
| | | | | | | | | host-platform being targetted. | ||||
| * | - Implemented natural decoding. | Eduardo Julian | 2017-03-12 | 2 | -177/+44 |
| | | | | | | - Implemented the _lux_program statement. | ||||
| * | - Partially implemented natural division and remainder. | Eduardo Julian | 2017-03-11 | 1 | -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 Julian | 2017-03-11 | 1 | -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 Julian | 2017-03-11 | 2 | -4/+18 |
| | | | | | | | | type-vars interfering with compilation. | ||||
| * | - Added temporary implementations for Nat division and remainder. | Eduardo Julian | 2017-03-05 | 1 | -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 Julian | 2017-03-02 | 1 | -4/+2 |
| | | |||||
| * | - Fixed some bugs when compiling pattern-matching. | Eduardo Julian | 2017-02-28 | 1 | -7/+9 |
| | | |||||
| * | - console.log is now defined when starting compilation, and not when LuxRT ↵ | Eduardo Julian | 2017-02-27 | 2 | -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 Julian | 2017-02-27 | 1 | -4/+7 |
| | | |||||
| * | - Implemented degree encoding. | Eduardo Julian | 2017-02-27 | 1 | -245/+54 |
| | | |||||
| * | - Fixed some bugs when compiling common procedures in JS. | Eduardo Julian | 2017-02-27 | 1 | -2/+2 |
| | | |||||
| * | - Now accepting JS objects as valid values (necessary for objects encoding ↵ | Eduardo Julian | 2017-02-27 | 1 | -1/+3 |
| | | | | | | | | atoms). | ||||
| * | - Added try-catch procedure to JS backend. | Eduardo Julian | 2017-02-26 | 2 | -2/+20 |
| | | |||||
| * | - Added a new try-catch procedure. | Eduardo Julian | 2017-02-26 | 5 | -7/+51 |
| | | |||||
| * | - Implemented new IO procedures for JS. | Eduardo Julian | 2017-02-26 | 1 | -1/+12 |
| | | |||||
| * | - Increased the fixpoints limit to 64. | Eduardo Julian | 2017-02-26 | 1 | -8/+8 |
| | | |||||
| * | - Implemented math procedures for JS. | Eduardo Julian | 2017-02-26 | 5 | -14/+68 |
| | | | | | | - Degree<->radian conversions are no longer math procedures. | ||||
| * | - Implemented bitwise operations in JS. | Eduardo Julian | 2017-02-26 | 2 | -55/+107 |
| | | |||||
| * | - Implemented "atom" and "process" procedures for JS. | Eduardo Julian | 2017-02-26 | 1 | -13/+74 |
| | | |||||
| * | - Exiting the program and getting the current time (in milliseconds) is now ↵ | Eduardo Julian | 2017-02-25 | 4 | -16/+49 |
| | | | | | | | | done through procedures. | ||||
| * | - Re-designed (and implemented) the primitives for running processes/threads ↵ | Eduardo Julian | 2017-02-23 | 6 | -45/+186 |
| | | | | | | | | as Lux procedures. | ||||
| * | - Re-designed atomic operations as common procedures. | Eduardo Julian | 2017-02-23 | 7 | -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 Julian | 2017-02-22 | 1 | -2/+2 |
| | | | | | | | | and cast to ints. | ||||
| * | - Implemented a variety of new procedures for text, chars, math and arrays. | Eduardo Julian | 2017-02-22 | 10 | -193/+564 |
| | | |||||
| * | - No longer (uselessly) loading classes right after they get saved. | Eduardo Julian | 2017-02-22 | 1 | -2/+2 |
| | | |||||
| * | - Fixed a bug in the way characters where getting compiled to JS. | Eduardo Julian | 2017-02-22 | 1 | -1/+1 |
| | | |||||
| * | - The lexer can now recognize a escape-character for vertical tabs (\v). | Eduardo Julian | 2017-02-22 | 1 | -0/+4 |
| | | |||||
| * | - Now making sure custom analysis of per-platform procedures requires that ↵ | Eduardo Julian | 2017-02-22 | 2 | -2/+3 |
| | | | | | | | | the compiler is running for the correct host platform. | ||||
| * | - Made some optimizations. | Eduardo Julian | 2017-02-21 | 10 | -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 Julian | 2017-02-20 | 2 | -33/+73 |
| | | |||||
| * | - Now saving all the JS in a single file, instead of multiple files. | Eduardo Julian | 2017-02-20 | 1 | -1/+33 |
| | | |||||
| * | - Changed the order the cache is loaded. | Eduardo Julian | 2017-02-20 | 1 | -3/+3 |
| | | |||||
| * | - Some minor refactoring. | Eduardo Julian | 2017-02-20 | 3 | -12/+10 |
| | | |||||
| * | - Separated the platform-independent and platform-dependent components of ↵ | Eduardo Julian | 2017-02-19 | 4 | -238/+273 |
| | | | | | | | | the caching mechanism. | ||||
| * | - Now storing the compiler's version and the module-file's hash inside the ↵ | Eduardo Julian | 2017-02-19 | 5 | -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 Julian | 2017-02-17 | 4 | -64/+177 |
| | | | | | | - Fixed some bugs. | ||||
| * | - Added "assume" into list of recognized macros. | Eduardo Julian | 2017-02-17 | 1 | -1/+1 |
| | | |||||
| * | - Added more common procedures. | Eduardo Julian | 2017-02-17 | 9 | -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. |