Last active
October 12, 2023 08:48
-
-
Save colevandersWands/4f6c4ef1b6b41b954bc5e8604bae33d4 to your computer and use it in GitHub Desktop.
baked squash pseudocode recipes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""A simple recipe for baked squash, delicious.""" | |
# gather ingredients | |
squash = "🎃" | |
spices = ["coriander", "ginger", "black pepper", "allspice"] | |
veggies = ["much garlic", "onion"] | |
marinade_bases = ["olive oil", "maple syrup"] | |
# prepare the marinade | |
marinade = marinade_bases.join() | |
marinade += spices | |
for veggie in veggies: | |
marinade += veggie.split() | |
# marinade the squash | |
squash_halves = squash.split() | |
seedless_halves = filter(lambda half: delattr(half.seeds), squash_halves) | |
holey_halves = map(lambda half: half.poke_holes(), seedless_halves) | |
prepared_halves = map(lambda half: half.fill(marinade), holey_halves) | |
# preheat the oven | |
while oven.preheating("high"): | |
pass | |
# bake the squash | |
burnt = False | |
while not burnt: | |
for half in prepared_halves: | |
if half.color == "black": | |
burnt = True | |
# serve and eat the squash | |
portions = map(lambda half: half.slice(), prepared_halves) | |
friends = ["..."] | |
friends.fill(portions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== A simple recipe for baked squash, delicious. === | |
--- Gather Ingredients --- | |
squash | |
spices: coriander, ginger, black pepper, allspice | |
veggies: much garlic, onion | |
marinade bases: olive oil, maple syrup | |
--- Prepare the Marinade --- | |
get marinade bowl | |
FOR EACH marinade base | |
pour in marinade bowl | |
FOR EACH spice | |
mix in marinade bowl | |
FOR EACH veggie | |
slice it very small | |
mix in marinade bowl | |
--- Prepare the Squash --- | |
cut the squash in half | |
FOR EACH half | |
poke many little holes | |
fill with marinade | |
--- Heat the Oven --- | |
WHILE oven is not hot | |
wait | |
--- Bake the Squash --- | |
WHILE squash is not burnt | |
IF squash is black | |
remove from the oven | |
--- Serve and Eat the Squash --- | |
FOR EACH friend | |
serve on portion of squash | |
WHILE friends still hungry AND squash is not finished | |
serve more squash | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment