summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* fixes #2498Araq2015-04-111-2/+0
|
* fixes #1658Araq2015-04-111-1/+1
|
* fixes #1691Araq2015-04-112-7/+17
|
* fixes #2509Araq2015-04-114-2/+14
|
* fixes #2508Araq2015-04-111-10/+10
|
* re-enable git hash compiler infoAraq2015-04-111-3/+3
|
* fixes #2448Araq2015-04-101-4/+10
|
* fixes #2481Araq2015-04-103-4/+8
|
* minor lexer cleanups; fixes #2504Araq2015-04-102-20/+9
|
* fixes #2500Araq2015-04-101-4/+6
|
* Merge pull request #2493 from arnetheduck/more-comp-ropesAndreas Rumpf2015-04-101-67/+62
|\ | | | | More comp ropes
| * compiler_ropes: more lib_ropes portingJacek Sieka2015-04-081-67/+62
| |
* | Merge pull request #2491 from ReneSac/strongSpacesFixAndreas Rumpf2015-04-091-6/+7
|\ \ | | | | | | Apply strongSpaces to keyword operators too. Fix #1894.
| * | 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-091-1/+1
|\ \ \ | | | | | | | | Fix JS codegen: proc header with compiletime arguments
| * | | Don't add a comma too soonOleh Prypin2015-04-091-1/+1
| | | | | | | | | | | | | | | | Fixes #2495
* | | | Merge pull request #2499 from JosephTurner/fix-uint-segvAndreas Rumpf2015-04-091-1/+1
|\ \ \ \ | | | | | | | | | | Fixes #1986 when calling sameConstant on uint
| * | | | 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
* | | | fixes #2489Araq2015-04-081-1/+1
| |_|/ |/| |
* | | Get rid of deprecation warningsdef2015-04-0722-1486/+1453
| |/ |/|
* | fixes #2427Araq2015-04-061-2/+2
| |
* | overloading of '=' worksAraq2015-04-063-4/+36
| |
* | first implementation of overloading of '='; missing: rewriting let/var sectionsAraq2015-04-0610-203/+337
| |
* | Merge pull request #2428 from arnetheduck/comp-lib-ropesAndreas Rumpf2015-04-0614-179/+189
|\ \ | | | | | | Comp lib ropes
| * | ropes: remove more unnecessary checksJacek Sieka2015-04-031-2/+2
| | |
| * | 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-011-1/+15
| | | | | | | | | | | | 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
| | |
| * | compiler_ropes: ropeLen -> lenJacek Sieka2015-04-011-2/+1
| | |
* | | GC-safety error messages are useful nowAraq2015-04-043-9/+42
| | |
* | | don't store the scope for routinesAraq2015-04-044-10/+11
| | |
* | | preparations for better gcsafety messagesAraq2015-04-042-90/+90
| | |
* | | better error message for implicit pragmasAraq2015-04-041-0/+2
|/ /
* | bugfixes for C++ codegenAraq2015-04-012-249/+275
| |
* | doc updates; fixes 'inc' for 'char'Araq2015-03-292-36/+36
|/
* fixes #2355Araq2015-03-281-1/+2
|
* fixes #2420; negative indexing for slicing is obsolete (breaking change!)Araq2015-03-284-22/+24
|
* fixes another regressionAraq2015-03-271-1/+2
|
* set type for symbols from getType()Billingsly Wetherfordshire2015-03-271-0/+1
|