GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jamesmahler/knitting_parser: A parser for knitting patterns in Rust.

BranchesTags
Open more actions menu

Latest commit

 

History

30 Commits
30 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.rustfmt.toml
.rustfmt.toml
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

knitting_parser

LICENSE Rust Crates.io Version

A library designed to assist with parsing knitting patterns.

There seems to be no real standard for the syntax of a knitting pattern, so we are going to do our best at describing our own.

Syntax

  • All stitch names are lower case
  • A comma , separates stitches
  • Stitches can be grouped in parenthesis ( and )
  • Multipliers can be provided after a group or stitch: k x12 for twelve knits in a row
  • Groups can be embedded: (k, (p, ml)x2)x2 to produce k, p, ml, p, ml, k, p, ml, p, ml
  • Line starting with ## are for options
    • in_round : used to say the pattern is in the round.
    • start_wrong_side : used to say the pattern starts on the wrong side.
    • first_line=X : used to say the first line is X
  • Lines starting with # are ignored

Stitches

  • 1lcf
  • 1rcb
  • 2lcf
  • 2rcb
  • 3lcf
  • 3rcb
  • 4lcf
  • 4rcb
  • bead
  • bo
  • bobble
  • k
  • k2tog
  • kbf
  • kfb
  • ktbl
  • m kwise
  • m pwise
  • ml
  • mr
  • nostitch
  • p
  • p2tog
  • pbf
  • pfb
  • ptbl
  • sl kwise
  • sl pwise
  • ssk
  • ssp
  • yo

Documentation

docs.rs

About

A parser for knitting patterns in Rust.

Topics

knittingknitting-patternnomparserust

Resources

Readme
MIT license
Activity

Stars

8 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.