summary refs log tree commit diff stats
path: root/compiler/parser.nim
Commit message (Collapse)AuthorAgeFilesLines
* minor lexer cleanups; fixes #2504Araq2015-04-101-1/+1
|
* Refactored getPrecedence() after last changeReneSac2015-04-081-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.ReneSac2015-04-081-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' gotchaAraq2015-03-271-3/+9
|
* fixes #2405Araq2015-03-251-2/+4
|
* breaking change: 'concept' is now a keyword and used instead of 'generic'Araq2015-03-231-2/+4
|
* fixes long standing parsing issue with command syntaxAraq2015-03-221-15/+26
|
* fixes #1805Araq2015-03-211-201/+185
|
* interpret `tuple` as a class and `tuple[]` as the empty tupleMax Zerzouri2015-03-061-0/+3
| | | | | | | | When the indentation syntax is allowed it is always interpreted as a tuple: type Unit = tuple
* fixes #2123Araq2015-02-141-0/+1
|
* fixes #2073; language spec change: arrow like operators are not right ↵Araq2015-02-081-2/+2
| | | | associative anymore
* nimsuggest improvementsAraq2015-01-301-1/+4
|
* nimsuggest: first versionAraq2015-01-271-6/+11
|
* 'discard' can be used instead of 'nil' for empty case object branchesAraq2015-01-121-3/+3
|
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* fixes #1120Araq2014-12-251-2/+6
|
* fixes #1742Araq2014-12-241-1/+1
|
* fixes a small bug concerning semicolons for top level statementsAraq2014-12-231-2/+4
|
* implemented arrow like operatorsAraq2014-12-081-23/+22
|
* implements 'defer'Araq2014-12-041-4/+6
|
* fixes #1473Araq2014-11-121-4/+5
|
* Nimrod renamed to NimAraq2014-08-281-2/+2
|
* renamefestAraq2014-08-231-1/+1
|
* fixes #1161Araq2014-07-011-9/+12
|
* fix tokenizing bugflaviut2014-06-081-8/+13
|
* fix overlooked grammer commentflaviut2014-06-081-0/+1
|
* updated grammer, fixed oversightflaviut2014-06-041-1/+1
|
* fix bug with unexpected tkInvalid,tkEof,tkCommentflaviut2014-06-041-0/+2
|
* Clean up codeflaviut2014-06-031-12/+7
|
* Fix accents in enumsflaviut2014-06-031-3/+5
|
* Generalize accent parsingflaviut2014-06-031-20/+9
|
* Document parser structures and procedures.Clay Sweetser2014-05-251-20/+39
|
* new concurrency model: first steps; shared is not a keyword anymoreAraq2014-04-141-2/+1
|
* implemented 'R ptr T' syntaxAraq2014-04-131-1/+1
|
* fixes #992Araq2014-03-261-0/+2
|
* implements ``distinct with/without X, Y``Zahary Karadjov2014-03-201-16/+28
| | | | | | This still doesn't work quite right, because some common operations like array indexing lay completely outside the scope/symbol lookup system - they are not even magics.
* allow multi-line expressions using the dot operatorZahary Karadjov2014-03-161-6/+10
| | | | | | | | | | | | this enables parsing of expressions like: ``` Nimrod s.items .map(proc (x): auto = x * 2) .filter do (x) -> auto: return x % 2 == 0 .group_by((x) => x.length) ```
* grammar fix: allow free-standing expressions such as type(foo) is barZahary Karadjov2014-03-161-4/+19
|
* implements strongSpaces parsing modeAraq2014-03-071-20/+45
|
* the delegator pragma becomes a set of dot operatorsZahary Karadjov2014-02-151-1/+1
|
* fixes regression: constant fac4 didn't workAraq2014-02-061-8/+15
|
* cleaned up command expressionsAraq2014-02-021-6/+5
|
* only 1 argument allowed for command expressionsAraq2014-02-021-6/+10
|
* fixes a minor parser bugAraq2014-01-251-2/+1
|
* typeClasses now documented in grammar.txtAraq2014-01-231-0/+4
|
* next steps for closure iteratorsAraq2014-01-221-2/+2
|
* parser support anon iteratorsAraq2014-01-201-2/+3
|
* updated grammar.txtAraq2014-01-201-2/+2
|
* command syntax is allowed in expressionsAraq2014-01-201-44/+74
|
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-1/+1
|