summary refs log tree commit diff stats
path: root/compiler/lexer.nim
Commit message (Collapse)AuthorAgeFilesLines
* nimsuggest: more things workAraq2017-03-091-1/+2
|
* nimsuggest: more precise cursor trackingAraq2017-03-091-30/+86
|
* nimsuggest: fixes nimsuggest bug #45; do not show suggestions in string ↵Araq2017-03-081-1/+35
| | | | literals or comments
* big refactoring: step 1Araq2016-10-311-59/+31
|
* adapting the lexer for curlysynAraq2016-10-121-2/+2
|
* remove unused stuffJacek Sieka2016-08-091-9/+0
|
* compiler almost free of deprecated expr/stmt namesAndreas Rumpf2016-07-301-5/+5
|
* fixes #4301Andreas Rumpf2016-07-121-0/+3
|
* fixes edge cases in the lexerAndreas Rumpf2016-07-121-3/+5
|
* adds support for unicode hexcode in string literals.Parashurama2016-06-011-2/+21
|
* allow tabs in multi-line commentsAraq2016-05-101-4/+0
|
* avoid overwriting token.indent in lexer.getNumberJacek Sieka2016-03-181-2/+2
| | | | | if it wasn't for bug #3978, assignment from getNumber would overwrite tok.indent (which is set at top of rawGetTok, but not in getNumber)
* use 'using' instead of 'sig' keyword; cleans up new features a bitAndreas Rumpf2016-02-291-2/+2
|
* added 'sig' feature; removed tfShared support in the compilerAndreas Rumpf2016-02-281-2/+3
|
* fixes multi-line commentsAndreas Rumpf2016-01-171-3/+10
|
* fixes multiline commentsAndreas Rumpf2016-01-171-2/+4
|
* implements final version of multiline commentsAndreas Rumpf2016-01-171-14/+24
|
* implements multi-line-comments; pounds are stripped from the doc commentsAndreas Rumpf2016-01-161-12/+73
|
* fixes a critical error handling bug for nimsuggestAraq2015-11-181-0/+1
|
* 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
|