Skip to content

Instantly share code, notes, and snippets.

View marcauberer's full-sized avatar
🌶️
Working on @spicelang

Marc Auberer marcauberer

🌶️
Working on @spicelang
View GitHub Profile
@arrieta
arrieta / lexer.cpp
Last active March 6, 2024 02:41
Simple C++ Lexer
// A simple Lexer meant to demonstrate a few theoretical concepts. It can
// support several parser concepts and is very fast (though speed is not its
// design goal).
//
// J. Arrieta, Nabla Zero Labs
//
// This code is released under the MIT License.
//
// Copyright 2018 Nabla Zero Labs
//