When reading its input files automake doesn't clearly separate the parsing, semantic analysis, and code generation phase. This design with the separation of concerns and makes the code hard for testing. The objective of this project is writing a parser for Makefile.am files that generates an Abstract Syntax Tree (AST) that can be used independently of the Makefile.in files generation process.