Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | types refactoring; WIP (#23086) | Andreas Rumpf | 2023-12-17 | 1 | -1/+1 |
| | |||||
* | fixes yet another strictdefs bug (#23069) | ringabout | 2023-12-15 | 1 | -4/+1 |
| | |||||
* | use strictdefs for compiler (#22365) | ringabout | 2023-08-06 | 1 | -4/+36 |
| | | | | | | | | | | | | | | | * wip; use strictdefs for compiler * checkpoint * complete the chores * more fixes * first phase cleanup * Update compiler/bitsets.nim * cleanup | ||||
* | fixes #20572 (#20585) | Andreas Rumpf | 2022-10-17 | 1 | -1/+1 |
| | | | | | * fixes #20572 * added a test case | ||||
* | store full definition AST for consts, fix noRewrite (#20115) | metagn | 2022-09-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | * continue #9582 for consts, close #9331, fix #20114 also move extractPragma to ast to pave the way for things like {.strdefine: "abc".} etc * changelog correctly * fix jsgen * update tgetimpl * fix sighashes * fix #19766, add comment about postfix * fix noRewrite LOL refs #16620 * fix changelog * fix destructors | ||||
* | move assertions out of system (#19599) | flywind | 2022-03-23 | 1 | -0/+3 |
| | |||||
* | fix a typo (canonilization => canonicalization) (#18914) | flywind | 2021-09-28 | 1 | -1/+1 |
| | |||||
* | remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) | Timothee Cour | 2021-01-29 | 1 | -5/+2 |
| | | | | | | | | | * cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors * simplify nimNoNilSeqs2 * simplify nimNoNilSeqs * fixup | ||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -60/+59 |
| | | | | | | | | | | | | | | | | | | * 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 | -12/+12 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | [refactoring] compiler: simplified markUsed | Andreas Rumpf | 2019-08-08 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into araq-detect-unused-imports | Andreas Rumpf | 2019-07-18 | 1 | -2/+1 |
|\ | |||||
| * | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -2/+1 |
| | | |||||
* | | [feature] detect unused imports | Araq | 2019-07-17 | 1 | -1/+1 |
|/ | |||||
* | rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) | Arne Döring | 2019-05-11 | 1 | -2/+2 |
| | |||||
* | Replace countup(x, y) with x .. y | Clyybber | 2019-05-07 | 1 | -3/+3 |
| | |||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -2/+2 |
| | |||||
* | dfa.nim: track object/tuple field accesses more precisely; sink(o.x); ↵ | Araq | 2019-04-16 | 1 | -1/+1 |
| | | | | sink(o.y) needs to compile; activate the tuple unpacking transf.nim bugfix | ||||
* | fixes more nil handling regressions | Araq | 2018-08-13 | 1 | -2/+6 |
| | |||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -1/+4 |
| | |||||
* | style improvements | cooldome | 2018-06-12 | 1 | -1/+1 |
| | |||||
* | New approach | cooldome | 2018-06-12 | 1 | -1/+1 |
| | |||||
* | more modules compile again | Andreas Rumpf | 2018-05-12 | 1 | -2/+2 |
| | |||||
* | deprecated unary '<' | Andreas Rumpf | 2017-10-29 | 1 | -9/+9 |
| | |||||
* | big compiler refactoring; avoid globals for multi method dispatcher generation | Andreas Rumpf | 2017-02-22 | 1 | -1/+1 |
| | |||||
* | fixes #4371 | Andreas Rumpf | 2016-07-08 | 1 | -1/+1 |
| | |||||
* | Fixed tr pattern matching for varargs | Yuriy Glukhov | 2016-04-07 | 1 | -1/+1 |
| | |||||
* | compiler: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -5/+5 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | Introduce {.noRewrite.} expr pragma disabling TR | Adam Strzelecki | 2015-06-02 | 1 | -1/+3 |
| | | | | | | | | | | | | | | Term rewriting macros/templates are currently greedy and they will rewrite as long as there is a match. So there was no way to ensure some rewrite happens only once, eg. when rewriting term to same term plus extra content. With new macro we can actually prevent further rewriting on marked expr or stmts, eg. with given example echo(...) will be rewritten just once: template pwnEcho{echo(x)}(x: expr) = {.noRewrite.}: echo("pwned!") echo "ab" | ||||
* | Fix typos | Federico Ceratto | 2015-02-15 | 1 | -2/+2 |
| | |||||
* | fixes #206 | Araq | 2014-11-16 | 1 | -1/+1 |
| | |||||
* | Nimrod renamed to Nim | Araq | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | fixes #1285 | Araq | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | 'nil' as a statement is deprecated, use an empty 'discard' instead | Araq | 2014-01-19 | 1 | -2/+2 |
| | |||||
* | case consistency part 4 | Araq | 2013-12-27 | 1 | -6/+6 |
| | |||||
* | improvements for TR macros | Araq | 2013-09-17 | 1 | -9/+0 |
| | |||||
* | lazy paths for Babel support | Araq | 2012-12-11 | 1 | -0/+9 |
| | |||||
* | constraint now part of the parameter symbol and not of the type | Araq | 2012-12-05 | 1 | -2/+2 |
| | |||||
* | tr macros now documented | Araq | 2012-09-10 | 1 | -1/+1 |
| | |||||
* | first steps to deprecate 'nil' statement | Araq | 2012-09-09 | 1 | -3/+0 |
| | |||||
* | tmatrix.nim works now | Araq | 2012-09-08 | 1 | -9/+21 |
| | |||||
* | term rewriting improvements | Araq | 2012-09-08 | 1 | -25/+59 |
| | |||||
* | activated tests for tr macros | Araq | 2012-09-06 | 1 | -13/+18 |
| | |||||
* | bugfixes and improvements for term rewriting macros | Araq | 2012-09-04 | 1 | -10/+19 |
| | |||||
* | further improvements for term rewriting macros | Araq | 2012-09-04 | 1 | -20/+11 |
| | |||||
* | term rewriting macros fully implemented; still buggy | Araq | 2012-09-03 | 1 | -44/+156 |
| | |||||
* | next steps towards term rewriting macros; simple examples work | Araq | 2012-08-30 | 1 | -5/+11 |
| | |||||
* | first steps towards term rewriting macros | Araq | 2012-08-30 | 1 | -0/+128 |