Skip to content

Instantly share code, notes, and snippets.

View junaire's full-sized avatar
🎯
Building & Shiping

Jun Zhang junaire

🎯
Building & Shiping
View GitHub Profile
@arrieta
arrieta / lexer.cpp
Last active September 28, 2025 23:35
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
//