diff --git a/src/parser.cpp b/src/parser.cpp index fa7a554..b30c75b 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -214,18 +214,14 @@ std::unique_ptr obelisk::Parser::parseExtern() return parsePrototype(); } -//action("martin" is "dangerous" then "avoid" or "ignore"); std::unique_ptr obelisk::Parser::parseAction() { } -//rule("chris" and "martin" is "happy" if "chris" plays "playstation"); std::unique_ptr obelisk::Parser::parseRule() { } -// fact("chris cromer" and "martin" and "Isabella" can "program" and "speak english"); -// fact("" and "martin") void obelisk::Parser::parseFact(std::vector& facts) { std::stack syntax; @@ -238,8 +234,6 @@ void obelisk::Parser::parseFact(std::vector& facts) syntax.push('('); - // (" - bool getEntity {true}; std::vector leftEntities; std::vector rightEntities; @@ -437,5 +431,3 @@ void obelisk::Parser::handleFact(std::unique_ptr& kb) } } } - -// fact("chris cromer" and "martin" and "Isabella" can "program" and "speak english");