summary refs log tree commit diff stats
path: root/tests/parser
Commit message (Collapse)AuthorAgeFilesLines
* Fix #8126 (#8712)zah2018-08-211-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 classesZahary Karadjov2018-06-161-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 syntaxZahary Karadjov2018-06-161-53/+99
|
* Starting test recording the current state of the parserZahary Karadjov2018-06-161-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 againAraq2018-05-144-7/+7
|
* update the changelogAndreas Rumpf2018-05-061-432/+0
|
* fixes #7582Andreas Rumpf2018-05-052-2/+13
|
* Get symbol kind (#7491)Arne Döring2018-04-111-89/+89
|
* Fix parser bug with type classes (#7480)Oscar Nihlgård2018-04-061-0/+17
|
* added the 'x.p[:T]' notation for explicit generic instantiations in ↵Araq2018-04-061-1/+7
| | | | combination with the ddot calling syntax
* Fixes #7473 (#7475)Arne Döring2018-04-041-5/+4
| | | | | * removed code duplication * changelog entry, adopt tests for changes
* make tests green againAndreas Rumpf2017-11-191-89/+89
|
* Block expressions (#6695)Fabian Keller2017-11-061-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 changeAraq2017-11-051-0/+18
|
* Restore the old behavior of parsing "quote do:"Zahary Karadjov2017-08-191-182/+212
| | | | close #5845
* Remove expr/stmt (#5857)Arne Döring2017-07-252-11/+10
|
* Merge branch 'zahary' into araq2Andreas Rumpf2017-05-161-0/+513
|\
| * fix a parsing regression (do is still mandatory in some situations)Zahary Karadjov2017-04-141-0/+16
| |
| * fix a parsing regression (calls with do inside param lists)Zahary Karadjov2017-04-101-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 Karadjov2017-04-101-0/+478
| |
* | fixes a parser bugAraq2017-04-251-0/+6
|/
* assignments support ': stmtList' like let/var doAndreas Rumpf2017-04-041-1/+2
|
* language addition: colon-block for expressions in let/var contextAndreas Rumpf2017-04-021-0/+33
|
* implements #?braces syntaxAraq2016-10-161-0/+432
|
* fixes critical 'do' parsing bugAndreas Rumpf2016-05-281-0/+79
|
* fixes multi-line commentsAndreas Rumpf2016-01-171-0/+30
|
* fixes multiline commentsAndreas Rumpf2016-01-171-0/+16
|
* fixes strutils.unescape; refs #3634Andreas Rumpf2016-01-171-0/+18
|
* fixes #1799 properlyAraq2015-10-251-0/+71
|
* sequtils related changesPeter Mora2015-10-051-0/+1
|
* minor testsuite cleanupAraq2015-09-101-1/+1
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-043-13/+13
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* cleanups for underscores in tuple unpackingAraq2015-04-241-2/+8
|
* Merge pull request #2566 from nanoant/parser-diagnostic-locationAndreas Rumpf2015-04-243-0/+39
|\ | | | | Parser: Fix location (line, col) for diagnostics
| * Parser: Test for exact missing ':' location columnAdam Strzelecki2015-04-213-0/+39
| | | | | | | | | | This ensures compiler points to the right place when claiming that ':' is missing.
* | Add sfGenSym for (_).Dominik Picheta2015-04-231-12/+20
| |
* | Merge branch 'devel' into underscore-tuple-unpackDominik Picheta2015-04-231-1/+32
|\| | | | | | | | | Conflicts: compiler/semstmts.nim
| * Changing the rule for arrow like operators again.ReneSac2015-04-101-5/+5
| |
| * Restore newline at the end of the file.ReneSac2015-04-091-1/+1
| |
| * Add tests for arrow like ops in tstrongspaces.nimReneSac2015-04-091-0/+14
| |
| * Added tests for keyword operators in tstrongspacesReneSac2015-04-081-1/+18
| | | | | | | | Changed one old test to account for the effect of strong spaces on "and" and cia now.
* | Get rid of tkUnderscore. Map _ to tkSymbol.Dominik Picheta2015-04-081-0/+3
| |
* | Implements #2154.Dominik Picheta2015-03-311-0/+18
|/ | | | | When unpacking tuples in var/let declarations a part of the tuple can now be discarded using a single underscore.
* fixes long standing parsing issue with command syntaxAraq2015-03-222-3/+13
|
* fixes #1802Araq2015-03-221-0/+19
|
* fixes #1805Araq2015-03-211-0/+19
|
* fixes #2123Araq2015-02-141-0/+11
|
* fixes a small bug concerning semicolons for top level statementsAraq2014-12-231-2/+6
|
* osproc compiles again for haikuAraq2014-03-101-0/+52
|
* Remove spurious import added in the last commit.ReneSac2014-02-031-1/+1
|