PH Logo
Logo intepreter modeled after UCB Logo.
/Users/paul/Documents/phlogo/core/FileVerbs.cpp
00001 /*
00002  *  FileVerbs.cpp
00003  *
00004  *  Author: Paul Hamilton
00005  *      Date: 7 Aug 2011
00006  *
00007  */
00008 #include "Verbs.h"
00009         
00010 #include "FileProcessor.h"
00011 
00012 using namespace std;
00013 using namespace boost;
00014 using namespace boost::filesystem;
00015 
00016 namespace phlogo {
00017     
00018 void Verbs::load(TokenStream *ts) {
00019         
00020     path p = getWord(ts);    
00021     path fn = getWord(ts) + ".logo";
00022     
00023     FileProcessor::parseFile(FileProcessor::locateFile(p, fn), new LogoLineProcessor(_itp, _world));
00024 }
00025 
00026 }
 All Classes Functions