A simple tokenizer for C++
C++ Prolog Perl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
README
blah.cpp
cpphtmlhighlighter.cpp
cpphtmlhighlighter.h
cpplexer.pro
cpplexer.pro.user
lexer.cpp
lexer.h
main.cpp
sort.pl
test.cpp

README

CPP-Lexer
---------

This is a simple tokenizer class for C/C++. It doesn't handle line splices in start-comments, but since this is a (rare) misfeature, it shouldn't cause any problems in practice.

The class is packaged with a decent syntax highlighter that outputs well-formed HTML 4.

This was written during my Junior year of high school.