summary refs log tree commit diff stats
path: root/lib/core
Commit message (Collapse)AuthorAgeFilesLines
* Move deprecated modules into lib/deprecated/Adam Strzelecki2015-09-301-18/+0
| | | | | This gives clear indication what modules are now deprecated and reduce clutter in non-deprecated module directories.
* fixes bootstrappingAraq2015-08-211-1/+2
|
* implemented macros.getImplAraq2015-08-211-0/+4
|
* Fixed macros.nim not compiling.Dominik Picheta2015-08-031-1/+4
| | | | Iterator aliases are not possible.
* Added documentation to macros.items.Dominik Picheta2015-08-031-0/+1
|
* Merge branch 'macro-items' of https://github.com/transfuturist/Nim into ↵Dominik Picheta2015-08-031-1/+3
|\ | | | | | | transfuturist-macro-items
| * Update macros.nimtransfuturist2015-07-031-1/+1
| |
| * Undeprecate childrentransfuturist2015-06-201-1/+1
| |
| * Change check for NimNode items to node kindtransfuturist2015-05-171-1/+1
| |
| * Add value check for NimNode itemstransfuturist2015-05-161-3/+4
| |
| * Better solution: deprecationtransfuturist2015-05-161-4/+2
| |
| * NimNode needs an items iterator to be used nicely in for statementstransfuturist2015-05-161-0/+4
| |
* | removed macros.high as it never worked outside of macros.nimAraq2015-07-281-10/+8
| |
* | fixes #2841Araq2015-07-221-43/+43
| |
* | Merge pull request #2272 from def-/unsignedAndreas Rumpf2015-07-111-46/+7
|\ \ | | | | | | Move unsigned int operations to system module
| * | Update deprecation notice about unsigned moduledef2015-07-021-1/+1
| | |
| * | Add unsigned exports for backwards-compatibilitydef2015-07-011-0/+3
| | |
| * | Move unsigned int operations to system moduledef2015-07-011-47/+5
| | | | | | | | | | | | | | | This should lead to less confusion because uint numbers and literals seem to work, but operators are just missing.
* | | Nimrod -> Nim renameAraq2015-07-081-1/+1
| | |
* | | fixes bootstrapping problemAraq2015-07-041-1/+2
| | |
* | | macros: Introduce sameType(a, b) for node typesAdam Strzelecki2015-07-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously introduced node comparison `==` was working somehow wrong on nodes returned from getType(a), comparing just ids of the symbols. Recently introduced `==` change 47dce2688633fad840a2f5e4073c531f1cd640ca started comparing symbol nodes pointer-wise, thus strictly. Since getType(a) always creates new symbol pointing to the type, comparing two such nodes using `==` always returns false, even they point to the same type. That is why we need a new sameType macro to be able to tell if these nodes point to the same type.
* | | fixes #3046Araq2015-07-031-1/+5
| | |
* | | made macros.$ a bit smarter; but really this one needs to dieAraq2015-07-031-0/+2
|/ /
* | Merge branch 'more_concurrency' into develAraq2015-06-301-2/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tut1.txt lib/core/locks.nim lib/pure/collections/tables.nim lib/pure/selectors.nim
| * | get rid of deprecated effectsAraq2015-05-131-18/+6
| |/
* | conditional TGenericSeq extensionStefan Talpalaru2015-06-161-3/+7
| |
* | Merge branch 'devel' into gogcStefan Talpalaru2015-06-152-81/+86
|\ \
| * \ Merge pull request #2643 from grncdr/TAny-and-inheritanceAndreas Rumpf2015-06-071-0/+2
| |\ \ | | | | | | | | Resolve base type fields in `[](TAny, string)`
| | * | Resolve base type fields in `[](TAny, string)`Stephen Sugden2015-05-031-0/+2
| | |/
| * | lib/core - Dropped 'T' from typespdw2015-06-042-81/+84
| | |
* | | the Go GC - initial implementationStefan Talpalaru2015-05-311-2/+2
|/ /
* | get rid of deprecated effectsAraq2015-05-281-18/+6
| |
* | Macros: Introduce getType(t: typedesc): NimNodeAdam Strzelecki2015-05-171-0/+6
|/ | | | | | | | | | | | | Since typedesc are exception in macros and they are not implicitly converted to NimNode on macro call, we need some means to perform such conversion on demand. Fortunately it is as simple as declaring new magic "NGetType" proc with typedesc parameter. NOTE: Keeping actual macro exceptional behavior for typedesc is important, since it allows passing typedesc macro parameter to other procs or macros expecting type parameter. If typedesc parameter was implicitly converted, then we would lost this ability.
* macros: added bool literal supportAraq2015-04-201-0/+6
|
* Merge branch 'devel' of https://github.com/Araq/Nim into develAraq2015-04-201-1/+3
|\
| * add ntys up to ntyNotfowlmouth2015-03-281-1/+3
| |
* | added macros.newTree proc (why didn't we do this earlier?)Araq2015-04-201-0/+6
|/
* prepare for upcoming parsing change of unary operatorsAraq2015-03-221-2/+2
|
* Rename PNimrodNode to NimNodedef2015-03-171-115/+111
|
* interpret `tuple` as a class and `tuple[]` as the empty tupleMax Zerzouri2015-03-061-1/+1
| | | | | | | | When the indentation syntax is allowed it is always interpreted as a tuple: type Unit = tuple
* Clone the implementation of cmpIgnoreStyle into macros.nim from typeinfo.nim ↵Chris Heller2015-03-031-2/+16
| | | | so that we get rid of any imports in the core modules
* Remove use of .format() from macros.nim to avoid importing into core. There ↵Chris Heller2015-03-031-4/+4
| | | | is still a remaining import of cmpIgnoreStyle from strutils that needs to be removed as well
* Make macros.nim expectKind error message with a single TNimrodNodeKind ↵Chris Heller2015-03-021-3/+3
| | | | consistent with error message shown with a set of TNimrodNodeKind by displaying the actual node kind (as well as the expected)
* some love for the testsuite; fixed regressionsAraq2015-03-011-2/+2
|
* don't use stdout for nimsuggest server modeAraq2015-02-271-4/+5
|
* disable deprecated warnings for macros moduleAraq2015-02-251-1/+5
|
* implements a type API for macrosAraq2015-02-241-11/+31
|
* macros.PNimrodNode is now NimNodeAraq2015-02-241-22/+26
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|