(no title)
lejar | 6 years ago
Here's how my thought process went on this one:
# I open the repo on github and look at the readme
1. Okay it's doing something automatic
2. It uses python
3. Okay there's this playlist thing which has a bunch of commands in it. Looks like of like an autohotkey script.
# I look at the file list
4. Okay I know lark. Looks like the author wrote a domain specific language parser for their input files. They probably get those commands out as a nested list from the parser.
# I look in test.txt
5. Okay that doesn't tell me much new
# I look in main.py
6. Oh there aren't any comments in here...
7. Alright the main function parses the commands from the input file and runs "do" on them.
8. Okay this is just like autohotkey
No comments yet.