ht's Scheme Interpreter  1.0
a simplified scheme interpreter implementation
preprocessor.hpp
Go to the documentation of this file.
1 #ifndef __SCHEME_PRE
2 #define __SCHEME_PRE
3 
4 #include <string>
5 #include <vector>
6 #include <iosfwd>
7 
8 class SchemeUnit
9 {
10  private:
11  bool inComment;
13  void stripSemiColon(std::string& line);
15  public:
16  SchemeUnit(std::istream& schemeStream);
17  std::vector<std::string> lines;
18  void preprocess(std::istream& schemeStream);
19 };
20 
21 
22 #endif
SchemeUnit(std::istream &schemeStream)
Definition: preprocessor.cpp:6
MultilineCommentStatus processMultilineComment(std::string &line)
void preprocess(std::istream &schemeStream)
void stripSemiColon(std::string &line)
std::vector< std::string > lines