ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/Jargon.cpp
Revision: 223
Committed: 2004-09-06T01:58:43-07:00 (20 years, 9 months ago) by Douglas Thrift
File size: 524 byte(s)
Log Message:
Moved most of the output stuff to XSL/T.

File Contents

# Content
1 // Feeping Creaturism
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #include "Jargon.hpp"
8
9 Jargon::Jargon(const ext::String& path, bool include)
10 {
11 std::vector<std::string> args(1, FeepingCreaturism::program);
12
13 args.push_back("-p");
14 args.push_back("include");
15 args.push_back(lexical_cast<ext::String>(include) + "()");
16 args.push_back(path);
17 args.push_back("jargon.xsl");
18
19 redi::ipstream pin("/usr/local/bin/Xalan", args);
20
21 do
22 {
23 std::string line;
24
25 std::getline(pin, line);
26
27 buffer << line << '\n';
28 }
29 while (pin.good());
30 }

Properties

Name Value
svn:eol-style native
svn:keywords Id