summary refs log tree commit diff stats
path: root/compiler/lexer.nim
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-34/+33
| | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* squashed and merged with develArne Döring2019-08-211-1/+1
|
* nim check, fix #11927, no more empty strings (#11979)Miran2019-08-191-1/+3
|
* minor style changesAraq2019-07-111-1/+1
|
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-2/+2
| | | | --styleCheck:error
* nim styleChecker: implemented all the missing features (bugfix)Araq2019-07-101-1/+7
|
* nimpretty: code cleanupsAraq2019-07-091-6/+0
|
* [bugfix] fix #11469, new rules for a newline in nimpretty (#11512)Miran2019-06-261-3/+6
| | | | | * [bugfix] fix #11469, new rules for a newline in nimpretty * concatenate two lines if they have the same indentation level
* [other] Improve the "tabs are not allowed" error message (#11554)Kaushal Modi2019-06-201-1/+1
|
* [bugfix] nimpretty: fixes #11468Araq2019-06-131-3/+3
|
* [refactoring] refactor the compiler and stdlib to deprecation warnings (#11419)Arne Döring2019-06-111-6/+6
|
* right shift is now by default sign preserving (#11322)Arne Döring2019-05-291-6/+7
| | | | | | | | | | | * right shift is now by default sign preserving * fix hashString and semfold * enable arithmetic shift right globally for CI * fix typo * remove xxx * use oldShiftRight as flag * apply feedback * add changelog entry
* Enable range checking for unsigned integers (#11313)Oscar Nihlgård2019-05-251-3/+3
| | | | | | * Enable range checking for unsigned integers * Make the tests green
* StringStream and parseJson, parseCfg, parseSql et al for the vm (#10746)Arne Döring2019-02-281-70/+53
|
* fixes a lexer regression for 'nimble check'Araq2019-02-051-3/+4
|
* make the lexer more forgiving so that nim-regex compiles againAraq2019-02-041-11/+17
|
* Fix error lexer error messages for to large numbers (#10394)Oscar Nihlgård2019-01-211-33/+29
|
* make hex digit error msg more helpful (#9727)Timothee Cour2018-11-161-1/+2
|
* parser change: 'not' is always a unary operator; fixes #9574Andreas Rumpf2018-11-071-1/+1
|
* nimpretty: fixes #9500Araq2018-10-251-0/+1
|
* nimpretty: test for idempotence; fixes #9483Araq2018-10-241-2/+4
|
* nimpretty: fixes #8078Araq2018-10-241-1/+1
|
* nimpretty: fixes #9398Araq2018-10-241-1/+7
|
* nimpretty: minor bug fixAraq2018-10-231-5/+6
|
* Fix infinite loop with `nim check` (#9448)Oscar Nihlgård2018-10-221-0/+2
|
* Unicode escape in string literals (#9390)Oscar Nihlgård2018-10-171-18/+64
|
* nimpretty: add #!nimpretty on/off directivesAndreas Rumpf2018-10-161-1/+3
|
* nimpretty: render r-strings properly, fixes #9236Andreas Rumpf2018-10-161-9/+15
|
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-2/+2
| | | | between modules
* Renderer bug fixes (#8804)cooldome2018-09-071-0/+47
| | | | | | Fixes #8763: render bug: pure enums not handled correctly Fixes #8762: render bug: binary operators called with quotes rendered incorrectly FIxes #8761: render bug: inversion of operator priorities
* 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
|