Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [minor]remove unnecessary stringify (#18419) | flywind | 2021-07-02 | 1 | -4/+4 |
| | |||||
* | refs #15667 improve invalid indentation errors, report when & where `=` ↵ | Timothee Cour | 2021-04-10 | 1 | -0/+1 |
| | | | | | | | | | | | could be missing (#16397) * refs #15667 improve invalid indentation errors * also show line info where = is missing * add test * add more tests | ||||
* | docgen: render pragmas by default except for a select list (and fix #9074) ↵ | Timothee Cour | 2021-04-01 | 1 | -1/+1 |
| | | | | (#17054) | ||||
* | followup custom literals (#17500) | Timothee Cour | 2021-03-27 | 1 | -14/+11 |
| | |||||
* | custom integer literals bugfixes (#17499) | Andreas Rumpf | 2021-03-24 | 1 | -4/+5 |
| | | | | | * custom integer literals bugfixes * make nimsuggest compile again | ||||
* | custom integer literals (#17489) | Andreas Rumpf | 2021-03-24 | 1 | -178/+170 |
| | | | | | | | * user defined integer literals; refs #17020 * updated renderer.nim * use mlexerutils helper * imported all test cases from https://github.com/nim-lang/Nim/pull/17020 * final grammar updated | ||||
* | make unary minus part of number literals, refs #17020 (#17488) | Andreas Rumpf | 2021-03-24 | 1 | -32/+55 |
| | | | | * make unary minus part of number literals, refs #17020 * fixes regression | ||||
* | conservative approach to fix #15184 (#16723) | Andrey Makarov | 2021-01-15 | 1 | -10/+19 |
| | |||||
* | Fix typo in lexer.nim (#15876) | sherbst | 2020-11-07 | 1 | -1/+1 |
| | |||||
* | Use modern enums in compiler (#15775) | cooldome | 2020-11-02 | 1 | -63/+40 |
| | |||||
* | Fix commentOffsetA for doc comments (#15643) | Clyybber | 2020-10-20 | 1 | -1/+1 |
| | |||||
* | nimpretty: do not produce 'line too long' messages (#15541) | Andreas Rumpf | 2020-10-10 | 1 | -2/+3 |
| | |||||
* | fixes a regression | Araq | 2020-10-08 | 1 | -0/+1 |
| | |||||
* | Big compiler Cleanup (#14777) | Clyybber | 2020-08-28 | 1 | -89/+68 |
| | |||||
* | Deprecate oldNewlines, clean out deprecated code from oldNewlines (#14763) | Juan Carlos | 2020-06-23 | 1 | -6/+1 |
| | |||||
* | make `from` an operator (#14241) | hlaaftana | 2020-05-08 | 1 | -1/+1 |
| | |||||
* | Error -> Defect for defects (#13908) | Jacek Sieka | 2020-04-28 | 1 | -3/+3 |
| | | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here. | ||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -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 Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | squashed and merged with devel | Arne Döring | 2019-08-21 | 1 | -1/+1 |
| | |||||
* | nim check, fix #11927, no more empty strings (#11979) | Miran | 2019-08-19 | 1 | -1/+3 |
| | |||||
* | minor style changes | Araq | 2019-07-11 | 1 | -1/+1 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -2/+2 |
| | | | | --styleCheck:error | ||||
* | nim styleChecker: implemented all the missing features (bugfix) | Araq | 2019-07-10 | 1 | -1/+7 |
| | |||||
* | nimpretty: code cleanups | Araq | 2019-07-09 | 1 | -6/+0 |
| | |||||
* | [bugfix] fix #11469, new rules for a newline in nimpretty (#11512) | Miran | 2019-06-26 | 1 | -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 Modi | 2019-06-20 | 1 | -1/+1 |
| | |||||
* | [bugfix] nimpretty: fixes #11468 | Araq | 2019-06-13 | 1 | -3/+3 |
| | |||||
* | [refactoring] refactor the compiler and stdlib to deprecation warnings (#11419) | Arne Döring | 2019-06-11 | 1 | -6/+6 |
| | |||||
* | right shift is now by default sign preserving (#11322) | Arne Döring | 2019-05-29 | 1 | -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ård | 2019-05-25 | 1 | -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öring | 2019-02-28 | 1 | -70/+53 |
| | |||||
* | fixes a lexer regression for 'nimble check' | Araq | 2019-02-05 | 1 | -3/+4 |
| | |||||
* | make the lexer more forgiving so that nim-regex compiles again | Araq | 2019-02-04 | 1 | -11/+17 |
| | |||||
* | Fix error lexer error messages for to large numbers (#10394) | Oscar Nihlgård | 2019-01-21 | 1 | -33/+29 |
| | |||||
* | make hex digit error msg more helpful (#9727) | Timothee Cour | 2018-11-16 | 1 | -1/+2 |
| | |||||
* | parser change: 'not' is always a unary operator; fixes #9574 | Andreas Rumpf | 2018-11-07 | 1 | -1/+1 |
| | |||||
* | nimpretty: fixes #9500 | Araq | 2018-10-25 | 1 | -0/+1 |
| | |||||
* | nimpretty: test for idempotence; fixes #9483 | Araq | 2018-10-24 | 1 | -2/+4 |
| | |||||
* | nimpretty: fixes #8078 | Araq | 2018-10-24 | 1 | -1/+1 |
| | |||||
* | nimpretty: fixes #9398 | Araq | 2018-10-24 | 1 | -1/+7 |
| | |||||
* | nimpretty: minor bug fix | Araq | 2018-10-23 | 1 | -5/+6 |
| | |||||
* | Fix infinite loop with `nim check` (#9448) | Oscar Nihlgård | 2018-10-22 | 1 | -0/+2 |
| | |||||
* | Unicode escape in string literals (#9390) | Oscar Nihlgård | 2018-10-17 | 1 | -18/+64 |
| | |||||
* | nimpretty: add #!nimpretty on/off directives | Andreas Rumpf | 2018-10-16 | 1 | -1/+3 |
| | |||||
* | nimpretty: render r-strings properly, fixes #9236 | Andreas Rumpf | 2018-10-16 | 1 | -9/+15 |
| | |||||
* | compiler refactoring; use typesafe path handing; docgen: render symbols ↵ | Andreas Rumpf | 2018-09-07 | 1 | -2/+2 |
| | | | | between modules | ||||
* | Renderer bug fixes (#8804) | cooldome | 2018-09-07 | 1 | -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 Montes | 2018-08-21 | 1 | -1/+1 |
| | |||||
* | Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178) | Vindaar | 2018-07-03 | 1 | -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. |