summary refs log tree commit diff stats
path: root/compiler/lexer.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #2909Araq2015-06-151-8/+4
|
* Non-base10 overflow allowed if bit-stable. Tests.Oscar Campbell2015-06-121-3/+15
|
* Fix bug #1179 + some more found while testing.Oscar Campbell2015-06-121-47/+72
| | | | | - The char(-1) < char(0) is not covered in this PR - different beast. - Additionally to #1179, I found that non base-10 literals wheren't bounds checked at all.
* Dropped 'T' from typespdw2015-06-041-3/+3
|
* Merge pull request #2848 from ozra/bugfix-2523-number-literal-lexingAndreas Rumpf2015-06-041-116/+160
|\ | | | | Bugfix #2523 number literal lexing
| * Change const def to cleaner code per suggestion.Oscar Campbell2015-06-021-2/+1
| |
| * Remove forgotten debug echo statement.Oscar Campbell2015-05-311-1/+0
| |
| * Clean up to compiler style. Refine error-msg for illegal octal 'O'Oscar Campbell2015-05-311-124/+64
| |
| * Fix #2523 - first commit. Needs some cleanup.Oscar Campbell2015-05-311-98/+204
| |
* | Restructure branching slighty. Fix error message.Oscar Campbell2015-06-011-2/+3
| |
* | Implement #2811 - Unicode en-dash (U+2013) as hump/snake alt.Oscar Campbell2015-05-311-4/+16
|/
* 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
|