summary refs log tree commit diff stats
path: root/tests/macros
Commit message (Collapse)AuthorAgeFilesLines
* fixes #3541Araq2015-11-182-18/+18
|
* Rename rawsockets module to nativesocketsAdam Strzelecki2015-10-031-2/+2
| | | | | | | | | | This change was done to avoid confusion with TCP/IP raw sockets. Native sockets module represents handling native system low level socket API in general and is not just limited anyhow to TCP/IP raw sockets. A stub lib/deprecated/pure/rawsockets.nim module has been added as compatibility layer for old code using rawsockets, so this change will not break existing code.
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-048-20/+20
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* implemented macros.getImplAraq2015-08-211-0/+20
|
* fix #1858 again; restores the support for static macro paramsZahary Karadjov2015-08-021-0/+74
|
* macros: Introduce sameType(a, b) for node typesAdam Strzelecki2015-07-031-0/+41
| | | | | | | | | | | | | 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/+17
|
* renamed writeln to writeLine in testspatrick dw2015-06-191-1/+1
|
* macros: Add test for node comparsionAdam Strzelecki2015-06-101-0/+39
|
* Macros: Introduce getType(t: typedesc): NimNodeAdam Strzelecki2015-05-171-0/+20
| | | | | | | | | | | | | 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.
* fixes #2372Araq2015-04-251-0/+12
|
* fixes #2505, fixes #1853, fixes #2522Araq2015-04-201-2/+2
|
* parse 'of' branches for macros properlyAraq2015-04-191-0/+16
|
* minor lexer cleanups; fixes #2504Araq2015-04-101-0/+1
|
* added test for symbol typefowlmouth2015-03-271-0/+49
|
* Rename PNimrodNode to NimNodedef2015-03-1713-42/+42
|
* tester reports ignored tests and supports 'nimout'; fixes #2211Araq2015-02-254-8/+28
|
* added tests from issue #497Simon Hafner2015-02-012-0/+22
|
* fixes #1944Araq2015-01-181-0/+10
|
* fixes #1120Araq2014-12-251-2/+2
|
* implemented 'koch pdf'Araq2014-12-191-0/+43
|
* fixes error propagation for macros.parseExprAraq2014-11-131-2/+4
|
* fixes #1473Araq2014-11-121-0/+17
|
* further adaptationsAraq2014-08-291-1/+1
|
* fixes #1323Araq2014-07-081-1/+11
|
* fixes #933Araq2014-07-081-1/+17
|
* fixes #1103; fixes #1297Araq2014-07-081-1/+45
|
* fixes #1319Araq2014-06-301-0/+25
|
* Enable disabled testflaviut2014-05-261-2/+1
|
* Add test for #1149flaviut2014-05-261-0/+20
|
* added test case for bug #1140Araq2014-05-061-0/+35
|
* Fixes #1093.Dominik Picheta2014-04-201-0/+19
|
* fixes #911Araq2014-03-281-0/+1
|
* Added test for issue #911.Dominik Picheta2014-03-271-0/+62
|
* fixes tmemit regressionAraq2014-03-261-1/+15
|
* new VM is getting stableAraq2014-02-241-1/+1
|
* fixes #926Araq2014-02-171-0/+19
|
* tyTypeDesc and tyRange always have 1 child; this might be tyNone but it is ↵Araq2014-02-051-0/+29
| | | | required for skipTypes
* macro tests almost greenAraq2014-02-035-7/+9
|
* fixed casesAraq2014-02-021-3/+3
|
* parser support anon iteratorsAraq2014-01-201-0/+7
|
* better testerAraq2014-01-1716-0/+493
|
* new tester; all tests categorizedAraq2014-01-134-0/+115