//===-- BrainF.h - BrainF compiler class ------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This class stores the data for the BrainF compiler so it doesn't have // to pass all of it around. The main method is parse. // //===----------------------------------------------------------------------===// #ifndef BRAINF_H #define BRAINF_H #include "llvm/IR/IRBuilder.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include <istream> usingnamespacellvm; /// This class provides a parser for the BrainF language. /// The class itself is made to store values during /// parsing so they don't have to be passed around /// as much. class BrainF { … }; #endif // BRAINF_H