More work towards RNGLR. First, NodeTree is now a template. Second, I've started writing the actual GLR parser and GSS and other things, but am still in the first write process.

This commit is contained in:
Nathan Braswell
2013-07-28 19:45:08 -04:00
parent 726ead0455
commit 6d7b38a03b
14 changed files with 360 additions and 146 deletions

View File

@@ -0,0 +1,41 @@
#include "GraphStructuredStack.h"
GraphStructuredStack::GraphStructuredStack() {
//
}
GraphStructuredStack::~GraphStructuredStack() {
//
}
GSSNode* GraphStructuredStack::newNode(int stateNum) {
//
}
void GraphStructuredStack::addToFrontier(int frontier, GSSNode* node) {
//
}
bool GraphStructuredStack::inFrontier(int frontier, int state) {
//
}
bool GraphStructuredStack::frontierIsEmpty(int frontier) {
//
}
bool GraphStructuredStack::frontierHasAccState(int frontier) {
//
}
std::vector<GSSNode*>* GraphStructuredStack::getReachable(GSSNode* start, int lenght) {
//
}
bool GraphStructuredStack::hasEdge(GSSNode* start, GSSNode* end) {
//
}
void GraphStructuredStack::addEdge(GSSNode* start, GSSNode* end) {
//
}