Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | arc optimizations (#13325) | Andreas Rumpf | 2020-03-18 | 1 | -1/+1 |
| | | | | | * scope based destructors * handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim * make this branch mergable, logic is disabled for now | ||||
* | make case-object transitions explicit, make unknownLineInfo a const, replace ↵ | Jasper Jenkins | 2020-01-17 | 1 | -3/+3 |
| | | | | a few magic numbers with consts (#13170) | ||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -65/+63 |
| | | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls | ||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -8/+8 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -1/+1 |
| | |||||
* | fixes #10912 (#11317) | Andreas Rumpf | 2019-05-24 | 1 | -3/+3 |
| | | | | | | * fixes #10912 * update the tutorial examples | ||||
* | rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) | Arne Döring | 2019-05-11 | 1 | -1/+1 |
| | |||||
* | Replace countup(x, y) with x .. y | Clyybber | 2019-05-07 | 1 | -2/+2 |
| | |||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -10/+10 |
| | |||||
* | multi-methods need to be explicitly enabled (#10856) | Miran | 2019-03-18 | 1 | -0/+3 |
| | | | | | | * multi-methods need to be explicitly enabled * update changelog, manual and tutorial | ||||
* | multi-methods: remove hack, make tmethod_various compile under strict C++ ↵ | Andreas Rumpf | 2019-03-14 | 1 | -11/+11 |
| | | | | [backport] | ||||
* | compiler refactoring: TSymSeq is gone for good | Araq | 2018-12-11 | 1 | -3/+3 |
| | |||||
* | Change the order of compilation passes, transformation is made lazy at code ↵ | cooldome | 2018-10-18 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | gen (#8489) * Ast no transformation * Add getImplNoTransform to the macros module * progress on delaying transf * Fix methods tranformation * Fix lazy lambdalifting * fix create thread wrapper * transform for lambda lifting * improve getImplTransformed * Fix destructor tests * try to fix nimprof for linux | ||||
* | fixes #5479 | Araq | 2018-10-02 | 1 | -2/+2 |
| | |||||
* | Pick the `and` symbol we need explicitly (#8249) | LemonBoy | 2018-07-08 | 1 | -2/+2 |
| | | | | | | | Using getSysSym made the compiler pick a random `and` symbol: if the symbol table is shuffled we may end up selecting one of the wrong overloads. Fixes #8246 | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-05-18 | 1 | -1/+1 |
| | |||||
* | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 1 | -3/+3 |
| | |||||
* | pragmas compiles again | Andreas Rumpf | 2018-05-11 | 1 | -22/+23 |
| | |||||
* | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -1/+1 |
| | |||||
* | Fixes #5946 (#6017) | Yuriy Glukhov | 2017-06-26 | 1 | -2/+3 |
| | |||||
* | fixes multiple nil-checks for methods (#5806) | Parashurama | 2017-05-12 | 1 | -3/+6 |
| | |||||
* | fixes #5599 (#5610) | Andreas Rumpf | 2017-03-26 | 1 | -2/+8 |
| | |||||
* | fixes #5432 | Araq | 2017-02-26 | 1 | -1/+2 |
| | |||||
* | another attempt to make test green again | Araq | 2017-02-24 | 1 | -2/+10 |
| | |||||
* | fixes a multimethod regression | Andreas Rumpf | 2017-02-24 | 1 | -6/+9 |
| | |||||
* | big compiler refactoring; avoid globals for multi method dispatcher generation | Andreas Rumpf | 2017-02-22 | 1 | -24/+26 |
| | |||||
* | removed tyArrayConstr completely from the compiler; introduced tyAlias ↵ | Araq | 2016-11-14 | 1 | -2/+2 |
| | | | | instead in preparation for further bugfixes | ||||
* | some progress on --symbolfiles:on | Andreas Rumpf | 2016-11-02 | 1 | -2/+3 |
| | |||||
* | tester cleanup; enable some rod tests | Araq | 2016-08-27 | 1 | -2/+3 |
| | |||||
* | generic multi-methods should work now | Andreas Rumpf | 2016-07-28 | 1 | -2/+2 |
| | |||||
* | fixes #4428 | Andreas Rumpf | 2016-07-19 | 1 | -2/+8 |
| | |||||
* | fix issue #3550 | trustable-code | 2015-12-24 | 1 | -4/+1 |
| | |||||
* | better error handling for bug #3550 | Araq | 2015-11-18 | 1 | -2/+2 |
| | |||||
* | fixes #3550 | Araq | 2015-11-18 | 1 | -1/+6 |
| | |||||
* | fixes #3431, fixes #3370, fixes #3468 | Araq | 2015-10-25 | 1 | -3/+4 |
| | |||||
* | Fixed ret by var in js | Yuriy Glukhov | 2015-10-15 | 1 | -2/+1 |
| | |||||
* | fixes #2590; methods now require a .base annotation | Araq | 2015-09-06 | 1 | -9/+26 |
| | |||||
* | compiler: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -42/+42 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | Merge branch 'devel' into bigbreak | Araq | 2014-11-03 | 1 | -23/+64 |
|\ | | | | | | | | | Conflicts: lib/pure/osproc.nim | ||||
| * | Fix dispatcher creation for method prototypes. | Reimer Behrends | 2014-11-02 | 1 | -24/+64 |
| | | | | | | | | | | | | | | | | When method prototypes were involved (e.g. forward declarations for mutual recursion), calls were sometimes dispatched to the wrong method implementation. One of the reasons was that method dispatchers were then not always attached to method ASTs in the correct place. | ||||
| * | Reset location when creating a method dispatcher | Reimer Behrends | 2014-11-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | When creating a method dispatcher, the location of the underlying method was copied. Under some circumstances, the name of the location (loc.r) was already initialized, in which case the method dispatcher shared a name with one of the methods, leading to a C compiler error. By setting loc.r to nil when copying the dispatcher information from the original method, we ensure that the dispatcher C function gets its proper name. | ||||
* | | updated the compiler to use the new symbol names | Araq | 2014-08-28 | 1 | -3/+3 |
| | | |||||
* | | Nimrod renamed to Nim | Araq | 2014-08-28 | 1 | -1/+1 |
|/ | |||||
* | implemented region pointers | Araq | 2014-04-09 | 1 | -2/+2 |
| | |||||
* | 'nil' as a statement is deprecated, use an empty 'discard' instead | Araq | 2014-01-19 | 1 | -1/+1 |
| | |||||
* | case consistency part 4 | Araq | 2013-12-27 | 1 | -8/+8 |
| | |||||
* | case consistency part 1 | Araq | 2013-12-27 | 1 | -3/+3 |
| | |||||
* | fixes #332 | Araq | 2013-03-17 | 1 | -2/+2 |
| | |||||
* | Removes executable bit for text files. | Grzegorz Adam Hankiewicz | 2013-03-16 | 1 | -0/+0 |
| |