summary refs log tree commit diff stats
path: root/doc/grammar.txt
Commit message (Collapse)AuthorAgeFilesLines
* formal grammar updates [backport:1.2] (#18803)Andreas Rumpf2021-09-041-21/+16
|
* fix RFC #341: dot-like operators are now parsed with same precedence as `.` ↵Timothee Cour2021-08-251-0/+2
| | | | | | | | | | | | | | | | | | | | | (#18711) * fix RFC #341: dot-like operators are now parsed with same precedence as `.` * fixup * [skip ci] address comment in changelog * address comment * update grammmar * add manual entry * fixup * -d:nimPreviewDotLikeOps * address comment to unblock PR: move nimPreviewDotLikeOps out of config/config.nims
* custom integer literals (#17489)Andreas Rumpf2021-03-241-1/+2
| | | | | | | * user defined integer literals; refs #17020 * updated renderer.nim * use mlexerutils helper * imported all test cases from https://github.com/nim-lang/Nim/pull/17020 * final grammar updated
* small fix in grammar.txt [ci skip]narimiran2021-01-281-1/+1
|
* implements https://github.com/nim-lang/RFCs/issues/258 (#15503)Andreas Rumpf2020-10-061-11/+11
| | | | | | | | | * implements https://github.com/nim-lang/RFCs/issues/258 * don't be too strict with custom pragma blocks * cast pragmas: documentation * added most missing inference query procs to effecttraits.nim
* make `from` an operator (#14241)hlaaftana2020-05-081-1/+1
|
* Update grammar.txt with `func` and `as` (#14147) [backport]hlaaftana2020-04-281-1/+2
|
* fixes #10665 (#13141) [backport]Andreas Rumpf2020-01-141-23/+25
|
* parser/grammar sync; fixes #9608 [backport]Andreas Rumpf2018-11-071-4/+5
|
* added the 'x.p[:T]' notation for explicit generic instantiations in ↵Araq2018-04-061-2/+3
| | | | combination with the ddot calling syntax
* Fix casing in rule 'typeDesc' (#7324)Robert Hencke2018-03-121-1/+2
| | | Also, leave a note in grammar.txt that it is generated.
* Block expressions (#6695)Fabian Keller2017-11-061-1/+3
| | | | | | * enabled parsing of block expressions * added test case; closes #3827 * adjusted grammar doc strings * updated grammar in docs
* parser enhancement: allow keywords after dotsAndreas Rumpf2017-07-111-6/+6
|
* assignments support ': stmtList' like let/var doAndreas Rumpf2017-04-041-1/+1
|
* update grammar.txtAndreas Rumpf2017-04-021-1/+2
|
* grammar updateAndreas Rumpf2017-03-311-4/+2
|
* first version of .partial objectsAndreas Rumpf2016-02-281-1/+3
|
* 'out T' is an alias for 'var T'Araq2015-11-261-6/+9
|
* fixes #2533Araq2015-04-241-1/+1
|
* breaking change: 'concept' is now a keyword and used instead of 'generic'Araq2015-03-231-6/+6
|
* fixes #1805Araq2015-03-211-14/+10
|
* 'discard' can be used instead of 'nil' for empty case object branchesAraq2015-01-121-1/+1
|
* compiler\parser.nimAraq2014-12-081-11/+12
| | | | implemented arrow like operators
* implements 'defer'Araq2014-12-041-1/+2
|
* fixes #1161Araq2014-07-011-1/+4
|
* Regenerate docsflaviut2014-06-081-1/+1
|
* fix overlooked grammer commentflaviut2014-06-081-0/+1
|
* updated grammer, fixed oversightflaviut2014-06-041-2/+1
|
* cleaned up command expressionsAraq2014-02-021-2/+1
|
* typeClasses now documented in grammar.txtAraq2014-01-231-0/+4
|
* updated grammar.txtAraq2014-01-201-14/+16
|
* support for multiple modules of the same name; niminst supports 'platforms'; ↵Araq2013-09-241-3/+4
| | | | minor bugfixes
* fixes semicolon parsing issueAraq2013-06-031-1/+1
|
* 'inject' for 'for' loop variablesAraq2013-05-141-2/+2
|
* more intuitive behaviour for 'discardable' in expression bodiesAraq2013-05-041-3/+11
|
* new parsing scheme is documentedAraq2013-04-211-203/+180
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* first steps for 'not nil' annotationAraq2012-11-251-2/+3
|
* 'iterator' as type descriptionAraq2012-11-221-2/+4
|
* improvements for 'bind', fixes #166Araq2012-07-181-1/+1
|
* ';' now valid for parameter listsAraq2012-07-111-3/+5
|
* ' is optional in type suffixes for numerical literalsAraq2012-07-021-0/+1
|
* implemented 'static'; macros do not work anymoreAraq2012-03-151-4/+2
|
* first steps for cleaner static/const distinctionAraq2012-03-131-2/+4
|
* pragma blocks; fixed line information issue with user defined assertionsAraq2012-01-171-2/+3
|
* operator precedence changed: assignment like operators are supported; ↵Araq2011-11-091-2/+3
| | | | escaping of operators with \ is supported
* 'bind' as a declarative statementAraq2011-10-101-2/+3
|
* new syntactic construct: a{i}Araq2011-10-081-1/+2
|
* fixed some newly introduced bugsAraq2011-09-211-1/+4
|
* preparation for new 'is' operator; breaks bootstrapping again, sorry (use ↵Araq2011-07-311-1/+1
| | | | generated C code)