ht's Scheme Interpreter
1.0
a simplified scheme interpreter implementation
|
#include <preprocessor.hpp>
Public Member Functions | |
SchemeUnit (std::istream &schemeStream) | |
void | preprocess (std::istream &schemeStream) |
Public Attributes | |
std::vector< std::string > | lines |
Private Types | |
enum | MultilineCommentStatus { Neutral, CommentStart, CommentEnd } |
Private Member Functions | |
void | stripSemiColon (std::string &line) |
MultilineCommentStatus | processMultilineComment (std::string &line) |
Private Attributes | |
bool | inComment |
Definition at line 8 of file preprocessor.hpp.
|
private |
Enumerator | |
---|---|
Neutral | |
CommentStart | |
CommentEnd |
Definition at line 12 of file preprocessor.hpp.
SchemeUnit::SchemeUnit | ( | std::istream & | schemeStream | ) |
Definition at line 6 of file preprocessor.cpp.
void SchemeUnit::preprocess | ( | std::istream & | schemeStream | ) |
Definition at line 11 of file preprocessor.cpp.
|
private |
Definition at line 27 of file preprocessor.cpp.
|
private |
Definition at line 50 of file preprocessor.cpp.
|
private |
Definition at line 11 of file preprocessor.hpp.
std::vector<std::string> SchemeUnit::lines |
Definition at line 17 of file preprocessor.hpp.