LLNL / ATS

ATS - Automated Testing System - is an open-source, Python-based tool for automating the running of tests of an application across a broad range of high performance computers.
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

Feature/bloss1/add ats file parser #86

Closed davidbloss closed 2 years ago

davidbloss commented 2 years ago

Parse generic input ATS files to allow line by line interpretation. This greatly improves debugging bad input files, allows greater flexibility, readability, and provides a path away from exec() calls in the code.

Python's builtin ast (abstract syntax tree) module is used as a superior alternative to regex/text parsing. ast also allows for sophisticated handling of generic input files in the future.

dawson6 commented 2 years ago

I want to do a pull and test of this (don't recall if I have done that yet)

dawson6 commented 2 years ago

Passes my tests. Looks good to merge