remove old comments

This commit is contained in:
Chris Cromer 2023-02-15 22:56:07 -03:00
parent ab83a1626b
commit 3dcfdf23e8
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -214,18 +214,14 @@ std::unique_ptr<obelisk::PrototypeAST> obelisk::Parser::parseExtern()
return parsePrototype(); return parsePrototype();
} }
//action("martin" is "dangerous" then "avoid" or "ignore");
std::unique_ptr<obelisk::ExpressionAST> obelisk::Parser::parseAction() std::unique_ptr<obelisk::ExpressionAST> obelisk::Parser::parseAction()
{ {
} }
//rule("chris" and "martin" is "happy" if "chris" plays "playstation");
std::unique_ptr<obelisk::ExpressionAST> obelisk::Parser::parseRule() std::unique_ptr<obelisk::ExpressionAST> obelisk::Parser::parseRule()
{ {
} }
// fact("chris cromer" and "martin" and "Isabella" can "program" and "speak english");
// fact("" and "martin")
void obelisk::Parser::parseFact(std::vector<obelisk::Fact>& facts) void obelisk::Parser::parseFact(std::vector<obelisk::Fact>& facts)
{ {
std::stack<char> syntax; std::stack<char> syntax;
@ -238,8 +234,6 @@ void obelisk::Parser::parseFact(std::vector<obelisk::Fact>& facts)
syntax.push('('); syntax.push('(');
// ("
bool getEntity {true}; bool getEntity {true};
std::vector<std::string> leftEntities; std::vector<std::string> leftEntities;
std::vector<std::string> rightEntities; std::vector<std::string> rightEntities;
@ -437,5 +431,3 @@ void obelisk::Parser::handleFact(std::unique_ptr<obelisk::KnowledgeBase>& kb)
} }
} }
} }
// fact("chris cromer" and "martin" and "Isabella" can "program" and "speak english");