Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # loads the CHEF file and parses it into tokens (commands)
- def preheat(filepath):
- pass
- # executes a list of tokens
- def cook(tokens):
- # returns a list of verbs loaded from a file (path)
- def loadVerbs(path):
- pass
- # returns a list of foods loaded from a file (path)
- def loadFoods(path):
- pass
- ###################################################
- # iterate through the tokens with complete control over position
- # (python's for-each loop does not give you any control)
- token_index = 0
- while token_index < len(tokens):
- pass
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement