Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove immediate pragma (#11308) | Arne Döring | 2019-05-29 | 1 | -2/+1 |
| | | | | | * remove immediate from tests * remove immediate from the compiler | ||||
* | new compiler feature: --expandMacro | Araq | 2019-05-29 | 1 | -1/+3 |
| | |||||
* | Allow void macro result (#11286) | Arne Döring | 2019-05-21 | 1 | -4/+3 |
| | | | | | * allow void macro result * add test for void macro result type | ||||
* | rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) | Arne Döring | 2019-05-11 | 1 | -9/+9 |
| | |||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -1/+1 |
| | |||||
* | more destructor based changes (#10885) | Andreas Rumpf | 2019-03-23 | 1 | -1/+1 |
| | | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures | ||||
* | compiler/sem: correct macros lineinfo (#10438) | alaviss | 2019-01-24 | 1 | -4/+5 |
| | | | | | | | | | The compiler believes these are where a macro call starts (marked with `^`): m "string" ^ ^ This commit addresses that. | ||||
* | Fix defer not not-working at top level (#10191) | Neelesh Chandola | 2019-01-07 | 1 | -2/+0 |
| | |||||
* | fixes nested gensym'ed parameters; fixes #9476 | Araq | 2018-12-08 | 1 | -5/+6 |
| | |||||
* | Destructors: more moves for tuples (#9808) | cooldome | 2018-11-27 | 1 | -1/+1 |
| | |||||
* | added first version of a nimfind tool for the poor souls that don't have a ↵ | Andreas Rumpf | 2018-11-14 | 1 | -2/+2 |
| | | | | good nimsuggest integretation | ||||
* | make Nim take roughly 100MB less RAM for bootstrapping via a new compiler ↵ | Andreas Rumpf | 2018-11-07 | 1 | -1/+4 |
| | | | | switch -d:leanCompiler; useful for the Raberry PI | ||||
* | Change the order of compilation passes, transformation is made lazy at code ↵ | cooldome | 2018-10-18 | 1 | -1/+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 | ||||
* | compiler: show name of instantiating context in error traces (#6763) (#9207) | xzfc | 2018-10-11 | 1 | -1/+1 |
| | |||||
* | Make the registered passes local to the ModuleGraph (#9259) | LemonBoy | 2018-10-09 | 1 | -1/+1 |
| | | | Closes #9068 | ||||
* | make tests green again | Andreas Rumpf | 2018-09-24 | 1 | -2/+10 |
| | |||||
* | extended system.type/typeof to support an upcoming 'collect' macro that ↵ | Andreas Rumpf | 2018-09-11 | 1 | -4/+4 |
| | | | | works much better than sugar.lc | ||||
* | change runnableExamples implementation; fixes #8641; fixes #7135; ↵ | Andreas Rumpf | 2018-09-02 | 1 | -23/+0 |
| | | | | runnableExamples works for templates and generics | ||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | fixes merge conflict | Araq | 2018-08-07 | 1 | -1/+2 |
|\ | |||||
| * | runnableExamples: keep (gitignored) generated foo_examples.nim for ↵ | Timothee Cour | 2018-08-07 | 1 | -1/+2 |
| | | | | | | | | | | | | inspection even on success (#8544) | ||||
* | | use slashes instead of dots for paths | Andreas Rumpf | 2018-08-06 | 1 | -2/+2 |
|/ | |||||
* | fixes #8323 : avoid polluting git status after `nim doc foo` (#8415) | Timothee Cour | 2018-07-30 | 1 | -3/+5 |
| | |||||
* | make runnableExamples use a private nimcache so that they can be tested in ↵ | skilchen | 2018-07-12 | 1 | -2/+9 |
| | | | | | parallel (#8281) * make runnableExamples use a private nimcache so that they can be tested in parallel | ||||
* | Check the RHS when building a set (#8159) | LemonBoy | 2018-06-30 | 1 | -1/+1 |
| | | | Fixes #2669 | ||||
* | Return an error symbol as macro output if needed (#8116) | LemonBoy | 2018-06-27 | 1 | -1/+6 |
| | | | | | | Return an error symbol if the macro output has no type and a typedesc is expected. Fixes #7454 | ||||
* | allow referencing other parameters in default parameter values | Zahary Karadjov | 2018-06-16 | 1 | -7/+11 |
| | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046 | ||||
* | fixes #7222; fixes #5595; fixes #3747 | Zahary Karadjov | 2018-06-16 | 1 | -1/+1 |
| | | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr | ||||
* | A minimal patch enabling the new typedesc and static types syntax | Zahary Karadjov | 2018-06-16 | 1 | -0/+3 |
| | |||||
* | implements a --nep1:on switch to make the compiler enforce the naming ↵ | Andreas Rumpf | 2018-06-13 | 1 | -1/+1 |
| | | | | conventions outlined in NEP-1 | ||||
* | fixex merge conflicts | Araq | 2018-06-08 | 1 | -2/+4 |
|\ | |||||
| * | fixes #7906, array and openarray arg vs. ptr/ref generic (#7909) | andri lim | 2018-06-04 | 1 | -2/+4 |
| | | | | | | | | | | | | * fixes #7906, array and openarray arg vs. ptr/ref generic * add comment | ||||
* | | fixed merge conflict | Andreas Rumpf | 2018-06-04 | 1 | -1/+1 |
|\| | |||||
| * | fixes #7818, correct internal representation of generic objects array ↵ | andri lim | 2018-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | construction (#7824) * defer skiptypes * defer skiptypes for tyRef & tyPtr * remove unneeded skipTypes | ||||
* | | incremental compilation: implemented basic replay logic | Andreas Rumpf | 2018-06-02 | 1 | -8/+5 |
| | | |||||
* | | baby steps for incremental compilation | Andreas Rumpf | 2018-05-30 | 1 | -7/+2 |
| | | |||||
* | | runnableExamples: use the self exe to test the examples | Andreas Rumpf | 2018-05-30 | 1 | -1/+1 |
| | | |||||
* | | refactoring: move DB model to incremental.nim | Andreas Rumpf | 2018-05-30 | 1 | -2/+2 |
| | | |||||
* | | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -7/+7 |
| | | | | | | | | around explicitly | ||||
* | | more refactoring | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'devel' into araq-big-refactoring | Andreas Rumpf | 2018-05-27 | 1 | -0/+1 |
|\| | |||||
| * | fix #7883; fix #7829 | Zahary Karadjov | 2018-05-26 | 1 | -0/+1 |
| | | |||||
* | | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -16/+16 |
| | | |||||
* | | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 1 | -1/+1 |
| | | |||||
* | | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 1 | -1/+1 |
|/ | |||||
* | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 1 | -5/+5 |
| | |||||
* | sem pass compiles again | Andreas Rumpf | 2018-05-12 | 1 | -22/+22 |
| | |||||
* | more modules compile again | Andreas Rumpf | 2018-05-12 | 1 | -13/+16 |
| | |||||
* | more modules compile again | Andreas Rumpf | 2018-05-12 | 1 | -24/+27 |
| | |||||
* | compiler refactoring, pass config around explicitly | Andreas Rumpf | 2018-05-05 | 1 | -3/+3 |
| |