This DSL provides functions to perform basic actions such as:
- mouse movement (using bezier curves)
- image recognition (template matching + OCR)
- input handling
wrapped in an easy to use language that leverages many different Python libraries like opencv, pyautogui, pynput etc. It uses Lark as the parser and Python for evaluation. It works on mac, linux, and windows. It has a primitive debugger (I plan on implementing DAP later on) and REPL interactive mode.
It has a vs code extension "Macroni Language Support" and can be downloaded via pip install macroni.
I made this as an excuse to learn a bit about DSL's, AST's, EBNF etc and I just learn better by doing, hopefully someone finds this interesting. This is still a very early version and I plan to iterate on it.
srschreiber•1h ago
wrapped in an easy to use language that leverages many different Python libraries like opencv, pyautogui, pynput etc. It uses Lark as the parser and Python for evaluation. It works on mac, linux, and windows. It has a primitive debugger (I plan on implementing DAP later on) and REPL interactive mode.
It has a vs code extension "Macroni Language Support" and can be downloaded via pip install macroni.
I made this as an excuse to learn a bit about DSL's, AST's, EBNF etc and I just learn better by doing, hopefully someone finds this interesting. This is still a very early version and I plan to iterate on it.