picceler
Loading...
Searching...
No Matches
lexer.h File Reference

Lexer for the picceler programming language. More...

#include <cstdint>
#include <fstream>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include <expected>
#include "error.h"

Go to the source code of this file.

Classes

struct  picceler::Token
 Represents a token produced by the lexer. More...
class  picceler::Lexer
 Lexical analyzer for the picceler programming language. More...

Namespaces

namespace  picceler

Functions

std::ostream & picceler::operator<< (std::ostream &os, const Token &token)
 Outputs a token to the given output stream.

Detailed Description

Lexer for the picceler programming language.

The lexer tokenizes strings from a source file into tokens for parsing.