main.h 543 B

123456789101112131415161718
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. #ifndef EXECUTABLE_SEMANTICS_MAIN_H_
  5. #define EXECUTABLE_SEMANTICS_MAIN_H_
  6. #include "llvm/ADT/StringRef.h"
  7. namespace Carbon {
  8. // Runs executable semantics.
  9. auto ExecutableSemanticsMain(llvm::StringRef default_prelude_file, int argc,
  10. char** argv) -> int;
  11. } // namespace Carbon
  12. #endif // EXECUTABLE_SEMANTICS_MAIN_H_