Skip to content

Instantly share code, notes, and snippets.

#include "lexer/lexer.hpp"
const std::string keywords[] = {"if", "else", "while", "for", "ret", "break", "continue", "true", "false", "null", "def", "interface", "extern"};
char Lexer::peek() const
{
return source[index];
}