Skip to content

Instantly share code, notes, and snippets.

View kapilkm9's full-sized avatar

Kapil Krishnamurthy kapilkm9

  • San Francisco, CA
View GitHub Profile
@arrieta
arrieta / lexer.cpp
Last active May 3, 2024 13:06
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
//