Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2605 from jyapayne/devel | Andreas Rumpf | 2015-04-26 | 2 | -2/+2 |
|\ | | | | | Fixed the paths of nimfix and nimsuggest to be relative. | ||||
| * | Fixed the paths of nimfix and nimsuggest to be relative. | Joey Payne | 2015-04-25 | 2 | -2/+2 |
| | | |||||
* | | fixes regression: overloading by 'var' | Araq | 2015-04-25 | 1 | -2/+3 |
| | | |||||
* | | marshalling can be done at compile-time | Araq | 2015-04-25 | 4 | -13/+346 |
| | | |||||
* | | fixes #2600 | Araq | 2015-04-25 | 1 | -5/+5 |
| | | |||||
* | | fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with ↵ | Araq | 2015-04-25 | 3 | -12/+13 |
| | | | | | | | | -d:release | ||||
* | | fixes #2372 | Araq | 2015-04-25 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2598 from jyapayne/devel | Andreas Rumpf | 2015-04-24 | 1 | -1/+1 |
|\ | | | | | Added explicit imports for compiler modules to fix compiling nimsuggest on it's own. | ||||
| * | Removed explicit imports in compiler/nimfix/*.nim and added cfg path ↵ | Joey Payne | 2015-04-24 | 4 | -10/+6 |
| | | | | | | | | modification | ||||
| * | Added explicit imports for compiler modules to fix compiling nimsuggest. | Joey Payne | 2015-04-24 | 3 | -5/+9 |
| | | | | | | | | See https://github.com/nim-lang/nimsuggest/issues/1 | ||||
* | | cleanups for underscores in tuple unpacking | Araq | 2015-04-24 | 2 | -10/+15 |
| | | |||||
* | | finishes #2566 | Araq | 2015-04-24 | 1 | -2/+2 |
| | | |||||
* | | fixes #2533 | Araq | 2015-04-24 | 1 | -1/+1 |
| | | |||||
* | | fixes #2335 | Araq | 2015-04-24 | 1 | -2/+9 |
| | | |||||
* | | fixes #2524 | Araq | 2015-04-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2566 from nanoant/parser-diagnostic-location | Andreas Rumpf | 2015-04-24 | 3 | -4/+11 |
|\ \ | | | | | | | Parser: Fix location (line, col) for diagnostics | ||||
| * | | Parser: Fix location (line, col) for diagnostics | Adam Strzelecki | 2015-04-21 | 2 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously parser was using lexMessage which was taking location from current buffer position which was pointing after recently consumed token. But since parser shows diagnostics about that token it should point to the location where token starts. This makes diagnostics like: `test.nim(2, 2) Error: ':' expected` point properly at the beginning of the wrong token. | ||||
| * | | msg: Output column numbers starting from 1 | Adam Strzelecki | 2015-04-21 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | Most of editors/IDEs expect column numbers to start from 1, so (1, 1) means beginning of the file. This change applies only to diagnostics output, however Nim will still internally number columns starting from 0. | ||||
* | | | Merge pull request #2437 from Araq/underscore-tuple-unpack | Andreas Rumpf | 2015-04-24 | 2 | -2/+13 |
|\ \ \ | | | | | | | | | Implements #2154. | ||||
| * | | | Add sfGenSym for (_). | Dominik Picheta | 2015-04-23 | 1 | -0/+2 |
| | | | | |||||
| * | | | Merge branch 'devel' into underscore-tuple-unpack | Dominik Picheta | 2015-04-23 | 53 | -2448/+2853 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: compiler/semstmts.nim | ||||
| * | | | | Get rid of tkUnderscore. Map _ to tkSymbol. | Dominik Picheta | 2015-04-08 | 3 | -13/+6 |
| | | | | | |||||
| * | | | | Rewrite in order to not introduce a new node kind. | Dominik Picheta | 2015-04-05 | 5 | -8/+9 |
| | | | | | |||||
| * | | | | Implements #2154. | Dominik Picheta | 2015-03-31 | 7 | -6/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | When unpacking tuples in var/let declarations a part of the tuple can now be discarded using a single underscore. | ||||
* | | | | | system.locals is now a plugin for education | Araq | 2015-04-24 | 7 | -35/+61 |
| | | | | | |||||
* | | | | | fixes #2569 | Araq | 2015-04-23 | 3 | -155/+96 |
| | | | | | |||||
* | | | | | fixes #2589 | Araq | 2015-04-23 | 1 | -1/+1 |
| |/ / / |/| | | | |||||
* | | | | fix #2585 properly | Araq | 2015-04-22 | 1 | -1/+3 |
| | | | | |||||
* | | | | fixes #2585 | Araq | 2015-04-22 | 2 | -5/+7 |
| | | | | |||||
* | | | | fixes #2447 | Araq | 2015-04-22 | 2 | -2/+3 |
| | | | | |||||
* | | | | fixed nil.add for JS | Araq | 2015-04-22 | 1 | -1/+1 |
| | | | | |||||
* | | | | added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin ↵ | Araq | 2015-04-22 | 8 | -16/+75 |
| | | | | | | | | | | | | | | | | system to the compiler | ||||
* | | | | fixes #2581 | Araq | 2015-04-22 | 1 | -9/+16 |
| | | | | |||||
* | | | | cleaned up some magics to make room for new magics; added '..<' and '..^' ↵ | Araq | 2015-04-22 | 5 | -18/+9 |
| | | | | | | | | | | | | | | | | templates | ||||
* | | | | fixes #2550 | Araq | 2015-04-22 | 1 | -9/+13 |
| | | | | |||||
* | | | | Merge pull request #2565 from nanoant/parser-consistency | Andreas Rumpf | 2015-04-22 | 1 | -22/+11 |
|\ \ \ \ | |_|/ / |/| | | | Parser consistency | ||||
| * | | | Parser: Make exprList() not comsume endToken | Adam Strzelecki | 2015-04-20 | 1 | -14/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes use single comcol or eat for multiple cases. Also this makes exprList responsible for consuming only list of expressions, nothing else which is more logical. As a side-effect compiler is now more consistent about errors, eg.: try # <- missing something echo "try" finally: echo "finally" Triggers: test.nim(2, 6) Error: ':' expected try: echo "try" finally # <- missing something echo "finally" Previously triggered: test.nim(4, 6) Error: invalid indentation But now we got: Error: ':' expected - same as in 1st case | ||||
| * | | | Parser: Use colcom(...) when possible | Adam Strzelecki | 2015-04-20 | 1 | -8/+4 |
| | | | | | | | | | | | | | | | | This make parsing obligatory colon more consistent across the parser's code. | ||||
* | | | | fixes #2520 | Araq | 2015-04-21 | 1 | -0/+3 |
| | | | | |||||
* | | | | attempt to fix JS codegen regression | Araq | 2015-04-20 | 1 | -1/+1 |
| | | | | |||||
* | | | | fixes #2505, fixes #1853, fixes #2522 | Araq | 2015-04-20 | 6 | -6/+15 |
| | | | | |||||
* | | | | fixes serious codegen regression; C++ target works again | Araq | 2015-04-20 | 1 | -1/+7 |
|/ / / | |||||
* | | | Merge branch 'devel' of https://github.com/Araq/Nim into devel | Araq | 2015-04-20 | 6 | -18/+66 |
|\ \ \ | |||||
| * \ \ | Merge pull request #2503 from ReneSac/arrowLike | Andreas Rumpf | 2015-04-15 | 1 | -1/+2 |
| |\ \ \ | | | | | | | | | | | Restrict arrow-like operators to those ending with `->`, `~>` or `=>` | ||||
| | * | | | Minor fixes for arrow like change patch | ReneSac | 2015-04-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't use ^ operator yet for compatibility with older compilers. Moved arrow like explanation, and fix precedence description on the text in the manual. Fixed typo in news. | ||||
| | * | | | Changing the rule for arrow like operators again. | ReneSac | 2015-04-10 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Restrict arrow-like operators to start with - or = | ReneSac | 2015-04-09 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | Merge pull request #2549 from fowlmouth/patch-2 | Andreas Rumpf | 2015-04-15 | 1 | -1/+3 |
| |\ \ \ \ | | | | | | | | | | | | | fixes for macros.getType() | ||||
| | * | | | | concept types are represented with getType() | fowlmouth | 2015-04-13 | 1 | -1/+3 |
| | | | | | | |||||
| * | | | | | importing of C++ nested generics like std::vector<T>::iterator, using the ↵ | Zahary Karadjov | 2015-04-13 | 4 | -16/+61 |
| | | | | | | | | | | | | | | | | | | | | | | | | apostrophe operator |