[ozulis] custom memory management is near completion, but i still have a bug :/
[ozulis.git] / src / ozulis / parser.hh
blobb9def96ba35554d59f687c940e6f172d4aaa0e3c
1 #ifndef LANG_PARSER_HH
2 # define LANG_PARSER_HH
4 # include <string>
5 # include <boost/filesystem.hpp>
7 # include <ozulis/ast/ast.hh>
9 namespace ozulis
11 class Parser
13 public:
14 virtual ~Parser();
16 virtual ast::FilePtr parseFile(const boost::filesystem::path & path);
17 virtual ast::FilePtr parse(FILE * stream) = 0;
21 #endif /* !LANG_PARSER_HH */