summary refs log tree commit diff stats
path: root/lib/core
Commit message (Collapse)AuthorAgeFilesLines
* fixes merge conflictAndreas Rumpf2018-08-191-0/+3
|\
| * fixes #5617, 'copyLineInfo' addition (#8523)andri lim2018-08-051-0/+3
| |
* | make at least bootstrapping workAraq2018-08-051-2/+13
|\|
| * fixes #7827, bindSym enhancement (#8499)andri lim2018-08-021-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bindSym power up, working prototype * update bindSym doc * add bindSym test * fix some typo * fix bindSym doc * get rid of specialops field from vm * add experimental: dynamicBindSym
| * `lineInfoObj` (and `check`, `expect`) now return absolute paths (#8466)Timothee Cour2018-07-311-0/+1
| |
| * fixes #8371, macros.hasCustomPragma doesn't crash anymore (#8378)andri lim2018-07-201-1/+3
| | | | | | | | | | | | * fixes #8371, macros.hasCustomPragma doesn't crash anymore * fix macros.hasCustomPragma
* | WIP: nothing worksAndreas Rumpf2018-08-051-1/+1
| |
* | allows a destructor to be attached to a tyString/tySequenceAndreas Rumpf2018-07-272-9/+20
| |
* | allocators: add deallocAll proc pointerAndreas Rumpf2018-07-271-0/+1
| |
* | fix merge conflictAndreas Rumpf2018-07-181-1/+3
|\|
| * Custom pragmas in proc types (#8205)cooldome2018-07-091-1/+3
| |
* | WIP: strings/seqs based on destructorsAndreas Rumpf2018-07-172-115/+146
| |
* | more progress on destructor based stringsAndreas Rumpf2018-07-131-77/+69
| |
* | system.substr is not implemented with compilerProcs anymoreAndreas Rumpf2018-07-112-51/+121
|/
* WIP: an API for VM replay global state supportAndreas Rumpf2018-06-031-0/+47
|
* macros.nim: remove deprecated symbolsAndreas Rumpf2018-06-031-3/+0
|
* Better support for treating templates and macros as symbols.Zahary Karadjov2018-05-071-1/+1
| | | | | | | | | | | | | | | | | | | This allows you to pass a template or a macro to another macro which can then inspect the implementation of the former template/macro using `getImpl`. Since templates can be freely redefined, this allows you to treat their symbols as compile-time variables that have lexical scope. A motivating PoC example for a logging library taking advantage of this will be provided in the next commit. Implementation details: * The name of a template or a macro will be consider a symbol if the template/macro requires parameters * For parameterless templates/macros, you can use `bindSym`, which was extended to also work outside of compile-time procs.
* hasCustomPragma/getCustomPragmaVal: small fix (#7650)RSDuck2018-04-191-1/+5
| | | | | | | | * fix hasCustomPragma/getCustomPragmaVal for types without pragma * fix pragma on pointer test * removed trailing spaces
* Fixes #7595 (#7623)Dmitry Atamanov2018-04-161-7/+6
| | | | | | | | * Fixes #7595 * Add brackets * Fix for treeRepr and lispRepr too
* update macros.nim: followup on pull #7598 (#7619)Timothee Cour2018-04-161-5/+2
| | | | @Araq @krux02 https://github.com/nim-lang/Nim/pull/7598 seemed inaccurate eg for NLineInfo there's `mNLineInfo` but no opcNLineInfo
* move eqIdent to vm.nim (#7585)Arne Döring2018-04-151-32/+51
| | | | | | * Strutils comment changes. * fix typo
* add example to docs for getTypeInst and getTypeImpl (#7206)jcosborn2018-04-151-9/+45
| | | | | | | | * add example to docs for getTypeInst and getTypeImpl * made examples use runnableExamples * changed assert to doAssert
* fixes #7451 (#7575)RSDuck2018-04-141-20/+65
|
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-1/+2
|
* added comment to macros (#7598)Arne Döring2018-04-131-0/+6
| | | | | | * added comment to macros * Update macros.nim
* deprecate macros.callsite; fixes #7369Andreas Rumpf2018-04-121-1/+3
|
* Added a few useful os calls to VM (#7440)genotrance2018-04-121-0/+4
|
* Get symbol kind (#7491)Arne Döring2018-04-111-63/+99
|
* Fixes #7473 (#7475)Arne Döring2018-04-041-36/+8
| | | | | * removed code duplication * changelog entry, adopt tests for changes
* C codegen: preparations for different seq and string implementationsAndreas Rumpf2018-04-032-7/+6
|
* Add CommentStmt to astGenRepr (#7313)PMunch2018-03-161-2/+2
| | | | | | * Added codeRepr and dumpCode to the macros module. This allows those writing macros to write examples, get the code to generate the AST for that example, and then modify that code to be dynamic with the macro function.
* Implement custom annotations (#6987)cooldome2018-01-091-0/+54
|
* New runtime: fix allocator inheritable (#7046)Dmitry Atamanov2018-01-091-1/+1
|
* Fixes for new runtime (#7037)Dmitry Atamanov2018-01-082-6/+28
|
* new runtime: added typelayouts.nimAndreas Rumpf2018-01-043-17/+64
|
* allocators.nim: minor typoAndreas Rumpf2018-01-044-0/+332
|
* first steps in adding template/macro calls to stack tracesAraq2017-12-211-1/+1
|
* added macros.unpackVarargsAraq2017-11-301-0/+5
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-11-211-14/+61
|\
| * cleaned up macros.nimAndreas Rumpf2017-11-191-14/+9
| |
| * macros.nim: deprecated ! operatorAndreas Rumpf2017-11-191-5/+11
| |
| * 'newEnum' proc added to macros.nim (#6000)WhiteDuke2017-11-191-0/+42
| |
| * replaced asArray with a much more powerful mapLiterals macroAndreas Rumpf2017-11-181-2/+6
| |
| * Trim remaining expr/stmt from stdlib (#6742)Lynn C. Rees2017-11-151-1/+1
| |
* | added a version of macros.expectLen that takes min/max valuesAraq2017-11-211-0/+7
|/
* work in progress: new implementation for 'a[^1]'Andreas Rumpf2017-10-291-8/+15
|
* more replacements for the deprecated '<'Andreas Rumpf2017-10-291-3/+3
|
* macros.nim: added missing pairs iteratorAraq2017-10-251-0/+5
|
* make the tester compile againAndreas Rumpf2017-09-251-1/+1
|
* first steps of making 'opt' a first class type for NimAndreas Rumpf2017-09-251-0/+1
|