summary refs log tree commit diff stats
path: root/compiler/lambdalifting.nim
Commit message (Expand)AuthorAgeFilesLines
...
* somewhat working closuresAraq2012-06-191-13/+39
* next steps for full closure support (2)Araq2012-06-181-8/+6
* next steps for full closure supportAraq2012-06-181-126/+138
* tinterf.nim works nowAraq2012-06-171-5/+16
* simple example works againAraq2012-06-161-12/+29
* first implementation of new lambda liftingAraq2012-06-151-200/+370
* first steps to working closuresAraq2012-06-031-6/+20
* bugfix #100 againAraq2012-03-281-2/+1
* `do' keyword in the grammar for lambda blocksZahary Karadjov2012-02-101-2/+3
* bugfix: lambdalifting: addHiddenParamAraq2012-02-081-7/+1
* further steps for closure support; added 'system.rawProc', 'system.rawEnv'Araq2012-02-081-2/+4
* further steps for closure supportAraq2012-02-081-50/+77
* further steps for closure supportAraq2012-02-061-1/+2
* further steps to closure supportAraq2012-02-061-76/+107
* closure implementation: first stepsAraq2012-02-041-0/+201
*/ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
import os, strutils

proc main(dir: string, wanted: string) =
  for kind, path in walkDir(dir):
    case kind
    of pcFile:
      let name = extractFilename(path)
      if name == wanted:
        let newLoc = path.replace("mingw_backup", "mingw")
        echo "creating ", newLoc
        copyFile(path, newLoc)
    of pcDir: main(path, wanted)
    else: discard

main("dist/mingw_backup", paramStr(1))