text: //===--- ASTtool.cpp - ASTtool driver ----------------------------*- C++ -*-===//
  //
  // Part of the M2Lang Project, under the Apache License v2.0 with
  // LLVM Exceptions. See LICENSE file for license information.
  // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  //
  //===----------------------------------------------------------------------===//
  ///
  /// \file
  /// Implements driver of ASTtool.
  ///
  //===----------------------------------------------------------------------===//
  
  #include "asttool/Main.h"
  #include "llvm/Support/CommandLine.h"
  #include "llvm/Support/InitLLVM.h"
  
  int main(int argc, const char **argv) {
    llvm::InitLLVM X(argc, argv);
    llvm::cl::ParseCommandLineOptions(
        argc, argv, "ASTtool - abstract syntx tree generator\n");
  
    return asttool::ASTtoolMain(argv[0]);
  }