summary refs log tree commit diff stats
path: root/compiler/ropes.nim
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-19/+17
| | | | | | | | | | | | | | | | | | * 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
* Replace countup(x, y) with x .. yClyybber2019-05-071-2/+2
|
* fewer ropes (#11037)Arne Döring2019-04-191-2/+5
|
* fixes a critical GC safety inference bug (#10615)Andreas Rumpf2019-03-051-11/+15
| | | | | | * fixes a critical GC safety inference bug * make nimsuggest compile again * make Nimble compile again
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-5/+7
| | | | between modules
* WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-18/+8
|
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-4/+2
|
* platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-7/+2
|
* compiler/ropes.nim has no global error handler anymoreAndreas Rumpf2018-05-171-17/+9
|
* fixes #7730, fixes #7746Araq2018-05-021-2/+2
|
* the compiler does not rely on the zero terminator anymoreAndreas Rumpf2018-04-291-1/+1
|
* improve the debugging experience when line directives are usedZahary Karadjov2017-09-041-0/+1
|
* fixes #4656; ropes.nim checks properly for file equalityAndreas Rumpf2016-08-261-1/+6
|
* compiler: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-1/+1
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* compiler_ropes: more lib_ropes portingJacek Sieka2015-04-081-67/+62
|
* Get rid of deprecation warningsdef2015-04-071-32/+5
|
* 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-011-56/+38
| | | | | | | 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-011-2/+1
|
* compiler_ropes: don't expose newRopeJacek Sieka2015-04-011-1/+1
|
* compiler_ropes: ropeLen -> lenJacek Sieka2015-04-011-2/+1
|
* prepare for upcoming parsing change of unary operatorsAraq2015-03-221-61/+61
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* Nimrod renamed to NimAraq2014-08-281-2/+2
|
* renamefestAraq2014-08-231-5/+5
|
* Merge branch 'upstream' into develZahary Karadjov2013-12-291-7/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: compiler/ccgutils.nim compiler/msgs.nim compiler/sem.nim compiler/semexprs.nim compiler/seminst.nim compiler/semmagic.nim compiler/semstmts.nim compiler/semtypes.nim compiler/semtypinst.nim compiler/sigmatch.nim compiler/types.nim compiler/vmgen.nim lib/core/macros.nim lib/system.nim tests/reject/tenummix.nim web/news.txt
| * static params: expr[T] is now static[T]Zahary Karadjov2013-12-191-7/+10
| | | | | | | | | | | | | | This introduces tyStatic and successfully bootstraps and handles few simple test cases. Static params within macros are no longer treated as PNimrodNodes - they are now equivalent to constants of the designated type.
* | case consistency: next stepsAraq2013-12-291-4/+4
| |
* | case consistency part 4Araq2013-12-271-7/+7
| |
* | case consistency part 1Araq2013-12-271-13/+13
|/
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* adds an option to interleave the generated code with snippets from the ↵Zahary Karadjov2012-12-021-8/+16
| | | | | | | | | | | | | | | original source Lines from the original source are outputted as comments next to line directives. Hopefully, this will make debugging codegen problems easier. Other changes: The frame setup code now uses a single-line C macro. My motivation was to reduce the noise in the generated output and make it easier to step over the boiler-plate code, but counter-intuitively this also improved the overall compilation speed a little bit so I applied the same treatment to line tracking too (this reduces the size of the generated files and the explanation is that probably the I/O overhead dominates the macro expansion costs).
* temporary debugging code for the memory leak investigationZahary Karadjov2012-11-281-0/+4
|
* disables the compile-time rope formatting during bootstrappingZahary Karadjov2012-11-281-2/+5
|
* experimental compile-time rope formatting codeZahary Karadjov2012-11-281-2/+23
|
* implemented a stack trace profilerAraq2012-09-151-0/+1
|
* openarray/varargs split; breaks bootstrappingAraq2012-08-161-6/+6
|
* made compiler more robust for idetools supportAraq2012-07-301-1/+3
|
* implements #173Araq2012-07-281-1/+1
|
* doc2 improvementsAraq2012-06-241-5/+5
|
* extracted documentation generatorAraq2012-05-091-0/+3
|
* @ is a sigil-like operatorAraq2012-04-151-104/+6
|
* performance improvements for ropesAraq2012-04-131-14/+20
|