]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commit
NodeFactory classes that are used to build functions. The HashingNodeFactory uses...
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Mon, 1 Feb 2010 12:51:01 +0000 (12:51 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Mon, 1 Feb 2010 12:51:01 +0000 (12:51 +0000)
commit43b7885a8ff46375c13dc141c63fd69e60d7b21a
tree7865a0206e9133fb88bb407ff3b8ef6cd9b0ce28
parent9c685df9d733b2eac17750210eaf4980afac01d1
NodeFactory classes that are used to build functions. The HashingNodeFactory uses existing code to perform structural hashing. The SimplifyingNodeFactory applies straight forward simplifications. The TypeCheck wraps around another node factory to type check each node after it's created.

Classes that currently take an STPManager as a parameter, but just use it to create nodes will over time be changed to instead take a node factory.

git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@581 e59a4935-1847-0410-ae03-e826735625c1
20 files changed:
scripts/Makefile.common
src/AST/AST.h
src/AST/ASTInterior.h
src/AST/ASTNode.h
src/AST/ASTmisc.cpp
src/AST/Makefile
src/AST/NodeFactory/HashingNodeFactory.cpp [new file with mode: 0644]
src/AST/NodeFactory/HashingNodeFactory.h [new file with mode: 0644]
src/AST/NodeFactory/NodeFactory.cpp [new file with mode: 0644]
src/AST/NodeFactory/NodeFactory.h [new file with mode: 0644]
src/AST/NodeFactory/SimplifyingNodeFactory.cpp [new file with mode: 0644]
src/AST/NodeFactory/SimplifyingNodeFactory.h [new file with mode: 0644]
src/AST/NodeFactory/TypeChecker.cpp [new file with mode: 0644]
src/AST/NodeFactory/TypeChecker.h [new file with mode: 0644]
src/AST/genkinds.pl
src/STPManager/STPManager.cpp
src/STPManager/STPManager.h
src/main/Globals.h
src/printer/Makefile
tests/c-api-tests/Makefile