A compiler for the Farm programming language
- The Farm Compiler is written in python and has three main functions:
- def compile_string(string): ~Takes a python string of Farm commands and compiles it. def compile_file(name): ~Compiles a text file, or any file with farm commands in it. def write_to_file(string, name): ~Takes a python string, compiles it, and writes the resulting farm result to the name specified.