Yerbacon/src/headers/misc.hpp
Username404 21137f5beb
Add a "--text" argument
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-04-21 23:31:02 +02:00

11 lines
330 B
C++

#ifndef YERBACON_MISC_HPP
#define YERBACON_MISC_HPP
string getFileContent(const string& file);
void outputFileContent(const string& file, string_view content);
#include "lex.hpp"
#include "parsing/Parser.hpp"
inline auto parseString(const string_view& toParse) { return Parser::parse(lex(toParse)); }
#endif //YERBACON_MISC_HPP