summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2239 from Maxdamantus/develAndreas Rumpf2015-03-0712-17/+49
|\ | | | | interpret `tuple` as a class and `tuple[]` as the empty tuple, enable syntax for anonymous tuples
| * .n.isNil checks for tyTuple PTypes.Max Zerzouri2015-03-074-2/+5
| |
| * enable syntax for anonymous tuples.Max Zerzouri2015-03-063-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out to be slightly problematic as `(int, int)` could be logically thought of as an expression evaluating to a tuple value containing two typedesc[int]s. To disambiguate, the zero-tuple's type must still be written as `tuple[]`, and what would be tuple value expressions containing only typedescs are interpreted as types. () # value of type `tuple[]` (int, int) # tuple type (int, int, ()) # value of type `(typedesc[int], typedesc[int], tuple[])`
| * interpret `tuple` as a class and `tuple[]` as the empty tupleMax Zerzouri2015-03-067-10/+15
| | | | | | | | | | | | | | | | When the indentation syntax is allowed it is always interpreted as a tuple: type Unit = tuple
* | fixes #1940; code breakage! stricter template evaluationAraq2015-03-074-404/+401
| |
* | fixes #794Araq2015-03-072-18/+23
| |
* | Fixing import path support inconsitency.Hans Raaf2015-03-071-1/+1
|/
* fixes #2229Araq2015-03-052-181/+177
|
* fixes #2250Araq2015-03-051-242/+242
|
* Merge pull request #2249 from flaviut/fix-nimcheckAndreas Rumpf2015-03-051-0/+3
|\ | | | | Fix #2247
| * Fix #2247Flaviu Tamas2015-03-041-0/+3
| | | | | | | | Thanks @Araq for the suggestion
* | prevent name mangling for C++ DLLsAraq2015-03-051-29/+29
| |
* | fixes #2252Araq2015-03-043-45/+47
| |
* | cleaned up whitespaceAraq2015-03-041-22/+22
| |
* | Replaced deprecated repeatStr() with repeat().Hans Raaf2015-03-041-1/+1
| |
* | Replaced deprecated repeatChar() with repeat() or spaces().Hans Raaf2015-03-046-29/+29
| |
* | makes Aporia build for 64bit archsAraq2015-03-032-178/+173
|/
* test tsets2.nim compiles againAraq2015-03-011-3/+3
|
* some love for the testsuite; fixed regressionsAraq2015-03-012-3/+6
|
* minor cleanupsAraq2015-03-013-5/+4
|
* Make reading from stdin work again.def2015-03-012-2/+2
| | | | Bootstrapping tested on Linux from csources.
* bootstrapping works again on WindowsAraq2015-03-011-1/+1
|
* fixes #2233Araq2015-02-281-68/+80
|
* Merge pull request #2202 from def-/compile-stdinAndreas Rumpf2015-02-285-4/+15
|\ | | | | Make compiler read files from stdin
| * When compiling from stdin write binary to stdinfiledef2015-02-283-2/+4
| |
| * Rename stdin fake module name to stdinFiledef2015-02-281-1/+1
| |
| * Make compiler read files from stdindef2015-02-223-3/+12
| | | | | | | | Special "-" file as stdin.
* | fixes #2169Araq2015-02-284-5/+13
| |
* | don't use stdout for nimsuggest server modeAraq2015-02-277-25/+29
| |
* | reprocess pragmas after macro annotation for SqueakNimAraq2015-02-271-4/+10
| |
* | improved --debugger switch; updated release planAraq2015-02-271-5/+15
| |
* | added a commentAraq2015-02-261-2/+2
| |
* | fixes #2216Araq2015-02-264-16/+20
| |
* | tsigtypeop.nim works againAraq2015-02-253-3/+3
| |
* | fixes #2215Araq2015-02-252-11/+12
| |
* | tester reports ignored tests and supports 'nimout'; fixes #2211Araq2015-02-251-1/+2
| |
* | Merge pull request #2184 from oderwat/feat-caseofwhenAndreas Rumpf2015-02-241-2/+6
|\ \ | | | | | | Allow empty sets in case/of branches.
| * | Allow empty sets in case/of branches.Hans Raaf2015-02-241-2/+6
| | | | | | | | | | | | | | | | | | | | | Added support for conditional compilation using 'when' with empty sets and arrays in 'case of' branches. Please enter the commit message for your changes. Lines starting
* | | fixes #2199, fixes #2197Araq2015-02-243-24/+29
| | |
* | | Fixes NimSuggest's socket mode.Dominik Picheta2015-02-241-3/+7
|/ /
* | types API: now works for proc():voidAraq2015-02-241-1/+5
| |
* | implements a type API for macrosAraq2015-02-245-22/+163
| |
* | small cleanup of ast.nimAraq2015-02-241-150/+106
| |
* | macros.PNimrodNode is now NimNodeAraq2015-02-245-5/+9
|/
* Allow ranges with unsigned integer ordinals to be used as parameter types ↵Varriount2015-02-211-1/+1
| | | | for procedures.
* fixes #2134Araq2015-02-201-1/+1
|
* fixes #1902Araq2015-02-201-4/+5
|
* fixes #2167Araq2015-02-203-5/+12
|
* Merge pull request #2180 from oderwat/fix-nimfix-compileAndreas Rumpf2015-02-201-1/+1
|\ | | | | Changed paths so that it nimfix compiles from prominent dirs.
| * Changed project relative path to include the right directory.Hans Raaf2015-02-201-1/+1
| |