Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #2585 properly | Araq | 2015-04-22 | 1 | -1/+3 |
| | |||||
* | fixes #2585 | Araq | 2015-04-22 | 2 | -5/+7 |
| | |||||
* | fixes #2447 | Araq | 2015-04-22 | 2 | -2/+3 |
| | |||||
* | fixed nil.add for JS | Araq | 2015-04-22 | 1 | -1/+1 |
| | |||||
* | added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin ↵ | Araq | 2015-04-22 | 8 | -16/+75 |
| | | | | system to the compiler | ||||
* | fixes #2581 | Araq | 2015-04-22 | 1 | -9/+16 |
| | |||||
* | cleaned up some magics to make room for new magics; added '..<' and '..^' ↵ | Araq | 2015-04-22 | 5 | -18/+9 |
| | | | | templates | ||||
* | fixes #2550 | Araq | 2015-04-22 | 1 | -9/+13 |
| | |||||
* | Merge pull request #2565 from nanoant/parser-consistency | Andreas Rumpf | 2015-04-22 | 1 | -22/+11 |
|\ | | | | | Parser consistency | ||||
| * | Parser: Make exprList() not comsume endToken | Adam Strzelecki | 2015-04-20 | 1 | -14/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes use single comcol or eat for multiple cases. Also this makes exprList responsible for consuming only list of expressions, nothing else which is more logical. As a side-effect compiler is now more consistent about errors, eg.: try # <- missing something echo "try" finally: echo "finally" Triggers: test.nim(2, 6) Error: ':' expected try: echo "try" finally # <- missing something echo "finally" Previously triggered: test.nim(4, 6) Error: invalid indentation But now we got: Error: ':' expected - same as in 1st case | ||||
| * | Parser: Use colcom(...) when possible | Adam Strzelecki | 2015-04-20 | 1 | -8/+4 |
| | | | | | | | | This make parsing obligatory colon more consistent across the parser's code. | ||||
* | | fixes #2520 | Araq | 2015-04-21 | 1 | -0/+3 |
| | | |||||
* | | attempt to fix JS codegen regression | Araq | 2015-04-20 | 1 | -1/+1 |
| | | |||||
* | | fixes #2505, fixes #1853, fixes #2522 | Araq | 2015-04-20 | 6 | -6/+15 |
| | | |||||
* | | fixes serious codegen regression; C++ target works again | Araq | 2015-04-20 | 1 | -1/+7 |
|/ | |||||
* | Merge branch 'devel' of https://github.com/Araq/Nim into devel | Araq | 2015-04-20 | 6 | -18/+66 |
|\ | |||||
| * | Merge pull request #2503 from ReneSac/arrowLike | Andreas Rumpf | 2015-04-15 | 1 | -1/+2 |
| |\ | | | | | | | Restrict arrow-like operators to those ending with `->`, `~>` or `=>` | ||||
| | * | Minor fixes for arrow like change patch | ReneSac | 2015-04-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | Don't use ^ operator yet for compatibility with older compilers. Moved arrow like explanation, and fix precedence description on the text in the manual. Fixed typo in news. | ||||
| | * | Changing the rule for arrow like operators again. | ReneSac | 2015-04-10 | 1 | -1/+1 |
| | | | |||||
| | * | Restrict arrow-like operators to start with - or = | ReneSac | 2015-04-09 | 1 | -1/+2 |
| | | | |||||
| * | | Merge pull request #2549 from fowlmouth/patch-2 | Andreas Rumpf | 2015-04-15 | 1 | -1/+3 |
| |\ \ | | | | | | | | | fixes for macros.getType() | ||||
| | * | | concept types are represented with getType() | fowlmouth | 2015-04-13 | 1 | -1/+3 |
| | | | | |||||
| * | | | importing of C++ nested generics like std::vector<T>::iterator, using the ↵ | Zahary Karadjov | 2015-04-13 | 4 | -16/+61 |
| | | | | | | | | | | | | | | | | apostrophe operator | ||||
* | | | | VM: minor fixes to make lexim work | Araq | 2015-04-20 | 4 | -67/+75 |
| | | | | |||||
* | | | | parse 'of' branches for macros properly | Araq | 2015-04-19 | 1 | -2/+9 |
| | | | | |||||
* | | | | fixes a serious codegen bug that caused to emit wrong barriers in rare cases | Araq | 2015-04-19 | 1 | -13/+17 |
| | | | | |||||
* | | | | fixes #2476 | Araq | 2015-04-19 | 1 | -13/+22 |
| | | | | |||||
* | | | | implements .goto support for variables | Araq | 2015-04-19 | 3 | -4/+37 |
|/ / / | |||||
* | | | fixes #2498 | Araq | 2015-04-11 | 1 | -2/+0 |
| | | | |||||
* | | | fixes #1658 | Araq | 2015-04-11 | 1 | -1/+1 |
| | | | |||||
* | | | fixes #1691 | Araq | 2015-04-11 | 2 | -7/+17 |
| | | | |||||
* | | | fixes #2509 | Araq | 2015-04-11 | 4 | -2/+14 |
| | | | |||||
* | | | fixes #2508 | Araq | 2015-04-11 | 1 | -10/+10 |
| | | | |||||
* | | | re-enable git hash compiler info | Araq | 2015-04-11 | 1 | -3/+3 |
|/ / | |||||
* | | fixes #2448 | Araq | 2015-04-10 | 1 | -4/+10 |
| | | |||||
* | | fixes #2481 | Araq | 2015-04-10 | 3 | -4/+8 |
| | | |||||
* | | minor lexer cleanups; fixes #2504 | Araq | 2015-04-10 | 2 | -20/+9 |
| | | |||||
* | | fixes #2500 | Araq | 2015-04-10 | 1 | -4/+6 |
| | | |||||
* | | Merge pull request #2493 from arnetheduck/more-comp-ropes | Andreas Rumpf | 2015-04-10 | 1 | -67/+62 |
|\ \ | |/ |/| | More comp ropes | ||||
| * | compiler_ropes: more lib_ropes porting | Jacek Sieka | 2015-04-08 | 1 | -67/+62 |
| | | |||||
* | | Merge pull request #2491 from ReneSac/strongSpacesFix | Andreas Rumpf | 2015-04-09 | 1 | -6/+7 |
|\ \ | | | | | | | Apply strongSpaces to keyword operators too. Fix #1894. | ||||
| * | | Refactored getPrecedence() after last change | ReneSac | 2015-04-08 | 1 | -11/+11 |
| | | | | | | | | | | | | The considerStrongSpaces() is now applied to almost all results, so it is better to do it at the end. | ||||
| * | | Consider #!strongSpaces for keyword operators too. | ReneSac | 2015-04-08 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | When #!strongSpaces is on, every operator affected by it gains priority higher than any operator not affected by it. This includes comparison operators, addition, etc. It seems that counting spaces for keywords operators don't break anything in the parser. Of course, they can't have 0 spaces between their operands, but at least their precedence will work accordingly to their 1+ spaces. | ||||
* | | | Merge pull request #2496 from BlaXpirit/js-header-comma | Andreas Rumpf | 2015-04-09 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Fix JS codegen: proc header with compiletime arguments | ||||
| * | | | Don't add a comma too soon | Oleh Prypin | 2015-04-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Fixes #2495 | ||||
* | | | | Merge pull request #2499 from JosephTurner/fix-uint-segv | Andreas Rumpf | 2015-04-09 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Fixes #1986 when calling sameConstant on uint | ||||
| * | | | | Fixes #1986 when calling sameConstant on uint | Joseph Turner | 2015-04-09 | 1 | -1/+1 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was saveConstant only checked the range `nkCharLit..nkInt64Lit`, but not up to UInt. This lead to the sonsLen method being called, where sons was never declared. This commit changes it to `nkCharLit..nkUint64Lit`, to match the case statements in the type definition of TNode, in ast.nim. | ||||
* | | | | Merge pull request #2426 from def-/fix-1460 | Andreas Rumpf | 2015-04-09 | 3 | -2/+3 |
|\ \ \ \ | |/ / / |/| | | | Fix #1460 | ||||
| * | | | Fix installer path for nim.nim.cfg | def | 2015-03-28 | 1 | -1/+1 |
| | | | | |||||
| * | | | Initialize c compiler variables later ... | def | 2015-03-28 | 2 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | ... so that symbols such as "cpp" are defined Fixes #1460 |