Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add finally as post expr block [backport:1.4] (#16896) | hlaaftana | 2021-02-01 | 1 | -0/+115 |
| | |||||
* | use doAssert in tests (#16486) | flywind | 2020-12-28 | 1 | -25/+25 |
| | |||||
* | Add testcase for invalid if statement (#15313) | Clyybber | 2020-09-12 | 1 | -0/+12 |
| | |||||
* | Fix #15305 (#15311) | Clyybber | 2020-09-12 | 1 | -0/+12 |
| | | | | | * Fix #15305 * Fix test | ||||
* | Better semiStmtList parsing (#15123) | Clyybber | 2020-09-09 | 1 | -0/+165 |
| | | | | | | | * Better semiStmtList parsing * Add examples from forums and wiki * Move parseIfExpr near parseIfOrWhen * Update grammar | ||||
* | make `from` an operator (#14241) | hlaaftana | 2020-05-08 | 1 | -0/+12 |
| | |||||
* | Remove immediate pragma (#11308) | Arne Döring | 2019-05-29 | 1 | -5/+5 |
| | | | | | * remove immediate from tests * remove immediate from the compiler | ||||
* | revert parser stmtListExpr (#11007) | cooldome | 2019-04-17 | 1 | -20/+0 |
| | | | | | | | | | | | | | | | | | * Revert "Support for stmtListExpr in parser after major keywords. Scaled down version. (#10852)" This reverts commit 862897dc0f122e374c0e4d44770ffcd8825e51e3. * redo fix for #4035 * render stmtlistExpr using semicolon * Revert "render stmtlistExpr using semicolon" This reverts commit cafb78b8d5b125b5f6ba94248377a1433b3138cb. * revert test | ||||
* | fixes #10896 (#10903) | Andreas Rumpf | 2019-03-25 | 1 | -0/+5 |
| | |||||
* | fixes #10861 (#10877) | cooldome | 2019-03-21 | 1 | -1/+15 |
| | |||||
* | Support for stmtListExpr in parser after major keywords. Scaled down ↵ | cooldome | 2019-03-18 | 1 | -0/+20 |
| | | | | | | | version. (#10852) * Support for stmtListExpr in parser after major keywords * fixes #4035 | ||||
* | gc: destructors is beginning to work (#10483) | Andreas Rumpf | 2019-01-29 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | * kochdocs.nim: code cleanup * docgen: nicer indentation * parser.nim: code cleanup * fixes #10458 * make tests green again * make =destroy mixins * gc:destructors: produced C code is almost working * --gc:destructors simple program compiles (but leaks memory) * gc:destructors make examples compile in C++ mode * destructors: string implementation bugfixes * strs.nim: minor code cleanup * destructors: builtin seqs are beginning to work * remove debugging helpers | ||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 7 | -15/+6 |
| | |||||
* | fixes #9633 | Andreas Rumpf | 2018-11-08 | 1 | -1/+17 |
| | |||||
* | parser change: 'not' is always a unary operator; fixes #9574 | Andreas Rumpf | 2018-11-07 | 1 | -0/+5 |
| | |||||
* | removed the undocumented #? strongSpaces parsing mode | Araq | 2018-11-06 | 1 | -83/+0 |
| | |||||
* | Fix #8126 (#8712) | zah | 2018-08-21 | 1 | -0/+4 |
| | | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release. | ||||
* | Implement the `is` operator for the new static and typedesc type classes | Zahary Karadjov | 2018-06-16 | 1 | -7/+32 |
| | | | | | | | | | This also makes the first baby steps towards a sound treatment of higher-order kinds (type type int). Adds test cases showcasing the new features. * Also fixes breakage after the rebase | ||||
* | A minimal patch enabling the new typedesc and static types syntax | Zahary Karadjov | 2018-06-16 | 1 | -53/+99 |
| | |||||
* | Starting test recording the current state of the parser | Zahary Karadjov | 2018-06-16 | 1 | -0/+481 |
| | | | | | | | | | In the next commit, I'll introduce changes to the parser bringing consistent handling of all type modifiers (ref, ptr, var, static and type). The goal of this commit is to record precisely what is going to be changed (i.e. by allowing you to look at the diff). To preserve the diff, please don't squash upon merging. | ||||
* | make tests green again | Araq | 2018-05-14 | 4 | -7/+7 |
| | |||||
* | update the changelog | Andreas Rumpf | 2018-05-06 | 1 | -432/+0 |
| | |||||
* | fixes #7582 | Andreas Rumpf | 2018-05-05 | 2 | -2/+13 |
| | |||||
* | Get symbol kind (#7491) | Arne Döring | 2018-04-11 | 1 | -89/+89 |
| | |||||
* | Fix parser bug with type classes (#7480) | Oscar Nihlgård | 2018-04-06 | 1 | -0/+17 |
| | |||||
* | added the 'x.p[:T]' notation for explicit generic instantiations in ↵ | Araq | 2018-04-06 | 1 | -1/+7 |
| | | | | combination with the ddot calling syntax | ||||
* | Fixes #7473 (#7475) | Arne Döring | 2018-04-04 | 1 | -5/+4 |
| | | | | | * removed code duplication * changelog entry, adopt tests for changes | ||||
* | make tests green again | Andreas Rumpf | 2017-11-19 | 1 | -89/+89 |
| | |||||
* | Block expressions (#6695) | Fabian Keller | 2017-11-06 | 1 | -1/+10 |
| | | | | | | * enabled parsing of block expressions * added test case; closes #3827 * adjusted grammar doc strings * updated grammar in docs | ||||
* | fixes #6609; 'if' expressions support multiple statements; minor breaking change | Araq | 2017-11-05 | 1 | -0/+18 |
| | |||||
* | Restore the old behavior of parsing "quote do:" | Zahary Karadjov | 2017-08-19 | 1 | -182/+212 |
| | | | | close #5845 | ||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 2 | -11/+10 |
| | |||||
* | Merge branch 'zahary' into araq2 | Andreas Rumpf | 2017-05-16 | 1 | -0/+513 |
|\ | |||||
| * | fix a parsing regression (do is still mandatory in some situations) | Zahary Karadjov | 2017-04-14 | 1 | -0/+16 |
| | | |||||
| * | fix a parsing regression (calls with do inside param lists) | Zahary Karadjov | 2017-04-10 | 1 | -0/+19 |
| | | | | | | | | | | 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 | -0/+478 |
| | | |||||
* | | fixes a parser bug | Araq | 2017-04-25 | 1 | -0/+6 |
|/ | |||||
* | assignments support ': stmtList' like let/var do | Andreas Rumpf | 2017-04-04 | 1 | -1/+2 |
| | |||||
* | language addition: colon-block for expressions in let/var context | Andreas Rumpf | 2017-04-02 | 1 | -0/+33 |
| | |||||
* | implements #?braces syntax | Araq | 2016-10-16 | 1 | -0/+432 |
| | |||||
* | fixes critical 'do' parsing bug | Andreas Rumpf | 2016-05-28 | 1 | -0/+79 |
| | |||||
* | fixes multi-line comments | Andreas Rumpf | 2016-01-17 | 1 | -0/+30 |
| | |||||
* | fixes multiline comments | Andreas Rumpf | 2016-01-17 | 1 | -0/+16 |
| | |||||
* | fixes strutils.unescape; refs #3634 | Andreas Rumpf | 2016-01-17 | 1 | -0/+18 |
| | |||||
* | fixes #1799 properly | Araq | 2015-10-25 | 1 | -0/+71 |
| | |||||
* | sequtils related changes | Peter Mora | 2015-10-05 | 1 | -0/+1 |
| | |||||
* | minor testsuite cleanup | Araq | 2015-09-10 | 1 | -1/+1 |
| | |||||
* | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 3 | -13/+13 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | cleanups for underscores in tuple unpacking | Araq | 2015-04-24 | 1 | -2/+8 |
| | |||||
* | Merge pull request #2566 from nanoant/parser-diagnostic-location | Andreas Rumpf | 2015-04-24 | 3 | -0/+39 |
|\ | | | | | Parser: Fix location (line, col) for diagnostics |