add Interpreter class

Change-Id: I4786b925c8cd1e7baba2c0e24cf785a7c53c09ec
diff --git a/src/interpreter.cpp b/src/interpreter.cpp
new file mode 100644
index 0000000..ce01c66
--- /dev/null
+++ b/src/interpreter.cpp
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
+ * Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
+ *
+ * Written by Václav Kubernát <kubervac@fit.cvut.cz>
+ *
+*/
+
+#include "interpreter.hpp"
+
+void Interpreter::operator()(const cd_& cd) const
+{
+    m_parser.changeNode(cd.m_path);
+}
+
+Interpreter::Interpreter(Parser& parser)
+    : m_parser(parser)
+{
+}