summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2491 from ReneSac/strongSpacesFixAndreas Rumpf2015-04-092-7/+25
|\ | | | | Apply strongSpaces to keyword operators too. Fix #1894.
| * Added tests for keyword operators in tstrongspacesReneSac2015-04-081-1/+18
| | | | | | | | Changed one old test to account for the effect of strong spaces on "and" and cia now.
| * Refactored getPrecedence() after last changeReneSac2015-04-081-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.ReneSac2015-04-081-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-commaAndreas Rumpf2015-04-092-2/+11
|\ \ | | | | | | Fix JS codegen: proc header with compiletime arguments
| * | Don't add a comma too soonOleh Prypin2015-04-091-1/+1
| | | | | | | | | | | | Fixes #2495
| * | Test JS proc header codegenOleh Prypin2015-04-091-1/+10
| | |
* | | Merge pull request #2499 from JosephTurner/fix-uint-segvAndreas Rumpf2015-04-092-1/+11
|\ \ \ | | | | | | | | Fixes #1986 when calling sameConstant on uint
| * | | Adds test file, for bug #1986Joseph Turner2015-04-091-0/+10
| | | |
| * | | Fixes #1986 when calling sameConstant on uintJoseph Turner2015-04-091-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-1460Andreas Rumpf2015-04-093-2/+3
|\ \ \ | | | | | | | | Fix #1460
| * | | Fix installer path for nim.nim.cfgdef2015-03-281-1/+1
| | | |
| * | | Initialize c compiler variables later ...def2015-03-282-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | ... so that symbols such as "cpp" are defined Fixes #1460
* | | | Merge pull request #2497 from BlaXpirit/intsets-importreactormonk2015-04-091-1/+1
|\ \ \ \ | |_|/ / |/| | | Remove unneeded import os from intsets
| * | | Remove unneeded import os from intsetsOleh Prypin2015-04-091-1/+1
|/ / /
* | | Merge pull request #2484 from yglukhov/macos-sigpipeAndreas Rumpf2015-04-083-6/+11
|\ \ \ | | | | | | | | Fixed SIGPIPE on MacOS
| * | | Fixed SIGPIPE on MacOSyglukhov2015-04-083-6/+11
| | | |
* | | | fixes #2489Araq2015-04-082-1/+10
| | | |
* | | | minor doc improvementsAraq2015-04-082-5/+7
| | | |
* | | | Merge pull request #2486 from endragor/rational-hashAndreas Rumpf2015-04-081-0/+14
|\ \ \ \ | | | | | | | | | | Add hash proc for Rational
| * | | | Added hash proc for RationalRuslan Mustakov2015-04-081-0/+14
| | |_|/ | |/| |
* | | | Merge pull request #2487 from endragor/rational-cmp-procvarAndreas Rumpf2015-04-081-1/+1
|\ \ \ \ | | | | | | | | | | Add procvar pragma to rationals.cmp
| * | | | Added procvar pragma to rationals.cmpRuslan Mustakov2015-04-081-1/+1
| |/ / /
* | | | Merge pull request #2483 from def-/ropesAndreas Rumpf2015-04-0822-1486/+1453
|\ \ \ \ | |/ / / |/| | | Get rid of deprecation warnings
| * | | Get rid of deprecation warningsdef2015-04-0722-1486/+1453
| |/ /
* | | Merge pull request #2472 from def-/naturalAndreas Rumpf2015-04-0710-1196/+1196
|\ \ \ | |/ / |/| | Use more Natural and Positive numbers in proc parameters
| * | Use more Natural and Positive numbers in proc parametersdef2015-04-0610-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-renamesAndreas Rumpf2015-04-071-51/+76
|\ \ \ | | | | | | | | DOM types renamed.
| * | | DOM types renamed.yglukhov2015-04-061-51/+76
| |/ /
* | | Merge pull request #2479 from def-/torationalAndreas Rumpf2015-04-071-2/+2
|\ \ \ | | | | | | | | Fix toRational
| * | | Fix toRationaldef2015-04-071-2/+2
| | | |
* | | | Merge pull request #2480 from def-/containerAndreas Rumpf2015-04-071-1/+1
|\ \ \ \ | |/ / / |/| | | Fix container example in manual a bit
| * | | Fix container example in manual a bitdef2015-04-071-1/+1
|/ / /
* | | better alternative to 'override'Araq2015-04-073-19/+18
| | |
* | | added system.typed and system.untyped aliasesAraq2015-04-074-6/+12
| | |
* | | fixes #2427Araq2015-04-062-2/+16
| | |
* | | overloading of '=' worksAraq2015-04-069-6/+147
| | |
* | | first implementation of overloading of '='; missing: rewriting let/var sectionsAraq2015-04-0612-215/+373
|/ /
* | Merge pull request #2428 from arnetheduck/comp-lib-ropesAndreas Rumpf2015-04-0615-191/+202
|\ \ | | | | | | Comp lib ropes
| * | ropes: remove more unnecessary checksJacek Sieka2015-04-032-5/+5
| | |
| * | compiler_ropes: remove unnecessary length checkJacek Sieka2015-04-031-1/+1
| | | | | | | | | | | | frmt[frmt.len] isn't an out-of-bounds access for strings (!)
| * | compiler_ropes: deprecate old function namesJacek Sieka2015-04-011-16/+15
| | |
| * | compiler_ropes: TRope -> RopeObj, PRope* -> Rope*Jacek Sieka2015-04-011-50/+56
| | |
| * | compiler_ropes: toRope -> ropeJacek Sieka2015-04-011-11/+17
| | |
| * | ropes: make lib & compiler frmt more similar, fix out-of-bounds accesses in ↵Jacek Sieka2015-04-012-15/+30
| | | | | | | | | | | | lib ropes
| * | compiler_ropes: ropef -> %, appf -> addfJacek Sieka2015-04-011-19/+21
| | |
| * | compiler_ropes: ropeEqualsFile -> equalsFile, no more max rope component lengthJacek Sieka2015-04-012-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 addJacek Sieka2015-04-011-24/+37
| | | | | | | | | | | | | | | Invokations still need to be updated, but that's a lot of changes, so save for later
| * | compiler_ropes: ropeToStr -> $Jacek Sieka2015-04-0113-37/+32
| | |
| * | compiler_ropes: don't expose newRopeJacek Sieka2015-04-013-5/+5
| | |