summary refs log tree commit diff stats
path: root/compiler/ast.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #7215Andreas Rumpf2018-02-141-1/+1
|
* genTryCpp to catch by Nim type, ready for first review (#7196)cooldome2018-02-121-0/+14
| | | | | | | | | | | | | | | | * Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header
* move new sha1 module into the new 'std' namespaceAndreas Rumpf2018-02-061-1/+1
|
* fixes #6961Andreas Rumpf2018-02-021-1/+1
|
* Custom pragmas in procs bug fix (#7086)cooldome2018-01-181-0/+1
|
* Implement custom annotations (#6987)cooldome2018-01-091-0/+1
|
* preparations for language extensions: 'sink' and 'lent' typesAndreas Rumpf2018-01-071-5/+5
|
* work in progress: 'sink' and 'lent' typesAraq2018-01-071-2/+2
|
* first steps in adding template/macro calls to stack tracesAraq2017-12-211-2/+2
|
* Now analyzes over magics instead of symbol names; but dosn't compile for meVeladus2017-12-111-1/+2
|
* the documentation generator now supports system.runnableExamplesAraq2017-11-261-1/+1
|
* minor optimization for propagateToOwnerAraq2017-11-231-4/+1
|
* fixes #6682Araq2017-11-221-0/+4
|
* Merge branch 'devel' into araqAndreas Rumpf2017-11-021-19/+33
|\
| * fixes bug reported in PR #5637Andreas Rumpf2017-10-301-0/+8
| |
| * work in progress: new implementation for 'a[^1]'Andreas Rumpf2017-10-291-9/+4
| |
| * deprecated unary '<'Andreas Rumpf2017-10-291-2/+2
| |
| * first implementation of package level types that allow forwarding across ↵Andreas Rumpf2017-10-281-2/+2
| | | | | | | | module boundaries
| * backend preparations for incomplete/forwarded object typesAndreas Rumpf2017-10-281-0/+5
| |
| * ast.nim: spacingAraq2017-10-251-3/+3
| |
| * bugfix: propagate the tfHasAsgn flag properlyAndreas Rumpf2017-10-191-1/+1
| |
| * destructors: preparations for upcoming changesAraq2017-10-171-0/+2
| |
| * minor refactorings for better destructorsAndreas Rumpf2017-10-141-1/+1
| |
| * initial version of the new untested destructor passAndreas Rumpf2017-10-121-1/+5
| |
| * further preparations for 'opt' builtin typeAndreas Rumpf2017-10-091-2/+2
| |
* | Merge branch 'devel' into araqAndreas Rumpf2017-10-021-21/+17
|\|
| * first steps of making 'opt' a first class type for NimAndreas Rumpf2017-09-251-1/+1
| |
| * some work to make 'opt' a first class typeAndreas Rumpf2017-09-241-9/+3
| |
| * first implementation of the 'func' keywordAndreas Rumpf2017-09-231-5/+8
| |
| * Merge branch 'devel' into araq-better-codegenAndreas Rumpf2017-09-231-1/+1
| |\
| | * NimScript: added buildOS and buildCPU constantsAndreas Rumpf2017-09-221-1/+1
| | |
| * | fixes #6403Andreas Rumpf2017-09-211-2/+1
| | |
| * | refactoring: TLoc knows the node it originated from; it is planned to use ↵Andreas Rumpf2017-09-211-3/+2
| | | | | | | | | | | | this to produce better C code (move optimizations)
| * | introduce OnHeapNew and rename TLoc.s to TLoc.storageAndreas Rumpf2017-09-211-3/+4
| |/
* | Merge branch 'devel' into araqAndreas Rumpf2017-09-151-0/+6
|\|
| * Fix operations on string as openarray in VM. (#6257)Parashurama2017-09-151-0/+6
| | | | | | | | | | | | | | | | | | | | * fix openarray.len for string as openArray in VM. * fix openarray[idx] for string as openArray in VM. * fix openarray[idx]=val for string as openArray in VM. * add tests for passing string as openArray in VM. * fix issue with NimNode.len NimNode.len was also returning len for string literals. also fix logic bug in if/elif chain.
* | Merge branch 'devel' into araqAndreas Rumpf2017-09-151-0/+2
|\|
| * distinguish between 'reorder' and 'noforward'Andreas Rumpf2017-07-261-0/+2
| |
* | Merge branch 'devel' into araqAndreas Rumpf2017-07-131-7/+14
|\|
| * Fix #4020; Better handling of templates within conceptsZahary Karadjov2017-06-201-1/+3
| |
| * cleanup of in/out covariance handlingAndreas Rumpf2017-05-171-7/+5
| |
| * enforce the covariance rules for user-defined generic typesZahary Karadjov2017-05-131-6/+8
| |
| * doh, forgot to add all files in the previous commitZahary Karadjov2017-05-121-1/+2
| |
| * support for external types with covariant generic paramsZahary Karadjov2017-05-081-0/+4
| |
* | Merge branch 'zahary' into araqAndreas Rumpf2017-05-161-0/+5
|\|
| * lift parameter-less do block to lambdasZahary Karadjov2017-04-101-0/+1
| |
| * fix the do notation when used with procsZahary Karadjov2017-04-091-0/+1
| |
| * Restore the Nim's 0.14 proper handling of generic aliasesZahary Karadjov2017-04-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | A more efficient implementation is possible by restoring the old lifting ot tyGenericInvocation to tyGenericInst in liftTypeParam, but this fix will suffice for now. fixes #5087 fixes #5602 fixes #5641 fixes #5570
* | precise stack scanning for Nim's GCs; work in progressAndreas Rumpf2017-04-191-0/+3
|/
* proper error reporting for concepts and the introduction of the {.explain.} ↵Zahary Karadjov2017-03-241-0/+1
| | | | pragma