Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | big refactoring: step 1 | Araq | 2016-10-31 | 1 | -7/+10 |
| | |||||
* | implements #?braces syntax | Araq | 2016-10-16 | 1 | -7/+7 |
| | |||||
* | remove unused stuff | Jacek Sieka | 2016-08-09 | 1 | -20/+0 |
| | |||||
* | compiler almost free of deprecated expr/stmt names | Andreas Rumpf | 2016-07-30 | 1 | -2/+2 |
| | |||||
* | stdlib and compiler don't use .immediate anymore | Andreas Rumpf | 2016-07-29 | 1 | -1/+1 |
| | |||||
* | prepare for #3898 | Andreas Rumpf | 2016-07-15 | 1 | -3/+11 |
| | |||||
* | fixes critical 'do' parsing bug | Andreas Rumpf | 2016-05-28 | 1 | -2/+3 |
| | |||||
* | fixes #4036 | Andreas Rumpf | 2016-04-04 | 1 | -0/+1 |
| | |||||
* | use 'using' instead of 'sig' keyword; cleans up new features a bit | Andreas Rumpf | 2016-02-29 | 1 | -3/+2 |
| | |||||
* | first version of .partial objects | Andreas Rumpf | 2016-02-28 | 1 | -5/+10 |
| | |||||
* | added 'sig' feature; removed tfShared support in the compiler | Andreas Rumpf | 2016-02-28 | 1 | -0/+1 |
| | |||||
* | implements multi-line-comments; pounds are stripped from the doc comments | Andreas Rumpf | 2016-01-16 | 1 | -6/+1 |
| | |||||
* | finally removes 'echo ' gotcha | Andreas Rumpf | 2016-01-15 | 1 | -5/+7 |
| | |||||
* | 'out T' is an alias for 'var T' | Araq | 2015-11-26 | 1 | -4/+5 |
| | |||||
* | fixes #1799 properly | Araq | 2015-10-25 | 1 | -8/+15 |
| | |||||
* | fixes #1799 | Araq | 2015-10-25 | 1 | -2/+3 |
| | |||||
* | Parser: Inline expr pragmas with parenthesis | Adam Strzelecki | 2015-06-02 | 1 | -0/+4 |
| | | | | | | | | | | | Previously pragmas could be attached only to whole statements, this change allows attaching pragmas to inline statements, eg.: template rewriteAdd{a + b}(a: expr, b: expr): expr = ({.noRewrite.}: a + b) + 1 Code above will cause a + b to be rewritten once, because rewriteAdd attaches {.noRewrite.} to resulting a + b expr. | ||||
* | Parser: Properly represent parsePar in grammar | Adam Strzelecki | 2015-06-02 | 1 | -4/+6 |
| | |||||
* | fixes #2533 | Araq | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2566 from nanoant/parser-diagnostic-location | Andreas Rumpf | 2015-04-24 | 1 | -3/+3 |
|\ | | | | | Parser: Fix location (line, col) for diagnostics | ||||
| * | Parser: Fix location (line, col) for diagnostics | Adam Strzelecki | 2015-04-21 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | 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. | ||||
* | Merge branch 'devel' of https://github.com/Araq/Nim into devel | Araq | 2015-04-20 | 1 | -1/+2 |
|\ | |||||
| * | 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 |
| | | | |||||
* | | | parse 'of' branches for macros properly | Araq | 2015-04-19 | 1 | -2/+9 |
|/ / | |||||
* / | minor lexer cleanups; fixes #2504 | Araq | 2015-04-10 | 1 | -1/+1 |
|/ | |||||
* | Refactored getPrecedence() after last change | ReneSac | 2015-04-08 | 1 | -11/+11 |
| | | | | The considerStrongSpaces() is now applied to almost all results, so it is better to do it at the end. | ||||
* | Consider #!strongSpaces for keyword operators too. | ReneSac | 2015-04-08 | 1 | -4/+5 |
| | | | | | When #!strongSpaces is on, every operator affected by it gains priority higher than any operator not affected by it. This includes comparison operators, addition, etc. It seems that counting spaces for keywords operators don't break anything in the parser. Of course, they can't have 0 spaces between their operands, but at least their precedence will work accordingly to their 1+ spaces. | ||||
* | preparations for dealing with the 'echo $foo' gotcha | Araq | 2015-03-27 | 1 | -3/+9 |
| | |||||
* | fixes #2405 | Araq | 2015-03-25 | 1 | -2/+4 |
| | |||||
* | breaking change: 'concept' is now a keyword and used instead of 'generic' | Araq | 2015-03-23 | 1 | -2/+4 |
| | |||||
* | fixes long standing parsing issue with command syntax | Araq | 2015-03-22 | 1 | -15/+26 |
| | |||||
* | fixes #1805 | Araq | 2015-03-21 | 1 | -201/+185 |
| | |||||
* | interpret `tuple` as a class and `tuple[]` as the empty tuple | Max Zerzouri | 2015-03-06 | 1 | -0/+3 |
| | | | | | | | | When the indentation syntax is allowed it is always interpreted as a tuple: type Unit = tuple | ||||
* | fixes #2123 | Araq | 2015-02-14 | 1 | -0/+1 |
| | |||||
* | fixes #2073; language spec change: arrow like operators are not right ↵ | Araq | 2015-02-08 | 1 | -2/+2 |
| | | | | associative anymore | ||||
* | nimsuggest improvements | Araq | 2015-01-30 | 1 | -1/+4 |
| | |||||
* | nimsuggest: first version | Araq | 2015-01-27 | 1 | -6/+11 |
| | |||||
* | 'discard' can be used instead of 'nil' for empty case object branches | Araq | 2015-01-12 | 1 | -3/+3 |
| | |||||
* | Happy new year! | Guillaume Gelin | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | fixes #1120 | Araq | 2014-12-25 | 1 | -2/+6 |
| | |||||
* | fixes #1742 | Araq | 2014-12-24 | 1 | -1/+1 |
| | |||||
* | fixes a small bug concerning semicolons for top level statements | Araq | 2014-12-23 | 1 | -2/+4 |
| | |||||
* | implemented arrow like operators | Araq | 2014-12-08 | 1 | -23/+22 |
| | |||||
* | implements 'defer' | Araq | 2014-12-04 | 1 | -4/+6 |
| | |||||
* | fixes #1473 | Araq | 2014-11-12 | 1 | -4/+5 |
| |