Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2491 from ReneSac/strongSpacesFix | Andreas Rumpf | 2015-04-09 | 2 | -7/+25 |
|\ | | | | | Apply strongSpaces to keyword operators too. Fix #1894. | ||||
| * | Added tests for keyword operators in tstrongspaces | ReneSac | 2015-04-08 | 1 | -1/+18 |
| | | | | | | | | Changed one old test to account for the effect of strong spaces on "and" and cia now. | ||||
| * | 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 | 2 | -2/+11 |
|\ \ | | | | | | | 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 | ||||
| * | | Test JS proc header codegen | Oleh Prypin | 2015-04-09 | 1 | -1/+10 |
| | | | |||||
* | | | Merge pull request #2499 from JosephTurner/fix-uint-segv | Andreas Rumpf | 2015-04-09 | 2 | -1/+11 |
|\ \ \ | | | | | | | | | Fixes #1986 when calling sameConstant on uint | ||||
| * | | | Adds test file, for bug #1986 | Joseph Turner | 2015-04-09 | 1 | -0/+10 |
| | | | | |||||
| * | | | 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 | ||||
* | | | | Merge pull request #2497 from BlaXpirit/intsets-import | reactormonk | 2015-04-09 | 1 | -1/+1 |
|\ \ \ \ | |_|/ / |/| | | | Remove unneeded import os from intsets | ||||
| * | | | Remove unneeded import os from intsets | Oleh Prypin | 2015-04-09 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #2484 from yglukhov/macos-sigpipe | Andreas Rumpf | 2015-04-08 | 3 | -6/+11 |
|\ \ \ | | | | | | | | | Fixed SIGPIPE on MacOS | ||||
| * | | | Fixed SIGPIPE on MacOS | yglukhov | 2015-04-08 | 3 | -6/+11 |
| | | | | |||||
* | | | | fixes #2489 | Araq | 2015-04-08 | 2 | -1/+10 |
| | | | | |||||
* | | | | minor doc improvements | Araq | 2015-04-08 | 2 | -5/+7 |
| | | | | |||||
* | | | | Merge pull request #2486 from endragor/rational-hash | Andreas Rumpf | 2015-04-08 | 1 | -0/+14 |
|\ \ \ \ | | | | | | | | | | | Add hash proc for Rational | ||||
| * | | | | Added hash proc for Rational | Ruslan Mustakov | 2015-04-08 | 1 | -0/+14 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #2487 from endragor/rational-cmp-procvar | Andreas Rumpf | 2015-04-08 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Add procvar pragma to rationals.cmp | ||||
| * | | | | Added procvar pragma to rationals.cmp | Ruslan Mustakov | 2015-04-08 | 1 | -1/+1 |
| |/ / / | |||||
* | | | | Merge pull request #2483 from def-/ropes | Andreas Rumpf | 2015-04-08 | 22 | -1486/+1453 |
|\ \ \ \ | |/ / / |/| | | | Get rid of deprecation warnings | ||||
| * | | | Get rid of deprecation warnings | def | 2015-04-07 | 22 | -1486/+1453 |
| |/ / | |||||
* | | | Merge pull request #2472 from def-/natural | Andreas Rumpf | 2015-04-07 | 10 | -1196/+1196 |
|\ \ \ | |/ / |/| | | Use more Natural and Positive numbers in proc parameters | ||||
| * | | Use more Natural and Positive numbers in proc parameters | def | 2015-04-06 | 10 | -1196/+1196 |
| | | | | | | | | | | | | | | | - Didn't go through all modules, only the main ones I thought of - Building the compiler and tests still work | ||||
* | | | Merge pull request #2475 from yglukhov/dom-renames | Andreas Rumpf | 2015-04-07 | 1 | -51/+76 |
|\ \ \ | | | | | | | | | DOM types renamed. | ||||
| * | | | DOM types renamed. | yglukhov | 2015-04-06 | 1 | -51/+76 |
| |/ / | |||||
* | | | Merge pull request #2479 from def-/torational | Andreas Rumpf | 2015-04-07 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Fix toRational | ||||
| * | | | Fix toRational | def | 2015-04-07 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merge pull request #2480 from def-/container | Andreas Rumpf | 2015-04-07 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | Fix container example in manual a bit | ||||
| * | | | Fix container example in manual a bit | def | 2015-04-07 | 1 | -1/+1 |
|/ / / | |||||
* | | | better alternative to 'override' | Araq | 2015-04-07 | 3 | -19/+18 |
| | | | |||||
* | | | added system.typed and system.untyped aliases | Araq | 2015-04-07 | 4 | -6/+12 |
| | | | |||||
* | | | fixes #2427 | Araq | 2015-04-06 | 2 | -2/+16 |
| | | | |||||
* | | | overloading of '=' works | Araq | 2015-04-06 | 9 | -6/+147 |
| | | | |||||
* | | | first implementation of overloading of '='; missing: rewriting let/var sections | Araq | 2015-04-06 | 12 | -215/+373 |
|/ / | |||||
* | | Merge pull request #2428 from arnetheduck/comp-lib-ropes | Andreas Rumpf | 2015-04-06 | 15 | -191/+202 |
|\ \ | | | | | | | Comp lib ropes | ||||
| * | | ropes: remove more unnecessary checks | Jacek Sieka | 2015-04-03 | 2 | -5/+5 |
| | | | |||||
| * | | compiler_ropes: remove unnecessary length check | Jacek Sieka | 2015-04-03 | 1 | -1/+1 |
| | | | | | | | | | | | | frmt[frmt.len] isn't an out-of-bounds access for strings (!) | ||||
| * | | compiler_ropes: deprecate old function names | Jacek Sieka | 2015-04-01 | 1 | -16/+15 |
| | | | |||||
| * | | compiler_ropes: TRope -> RopeObj, PRope* -> Rope* | Jacek Sieka | 2015-04-01 | 1 | -50/+56 |
| | | | |||||
| * | | compiler_ropes: toRope -> rope | Jacek Sieka | 2015-04-01 | 1 | -11/+17 |
| | | | |||||
| * | | ropes: make lib & compiler frmt more similar, fix out-of-bounds accesses in ↵ | Jacek Sieka | 2015-04-01 | 2 | -15/+30 |
| | | | | | | | | | | | | lib ropes | ||||
| * | | compiler_ropes: ropef -> %, appf -> addf | Jacek Sieka | 2015-04-01 | 1 | -19/+21 |
| | | | |||||
| * | | compiler_ropes: ropeEqualsFile -> equalsFile, no more max rope component length | Jacek Sieka | 2015-04-01 | 2 | -65/+41 |
| | | | | | | | | | | | | | | | | | | | | | read file data in bigger blocks, avoiding lots of file api calls also removed crc step - seems easier to simply compare the bytes rather than calculating two crc's | ||||
| * | | compiler_ropes: add `&` and add | Jacek Sieka | 2015-04-01 | 1 | -24/+37 |
| | | | | | | | | | | | | | | | Invokations still need to be updated, but that's a lot of changes, so save for later | ||||
| * | | compiler_ropes: ropeToStr -> $ | Jacek Sieka | 2015-04-01 | 13 | -37/+32 |
| | | | |||||
| * | | compiler_ropes: don't expose newRope | Jacek Sieka | 2015-04-01 | 3 | -5/+5 |
| | | |