Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | beginnings of the new nimpretty tool; still unusable | Andreas Rumpf | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | the parser finally parses 'echo {1,2}' as it should | Andreas Rumpf | 2017-09-30 | 1 | -13/+1 |
| | |||||
* | 'with' and 'without' are not keywords anymore | Araq | 2017-09-30 | 1 | -3/+9 |
| | |||||
* | first implementation of the 'func' keyword | Andreas Rumpf | 2017-09-23 | 1 | -19/+11 |
| | |||||
* | Restore the old behavior of parsing "quote do:" | Zahary Karadjov | 2017-08-19 | 1 | -5/+8 |
| | | | | close #5845 | ||||
* | parser enhancement: allow keywords after dots | Andreas Rumpf | 2017-07-11 | 1 | -18/+28 |
| | |||||
* | first steps to allow easy functors via macros | Andreas Rumpf | 2017-06-04 | 1 | -3/+4 |
| | |||||
* | cleanup of in/out covariance handling | Andreas Rumpf | 2017-05-17 | 1 | -3/+3 |
| | |||||
* | Merge branch 'zahary' into araq2 | Andreas Rumpf | 2017-05-17 | 1 | -1/+8 |
|\ | |||||
| * | support for external types with covariant generic params | Zahary Karadjov | 2017-05-08 | 1 | -1/+8 |
| | | |||||
* | | Merge branch 'zahary' into araq2 | Andreas Rumpf | 2017-05-16 | 1 | -82/+81 |
|\| | |||||
| * | fix a parsing regression (do is still mandatory in some situations) | Zahary Karadjov | 2017-04-14 | 1 | -1/+4 |
| | | |||||
| * | lift parameter-less do block to lambdas | Zahary Karadjov | 2017-04-10 | 1 | -6/+7 |
| | | |||||
| * | support post expression blocks in return and yield | Zahary Karadjov | 2017-04-10 | 1 | -1/+3 |
| | | |||||
| * | fix a regression in tlexerex | Zahary Karadjov | 2017-04-10 | 1 | -13/+14 |
| | | |||||
| * | fix a parsing regression (calls with do inside param lists) | Zahary Karadjov | 2017-04-10 | 1 | -2/+5 |
| | | | | | | | | | | This treatment is applied only when "do" is used, because the code foo(x: bar) is recognized as object construction. | ||||
| * | fully consisent parsing between the new and the old 'do blocks' | Zahary Karadjov | 2017-04-10 | 1 | -78/+67 |
| | | |||||
| * | the new blocks without 'do' produce compatible AST with 'do blocks' | Zahary Karadjov | 2017-04-09 | 1 | -4/+4 |
| | | |||||
* | | fixes a parser bug | Araq | 2017-04-25 | 1 | -4/+1 |
|/ | |||||
* | assignments support ': stmtList' like let/var do | Andreas Rumpf | 2017-04-04 | 1 | -1/+7 |
| | |||||
* | language addition: colon-block for expressions in let/var context | Andreas Rumpf | 2017-04-02 | 1 | -10/+16 |
| | |||||
* | make pragma expression parsing use the same parser mechanism as elsewhere | Andreas Rumpf | 2017-03-31 | 1 | -3/+2 |
| | |||||
* | proper error reporting for concepts and the introduction of the {.explain.} ↵ | Zahary Karadjov | 2017-03-24 | 1 | -0/+8 |
| | | | | pragma | ||||
* | support the full range of type modifiers when declaring concept vars and ↵ | Zahary Karadjov | 2017-03-24 | 1 | -2/+10 |
| | | | | testing proc signatures | ||||
* | nimsuggest: suggest types in a type section | Andreas Rumpf | 2017-03-14 | 1 | -0/+1 |
| | |||||
* | nimsuggest: make tests green again | Araq | 2017-03-10 | 1 | -2/+2 |
| | |||||
* | nimsuggest: fixes nimsuggest bug #45; do not show suggestions in string ↵ | Araq | 2017-03-08 | 1 | -6/+52 |
| | | | | literals or comments | ||||
* | fixes #5430 | Araq | 2017-02-26 | 1 | -4/+4 |
| | |||||
* | 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 |