Posts Tagged ‘tutorial’

Tutorial: Hello World

Wednesday, October 28th, 2009
// public domain
Pattern 'en' {
  Generalinformation {
    Name: 'Hello World'
    Gauge 'stockinette' {
      StitchGauge: 6 stitchesPerInch
      RowGauge: 6 rowsPerInch
    }
  }
  Supplies {
    Yarns {
      YarnType 'my-totally-awesome-yarn' [weight:'worsted']
    }
    Needles {
      NeedleType 'my-favorite-needle-size' circular { size: 7 US }
      Needle 'the-only-needles-i-am-using' [typeref:'my-favorite-needle-size']
    }
  }
  Directions {
    CastOn 24 'long-tail'
    Instruction 'garter-stitch' {
      Row: k to end
    }
    Repeat 'garter-stitch' until measures 4 in
    Row: BindOff all sts
  }
}