ForthEvaluator.h 349 B

12345678910111213141516
  1. #ifndef FORTH_KATA_FORTHEVALUATOR_H
  2. #define FORTH_KATA_FORTHEVALUATOR_H
  3. #include <cstdint>
  4. #include <string>
  5. #include <vector>
  6. namespace forth {
  7. std::vector<std::string> splitAtWhiteSpace(std::string const &input) noexcept;
  8. std::vector<std::int16_t> evaluate(std::string const &source) noexcept(false);
  9. }
  10. #endif // !FORTH_KATA_FORTHEVALUATOR_H