diff options
Diffstat (limited to 'src/pim/Token.cpp')
| -rw-r--r-- | src/pim/Token.cpp | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/pim/Token.cpp b/src/pim/Token.cpp new file mode 100644 index 0000000..2db451e --- /dev/null +++ b/src/pim/Token.cpp @@ -0,0 +1,47 @@ +#include "Token.h" + +namespace pim +{ + namespace compiler + { + std::string Token::SymbolNames[] = { + "=", + "function", + "(", + ")", + "/", + "*", + "+", + "-", + "%", + "INTEGER", + "DECIMAL", + "PARTICLE", + "integer", + "decimal", + "particle", + "is", + "<", + "<=", + ">", + ">=", + "==", + "!=", + "neighbour", + "do", + "of", + "break", + "continue", + "if", + "then", + "end", + "kill", + "create", + "transform", + "get", + "IDENTIFIER", + ",", + "INVALID SYMBOL" + }; + } +}
\ No newline at end of file |
