summary refs log tree commit diff stats
path: root/compiler/lexer.nim
Commit message (Collapse)AuthorAgeFilesLines
* cleanups for underscores in tuple unpackingAraq2015-04-241-2/+7
|
* Merge pull request #2566 from nanoant/parser-diagnostic-locationAndreas Rumpf2015-04-241-0/+4
|\ | | | | Parser: Fix location (line, col) for diagnostics
| * Parser: Fix location (line, col) for diagnosticsAdam Strzelecki2015-04-211-0/+4
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'devel' into underscore-tuple-unpackDominik Picheta2015-04-231-19/+8
|\| | | | | | | | | Conflicts: compiler/semstmts.nim
| * minor lexer cleanups; fixes #2504Araq2015-04-101-19/+8
| |
* | Get rid of tkUnderscore. Map _ to tkSymbol.Dominik Picheta2015-04-081-4/+4
| |
* | Implements #2154.Dominik Picheta2015-03-311-1/+5
|/ | | | | When unpacking tuples in var/let declarations a part of the tuple can now be discarded using a single underscore.
* breaking change: 'concept' is now a keyword and used instead of 'generic'Araq2015-03-231-173/+173
|
* don't use stdout for nimsuggest server modeAraq2015-02-271-4/+2
|
* Fix typosFederico Ceratto2015-02-151-2/+2
|
* nimsuggest: first versionAraq2015-01-271-1/+9
|
* Merge pull request #1841 from skyfex/develAndreas Rumpf2015-01-121-0/+19
|\ | | | | Add support for big 'u64 literals and remove SomeUInt from unsigned.nim
| * Added support for big 'u64 literalsAudun Wilhelmsen2015-01-021-0/+19
| | | | | | | | Removed duplicate "SomeUInt' typedef from unsigned.nim
* | Happy new year!Guillaume Gelin2015-01-061-1/+1
|/
* destuctors are experimental; 'func' is now a keywordAraq2014-12-101-3/+3
|
* implements 'defer'Araq2014-12-041-2/+4
|
* fixes #1473Araq2014-11-121-6/+13
|
* deprecated '#[' comments for future multi-line comment featureAraq2014-09-281-1/+6
|
* changed comment handling (breaking change); part 2Araq2014-09-071-1/+8
|
* changed comment handling (breaking change)Araq2014-09-071-17/+30
|
* updated the compiler to use the new symbol namesAraq2014-08-281-6/+6
|
* Nimrod renamed to NimAraq2014-08-281-3/+3
|
* renamefestAraq2014-08-231-1/+1
|
* renamefestAraq2014-08-231-3/+3
|
* 'lambda' is no keyword anymoreAraq2014-08-081-2/+2
|
* fixes #1166Araq2014-07-011-12/+9
|
* fixes #1265Araq2014-07-011-2/+8
|
* fixes #1264Araq2014-07-011-0/+4
|
* new concurrency model: first steps; shared is not a keyword anymoreAraq2014-04-141-2/+2
|
* Merge pull request #1003 from flaviut/develAndreas Rumpf2014-03-161-0/+1
|\ | | | | Add token position to `nimrod scan`
| * Add token position to `nimrod scan`flaviut2014-03-141-0/+1
| | | | | | A block of the format "linenum:col\t' is added to the start of each token that is printed.
* | allow multi-line expressions using the dot operatorZahary Karadjov2014-03-161-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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) ```
* | implements strongSpaces parsing modeAraq2014-03-071-0/+16
|/
* next steps for closure iteratorsAraq2014-01-221-1/+1
|
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-1/+1
|
* case consistency: cs:partial bootstraps on windowsAraq2013-12-291-44/+44
|
* case consistency: next stepsAraq2013-12-291-1/+1
|
* case consistency part 4Araq2013-12-271-61/+61
|
* case consistency part 1Araq2013-12-271-4/+4
|
* bugfix: keywords are sortedAraq2013-12-051-4/+6
|
* Merge branch 'type-classes' into upstreamZahary Karadjov2013-09-031-2/+2
|\
| * implemented the using statementZahary Karadjov2013-08-311-2/+2
| |
* | fixes #572Araq2013-08-301-5/+5
|/
* fixes token's column informationAraq2013-07-301-2/+7
|
* implements nicer floating point literalsAraq2013-06-271-12/+13
|
* Merge branch 'master' into newparserAraq2013-05-041-8/+8
|\
| * nimrod dump can now produce a machine readable json reportZahary Karadjov2013-05-011-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | The data in the report includes necessary information for starting the compiler service and setting up the project paths in the IDE. the default verbosity of 1 is now set in the compiler code to fix an issue with verbosity being temporary set to 1 during config parsing even when it's explicitly overridden on the command-line. compiler/lexbase was temporary renamed to nimlexbase as a work-around for a codegen naming conflict with lib/pure/lexbase resulting in linking errors (further investigation needed).
* | new parser worksAraq2013-04-201-0/+1
| |
* | next steps for the new parser/grammarAraq2013-04-201-41/+37
| |
* | first steps to the new parser/grammarAraq2013-04-191-59/+17
|/