generator.h 568 B

1234567891011121314151617181920212223242526
  1. 
  2. #ifndef DSR_BUILDER_GENERATOR_MODULE
  3. #define DSR_BUILDER_GENERATOR_MODULE
  4. #include "../../DFPSR/api/fileAPI.h"
  5. #include "Machine.h"
  6. using namespace dsr;
  7. // Analyze using calls from the machine
  8. void analyzeFromFile(const ReadableString& entryPath);
  9. // Call from main when done analyzing source files
  10. void resolveDependencies();
  11. // Visualize
  12. void printDependencies();
  13. // Generate
  14. enum class ScriptLanguage {
  15. Unknown,
  16. Batch,
  17. Bash
  18. };
  19. void generateCompilationScript(const Machine &settings, const ReadableString& projectPath);
  20. #endif