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

Added compiled knit code

parent 1ea46967
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
...@@ -689,7 +689,36 @@ with Carrier as c1:{ ...@@ -689,7 +689,36 @@ with Carrier as c1:{
knit_colored_stripe(c2); // will use c2 knit_colored_stripe(c2); // will use c2
knit_stripe(); // starts using c1 again 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 # 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