Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

16 Zeilen
408 B

vor 1 Jahr
  1. #pragma once
  2. #include <vector>
  3. #include <map>
  4. #include <string>
  5. namespace molasses {
  6. // We will always want symbols to be convertible to int for dictionary lookups
  7. using symbol = int;
  8. struct lexed_output {
  9. std::map<int, std::string> dictionary;
  10. std::vector<symbol> symbols;
  11. };
  12. lexed_output lex(const std::string &);
  13. lexed_output concatenate(const lexed_output& lhs, const lexed_output& rhs);
  14. }