Skip to content
Snippets Groups Projects
Commit 62b5d0f2 authored by Jennifer Mankoff's avatar Jennifer Mankoff
Browse files

Merge branch 'week7-edits' into 'CSE590b-23WI'

Added compiled knit code

See merge request pmp-accessibility/website!39
parents aa6b0993 25c7207d
No related branches found
No related tags found
2 merge requests!41Updating change-for-future with the final version of the class website from winter 2023,!39Added compiled knit code
Pipeline #530881 passed with stages
in 28 minutes and 50 seconds
......@@ -690,7 +690,36 @@ with Carrier as c1:{
knit_colored_stripe(c2); // will use c2
knit_stripe(); // starts using c1 again
}
```
---
# Compiled Code
```python
;!knitout-2
;;Machine: SWG091N2
;;Position: Center
inhook 1 ;Activating carrier 1
;KS: Cast on 20loops
tuck - f19 1 ; tuck loops: [0 on yarn C1.1]. # happens 9 more times on odd needles
[...]
tuck - f1 1 ; tuck loops: [9 on yarn C1.1].
releasehook 1 ;
tuck + f0 1 ; tuck loops: [10 on yarn C1.1]. # happens 9 more times on even needles
[...]
tuck + f18 1 ; tuck loops: [19 on yarn C1.1].
knit - f19 1 ;knit loops: [20 on yarn C1.1]. # knits 20 loops (all needles)
[...]
knit - f0 1 ;knit loops: [39 on yarn C1.1].
knit + f0 1 ;knit loops: [40 on yarn C1.1]. # knits 20 loops (all needles)
[...]
knit + f19 1 ;knit loops: [59 on yarn C1.1]. # continues to do more rows
[...]
inhook 2 ;Activating carrier 2 # changes carrier (color)
[...]
```
---
# Knitting a stripe
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment