inital commit

This commit is contained in:
Damian committed 2026-10-12 23:32:28 +02:00
1 parent ebd073c803
commit 762d7776a4
36 files changed
+75891

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
#ifndef DLANG_LEXER_HPP
#define DLANG_LEXER_HPP
#include <iostream>
#include <string>
#include <vector>
#include "types/include.hpp"
class Lexer
{
private:
std::vector<PreToken> _tokens;
std::vector<Token> _organizedTokens;
public:
Lexer() = default;
void Parse(const std::string& code);
void ParseOrganizedTokens();
std::vector<PreToken> GetTokens() const;
std::vector<Token> GetOrganizedTokens() const;
};
#endif