ht's Scheme Interpreter
1.0
a simplified scheme interpreter implementation
Main Page
Related Pages
Classes
Files
File List
File Members
preprocessortest.cpp
Go to the documentation of this file.
1
#
include
"preprocessor.hpp"
2
#
include
<
iostream
>
3
#
include
<
fstream
>
4
using
namespace
std;
5
ifstream
stre
(
"preprocessor.test"
);
6
SchemeUnit
s
(
stre
)
;
7
int
main
()
8
{
9
for
(
int
i=0; i<
s
.
lines
.size(); ++i)
10
cout<<
s
.
lines
[i]<<endl;
11
return
0;
12
}
SchemeUnit::SchemeUnit
SchemeUnit(std::istream &schemeStream)
Definition:
preprocessor.cpp:6
s
SchemeUnit s(stre)
SchemeUnit
Definition:
preprocessor.hpp:8
stre
ifstream stre("preprocessor.test")
main
int main()
Definition:
tokenizertest.cpp:9
SchemeUnit::lines
std::vector< std::string > lines
Definition:
preprocessor.hpp:17
test
preprocessortest.cpp
Generated by
1.8.9.1