Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix regression in align (#12680) | Arne Döring | 2019-11-19 | 1 | -0/+14 |
| | | | | | | * fix regression in align * add test typesym without type | ||||
* | backtick and export marker handling in `eqIdent` (#12574) | Arne Döring | 2019-11-07 | 1 | -0/+16 |
| | |||||
* | remove unused imports from tests | narimiran | 2019-11-06 | 5 | -9/+4 |
| | |||||
* | remove deprecated procs (#12535) | Andreas Rumpf | 2019-11-05 | 1 | -2/+2 |
| | |||||
* | macros.newLit now works for ref object types (#12307) | zah | 2019-09-30 | 1 | -0/+25 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 2 | -2/+2 |
| | |||||
* | fix range.getType crash | Jasper Jenkins | 2019-09-05 | 1 | -5/+10 |
| | |||||
* | Implement isExported for symbols in macros (#11963) | nc-x | 2019-08-18 | 1 | -0/+10 |
| | | | | | | | | * Implement isExported for macros * Reimplement isExported using VM callback mechanism * VM does not support exceptions, use stacktrace() instead. | ||||
* | Lock semchecked ast for macros (#11883) [bugfix] | Arne Döring | 2019-08-08 | 4 | -6/+44 |
| | | | | | | * reject to modify type checked AST * add flag to back out * Introduce legacy feature set. | ||||
* | Fixes #11662: render ops priority (#11664) | cooldome | 2019-07-05 | 1 | -0/+5 |
| | |||||
* | fix for passing tuples as static params to macros (#11423); fixes #10751 ↵ | Arne Döring | 2019-06-07 | 1 | -0/+12 |
| | | | | | | | | [bugfix] * add vm value preparation proc * small optimization | ||||
* | fix macrocache implementation (#11404) | andri lim | 2019-06-05 | 1 | -1/+53 |
| | | | | | | * macrocache improvements * fix macrocache implementation | ||||
* | intVal works now on enum field symbols (#11403) | Arne Döring | 2019-06-05 | 1 | -0/+11 |
| | | | | | | * intVal works now on enum field symbols * disable flakey titerators test | ||||
* | added a nice test case for macro based lookup tables | Araq | 2019-06-04 | 1 | -0/+28 |
| | |||||
* | close #8573 by adding a test | narimiran | 2019-05-30 | 1 | -0/+35 |
| | |||||
* | Remove immediate pragma (#11308) | Arne Döring | 2019-05-29 | 2 | -8/+6 |
| | | | | | * remove immediate from tests * remove immediate from the compiler | ||||
* | fix megatest | narimiran | 2019-05-29 | 1 | -0/+1 |
| | |||||
* | rename a file, so that megatest doesn't complain | narimiran | 2019-05-29 | 1 | -0/+0 |
| | |||||
* | close #7792 by adding a test | narimiran | 2019-05-29 | 1 | -0/+36 |
| | |||||
* | close #7615 by adding a test | narimiran | 2019-05-29 | 1 | -0/+32 |
| | |||||
* | Allow void macro result (#11286) | Arne Döring | 2019-05-21 | 5 | -15/+90 |
| | | | | | * allow void macro result * add test for void macro result type | ||||
* | fix for return in macro (#9666); fixes #5874 | Arne Döring | 2019-05-20 | 3 | -6/+28 |
| | |||||
* | fixes #11131 | Andreas Rumpf | 2019-05-13 | 1 | -0/+8 |
| | |||||
* | forbid casting to bare unchecked array (#11186) | Arne Döring | 2019-05-08 | 1 | -2/+2 |
| | | | | | * fixes #11180, forbid casting to unchecked array. * allow UncheckedArray as param | ||||
* | add progmas to params of macros.newProc (#11025) | Lolo Iccl | 2019-04-27 | 1 | -0/+51 |
| | | | Merging | ||||
* | revert parser stmtListExpr (#11007) | cooldome | 2019-04-17 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | * Revert "Support for stmtListExpr in parser after major keywords. Scaled down version. (#10852)" This reverts commit 862897dc0f122e374c0e4d44770ffcd8825e51e3. * redo fix for #4035 * render stmtlistExpr using semicolon * Revert "render stmtlistExpr using semicolon" This reverts commit cafb78b8d5b125b5f6ba94248377a1433b3138cb. * revert test | ||||
* | Compiler plugin for implementing incremental computation in user space (#10819) | cooldome | 2019-04-11 | 1 | -0/+150 |
| | | | | | | | | | | This plugin provides essential building block for implementing incremental computations in your programs. The idea behind incremental computations is that if you do the same calculation multiple times but with slightly different inputs you don't have to recompute everything from scratch. Also you don't want to adopt special algorithms either, you would like to write your code in standard from scratch manner and get incrementality for free when it is possible. The plugin computes the digest of the proc bodies, recursively hashing all called procs as well . Such digest with the digest of the argument values gives a good "name" for the result. Terminology loosely follows paper "Incremental Computation with Names" link below. It works well if you have no side effects in your computations. If you have global state in your computations then you will need problem specific workarounds to represent global state in set of "names" . SideEffect tracking in Nim also useful in this topic. Classical examples: Dashboard with ticking data. New data arrives non stop and you would like to update the dashboard recomputing only changed outputs. Excel spreadsheet where user changes one cell and you would like to recompute all cells that are affected by the change, but do not want to recompute every cell in the spreadsheet. | ||||
* | Support for stmtListExpr in parser after major keywords. Scaled down ↵ | cooldome | 2019-03-18 | 1 | -2/+3 |
| | | | | | | | version. (#10852) * Support for stmtListExpr in parser after major keywords * fixes #4035 | ||||
* | fixes #10805 (#10806) | cooldome | 2019-03-13 | 1 | -0/+5 |
| | |||||
* | fixes #10807 (#10814) | cooldome | 2019-03-12 | 1 | -1/+11 |
| | | | | | * fixes #10807 * use nkAddr instead of nkHiddenAddr | ||||
* | fixes #10702 (#10705) | Andreas Rumpf | 2019-02-18 | 1 | -2/+32 |
| | | | | | | * --define:nimQuirky exception handling for Nim; in preparation of a blog post * make it work with latest system.nim * make code more readable * fixes #10702 | ||||
* | fix #10591 regression (#10592) | Timothee Cour | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | Reject assignments with nkEmpty RHS (#9000) | LemonBoy | 2019-02-06 | 1 | -0/+26 |
| | | | Fixes #8997 | ||||
* | Avoid evaluating macros twice in type sections (#10550) | LemonBoy | 2019-02-06 | 1 | -0/+15 |
| | | | Fixes #10548 | ||||
* | fix #10339 by returning type attached to nkEmpty (#10370) | Vindaar | 2019-01-23 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | * fix #10339 by checking for nkObjConstr * revert check for nkObjConstr, return type from nkEmpty node The correct type needed in `semObjConstr` to fix #10339 is indeed available, but attached to an `nkEmpty` node. These were previously discarded in `semTypeNode`, which is used to extract the type for the object. * simplify return of PType from `nkEmpty` * also fixes #9866, add test case | ||||
* | make megatest green | Araq | 2019-01-13 | 1 | -2/+1 |
| | |||||
* | closes #3744 | Araq | 2019-01-13 | 1 | -0/+11 |
| | |||||
* | fixes #10075 [backport] | Araq | 2019-01-13 | 1 | -1/+30 |
| | |||||
* | megatest: make it green on Linux | Araq | 2018-12-11 | 1 | -0/+1 |
| | |||||
* | Testament: refactoring; makes the test joiner green | Araq | 2018-12-11 | 1 | -0/+1 |
| | |||||
* | lots of small changes | Arne Döring | 2018-12-11 | 1 | -1/+1 |
| | |||||
* | megatest can be executed | Arne Döring | 2018-12-11 | 1 | -0/+0 |
| | |||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 4 | -4/+1 |
| | |||||
* | fixes #9864 [backport] | Araq | 2018-12-05 | 1 | -0/+36 |
| | |||||
* | cleanup tests; don't use non-working 'msg' spec field | Araq | 2018-11-23 | 8 | -28/+34 |
| | |||||
* | activated more tests, allow input in test spec | Arne Döring | 2018-11-23 | 1 | -2/+4 |
| | |||||
* | make run the default action of a test in tester | Arne Döring | 2018-11-23 | 3 | -2/+44 |
| | |||||
* | Add isInstanceOf for generic procs to the macros module (#9730) | cooldome | 2018-11-21 | 1 | -0/+19 |
| | |||||
* | Add proc `[]`(n: NimNode, s: HSlice[T, U]): seq[NimNode] to macros (#7735) | Lolo Iccl | 2018-11-10 | 1 | -0/+38 |
| | | | fixes #7670. | ||||
* | newLit works on enum (#9662) | Arne Döring | 2018-11-09 | 1 | -0/+20 |
| | | | | | | * newLit works on enum * remove debugging echo |