ht's Scheme Interpreter  1.0
a simplified scheme interpreter implementation
parenthesis.hpp
Go to the documentation of this file.
1 #ifndef __SCHEME_TYPES_PARENTHESIS
2 #define __SCHEME_TYPES_PARENTHESIS
3 #include "arch.hpp"
4 #include <string>
5 bool isLeftParenthesis(const std::string& token) { return token == "("; }
6 bool isRightParenthesis(const std::string& token) { return token == ")"; }
7 
8 #endif
bool isRightParenthesis(const std::string &token)
Definition: parenthesis.hpp:6
bool isLeftParenthesis(const std::string &token)
Definition: parenthesis.hpp:5