summary refs log tree commit diff stats
path: root/compiler/lexer.nim
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetic: fix typo on TRIPLESTR_LIT (#8663)Iván Montes2018-08-211-1/+1
|
* Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178)Vindaar2018-07-031-8/+19
| | | | | | | | | | | | | | | * deprecate `0c`, `0C` prefix for octal literals Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for octal literals to bring the literals in line with the behavior of `parseOct` from parseutils. * add `msgKind` arg to `lexMessageLitNum` for deprecation messages * change literal tests to check all valid integer literals Also adds the `tinvaligintegerlit3` test to test for the (still) invalid `0O` prefix.
* improve error message if literal ends with an underscore (#8114)Vindaar2018-06-281-1/+2
|
* Lexer: do not accept some invalid integer literals (#8089)Hiroki Noda2018-06-271-7/+12
| | | | | | * Lexer: do not accept some invalid integer literals * Use Natural instead of uint, and result variable
* nimpretty improvementsAndreas Rumpf2018-06-191-1/+13
|
* nimpretty: first version that seems useful for others to test itAndreas Rumpf2018-06-161-1/+11
|
* fixex merge conflictsAraq2018-06-081-1/+1
|\
| * Multi byte characters should not be treated as part of an operatorOscar Nihlgård2018-06-031-1/+1
| |
* | cleanup compiler/prettybase to not use redudant global variablesAndreas Rumpf2018-05-271-5/+0
| |
* | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-18/+18
| |
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-2/+2
| |
* | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-1/+1
|/
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-3/+3
|
* make nimsuggest compile againAndreas Rumpf2018-05-131-5/+5
|
* avoid more global variablesAndreas Rumpf2018-05-111-1/+1
|
* big refactoring: parser compiles againAndreas Rumpf2018-05-101-31/+34
|
* make Nimble not crash after the refactoringAndreas Rumpf2018-05-051-1/+2
|
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-17/+18
|
* the compiler does not rely on the zero terminator anymoreAndreas Rumpf2018-04-291-8/+7
|
* refactoring: make FileIndex a distinct type; make line information an ↵Andreas Rumpf2018-04-211-9/+9
| | | | uint16; fixes #7654
* nimpretty: next stepsAraq2018-04-181-1/+3
|
* little progress on nimprettyAraq2018-04-181-4/+11
|
* added the 'x.p[:T]' notation for explicit generic instantiations in ↵Araq2018-04-061-2/+5
| | | | combination with the ddot calling syntax
* in triple line string literals the newline should be '\n' tooAraq2018-01-281-1/+1
|
* fixes #7089Andreas Rumpf2018-01-241-1/+9
|
* added lexer.newlineFollows for parser experimentsAndreas Rumpf2017-11-291-0/+17
|
* language change: 'generic' and 'atomic' are not keywords anymoreAndreas Rumpf2017-11-211-4/+4
|
* deprecated unary '<'Andreas Rumpf2017-10-291-1/+1
|
* some progress on the nimpretty tool; still not readyAraq2017-10-161-0/+22
|
* do not produce the annoying small 'l' warningAndreas Rumpf2017-10-101-7/+1
|
* beginnings of the new nimpretty tool; still unusableAndreas Rumpf2017-10-051-35/+51
|
* 'with' and 'without' are not keywords anymoreAraq2017-09-301-2/+2
|
* bugfix: keep the information of a raw float literal in the ASTAndreas Rumpf2017-07-061-3/+4
|
* remove en-dash from the languageAndreas Rumpf2017-04-021-18/+5
|
* nimsuggest: make tdot1 test case green againAndreas Rumpf2017-03-141-1/+1
|
* Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-03-141-1/+1
|\
| * fixes nimsuggest bug #45Araq2017-03-081-1/+1
| |
* | nimsuggest: make 'con' work againAndreas Rumpf2017-03-101-0/+4
| |
* | nimsuggest: make tests green againAndreas Rumpf2017-03-101-2/+3
| |
* | 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
|