Skip to content

Potential future improvements

rpguiteras edited this page Jun 19, 2023 · 8 revisions

Users are welcome to contribute by starting an Issue.

  • A scanner that can look into Stata code to determine targets and dependencies, similar to existing scanners for C, Fortran and LaTeX.

    • A more modest version would be to scan do-files for keywords that indicate targets (e.g., save, saving, graph export, export delimited, file write, etc.) and dependencies (e.g., use, import, etc.) and print the lines of code containing these keywords to a file. This would semi-automate the process of searching do-files (and others, e.g., ado-files) for inputs and outputs, although the user would still have to code these into an SConstruct by hand.
    • Similarly, a program could be written to compare timestamps or signatures of all files (or all files of a certain type, e.g., all dta, .sters, .gph, .tex, etc.) in a directory before and after a do-file is run to see which files have changed.
  • Replicate nice features of Robert Picard's project, including

    • project, replicate
    • project, archive
    • project, validate

Clone this wiki locally