Skip to content

Instantly share code, notes, and snippets.

View junaire's full-sized avatar
🏠
Working from home

Jun Zhang junaire

🏠
Working from home
View GitHub Profile
@arrieta
arrieta / lexer.cpp
Last active December 10, 2024 15:57
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
//