Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implementing `repr` for JS (#5578) | Silvio | 2017-03-31 | 1 | -9/+43 |
| | |||||
* | Merge remote-tracking branch 'origin/concepts-rebased' into araq | Andreas Rumpf | 2017-03-31 | 1 | -0/+2 |
|\ | |||||
| * | introduce tyInferred for the unbound concept type params | Zahary Karadjov | 2017-03-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Why is tyInferred needed? The bindings in TCandidate are capable of inferring types within a single call expression. In concepts, we need to infer types in the same way, but across the whole body of the concept. Previously, once a concept type param was inferred, it was destructively mutated using t.assignType, but this proved to be problematic in the presence of overloads, because the bindings established while a non-matching overload is tested must be reverted/forgotten. tyInferred offers a non-destructive way to keep track of the inference progress. While introducing new types usually requires a lot of code paths in the compiler to updated, currently tyInferred is only a short-lived type within the concept body pass and it's unlikely to introduce breakage elsewhere in the compiler. | ||||
* | | added a codegen note | Andreas Rumpf | 2017-03-29 | 1 | -0/+1 |
|/ | |||||
* | Fixes #5062 (#5527); JS: holes in enums | Silvio | 2017-03-15 | 1 | -9/+1 |
| | |||||
* | Merge branch 'devel' into faster-nimsuggest | Andreas Rumpf | 2017-02-24 | 1 | -1/+1 |
|\ | |||||
| * | removed compiler internal list implementation (#5371) | Arne Döring | 2017-02-22 | 1 | -1/+1 |
| | | |||||
* | | big compiler refactoring; avoid globals for multi method dispatcher generation | Andreas Rumpf | 2017-02-22 | 1 | -4/+4 |
|/ | |||||
* | made nodecl implicit for vars in the js backend. (#5297) | Michael Jendrusch | 2017-01-29 | 1 | -1/+1 |
| | |||||
* | fix genderef of jsgen (#5274) | shsnow23 | 2017-01-24 | 1 | -1/+1 |
| | |||||
* | Fixes #5271 (#5273) | Yuriy Glukhov | 2017-01-24 | 1 | -1/+2 |
| | |||||
* | Fixup #5240 (#5270) | Yuriy Glukhov | 2017-01-23 | 1 | -2/+2 |
| | |||||
* | fixes #5234 (#5240) | Michael Jendrusch | 2017-01-20 | 1 | -7/+29 |
| | |||||
* | Fixes #5244 (#5245) | Yuriy Glukhov | 2017-01-18 | 1 | -0/+1 |
| | |||||
* | Removed mangling of object fields for the js target only. (#5226) | Michael Jendrusch | 2017-01-17 | 1 | -8/+7 |
| | | | | | | | | * removed mangling of object fields for the js target only. * changed default mangling behaviour for the php target as well. * Added test for unorthodox field names (reserved words and operators). Adjusted field accessors and object constructors / new to be ECMAScript first edition compatible, when using fieldnames which are reserved words. | ||||
* | happy new year | Araq | 2017-01-07 | 1 | -3/+3 |
| | |||||
* | removed tyArrayConstr completely from the compiler; introduced tyAlias ↵ | Araq | 2016-11-14 | 1 | -13/+12 |
| | | | | instead in preparation for further bugfixes | ||||
* | new dependency tracking for nimsuggest | Araq | 2016-11-05 | 1 | -2/+4 |
| | |||||
* | refactoring complete: explicit ident cache | Araq | 2016-10-31 | 1 | -1/+1 |
| | |||||
* | clean up tyMutable remnants | Jacek Sieka | 2016-10-24 | 1 | -3/+2 |
| | |||||
* | clean up tyConst remnants | Jacek Sieka | 2016-10-24 | 1 | -2/+2 |
| | |||||
* | clean up tyBigNum remnants | Jacek Sieka | 2016-10-24 | 1 | -4/+3 |
| | |||||
* | remove remnants of tyIter | Jacek Sieka | 2016-10-24 | 1 | -1/+2 |
| | |||||
* | JS: Fixed ICE on ptr assignment | Yuriy Glukhov | 2016-09-20 | 1 | -6/+14 |
| | |||||
* | fixes #4673 | Andreas Rumpf | 2016-09-01 | 1 | -1/+1 |
| | |||||
* | Fixed codegen for asmNoStackFrame pragma. More bulletproof frame restoration. | Yuriy Glukhov | 2016-08-27 | 1 | -6/+8 |
| | |||||
* | Restore framePtr after exceptions | Yuriy Glukhov | 2016-08-27 | 1 | -4/+10 |
| | |||||
* | Fixed js codegen issue for uncaught exceptions. | Yuriy Glukhov | 2016-08-27 | 1 | -1/+2 |
| | |||||
* | minor things | Andreas Rumpf | 2016-08-24 | 1 | -1/+1 |
| | |||||
* | fixes #4632 | Andreas Rumpf | 2016-08-23 | 1 | -8/+9 |
| | |||||
* | Fix using ptr to seq in js backend. | Hans Raaf | 2016-08-07 | 1 | -2/+9 |
| | | | | | | I suddenly got ReferenceError exceptions for some of the code which is using etyBaseIndex ptr. Initialising the xxx_Idx part of the variable fixes this problem. | ||||
* | stdlib and compiler don't use .immediate anymore | Andreas Rumpf | 2016-07-29 | 1 | -1/+1 |
| | |||||
* | fixes #4496 | Andreas Rumpf | 2016-07-18 | 1 | -1/+1 |
| | |||||
* | added system.newSeqOfCap for improved efficiency | Andreas Rumpf | 2016-07-15 | 1 | -0/+1 |
| | |||||
* | fixes #3706 | Andreas Rumpf | 2016-07-13 | 1 | -1/+10 |
| | |||||
* | fixes #4471 | Andreas Rumpf | 2016-07-12 | 1 | -3/+15 |
| | |||||
* | fixes a critical JS codegen bug which caused 'importcpp' statements not to ↵ | Andreas Rumpf | 2016-07-11 | 1 | -0/+1 |
| | | | | be emitted | ||||
* | fixes a strange JS codegen bug | Andreas Rumpf | 2016-07-11 | 1 | -0/+2 |
| | |||||
* | undocumented feature: JS backend: unit and group separators generate hash ↵ | Andreas Rumpf | 2016-07-09 | 1 | -1/+9 |
| | | | | and at symbols | ||||
* | Fixes a critical JS codegen bug about @ in call pattern | Andreas Rumpf | 2016-07-08 | 1 | -0/+1 |
| | |||||
* | fixes #4371 | Andreas Rumpf | 2016-07-08 | 1 | -1/+1 |
| | |||||
* | Repr now works in js for enums starting with non-zero. | Yuriy Glukhov | 2016-07-05 | 1 | -1/+9 |
| | |||||
* | PHP codegen: code works with PHP 5.3 (with some luck) | Andreas Rumpf | 2016-06-23 | 1 | -1/+23 |
| | |||||
* | PHP backend: proper setLen implementation | Andreas Rumpf | 2016-06-21 | 1 | -2/+3 |
| | |||||
* | system. for cstrings uses value comparisons, not reference comparisons | Andreas Rumpf | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | Fixes #4222 | Yuriy Glukhov | 2016-05-26 | 1 | -4/+4 |
| | |||||
* | PHP codegen improvements | Andreas Rumpf | 2016-05-13 | 1 | -1/+1 |
| | |||||
* | JS target improvements | Andreas Rumpf | 2016-04-29 | 1 | -2/+5 |
| | |||||
* | fixes a critical PHP codegen bug | Andreas Rumpf | 2016-04-29 | 1 | -8/+11 |
| | |||||
* | Fix PHP and JS codegen to not escape single quotes in strings anymore. | Hans Raaf | 2016-03-14 | 1 | -1/+0 |
| |