Skip to content

Leonardo2718/OGLA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Generic Lexical Analyzer

OGLA is a lexical analysis library for C++.

The main purpose of OGLA is to provide an easy to use lexical analyzer that is not tied to any particular language grammar. Its focus is on flexibility and ease of use, as opposed to speed and efficiency. It's intended for projects that only require basic lexical analysis. It is not intended for use in advanced applications (e.g. a compiler).

Uses for this library:

  • parsing command line arguments
  • parsing custom config files
  • pretty printing

boost branch

The boost branch of this repository has a variation of this library which uses Boost Regex instead of std::regex. The reason for maintaining this separate branch is that Boost Regex implements certain features (e.g. partial expression matching) that are used to make the lexer more powerful. The branch may eventually get merged back into devel once the standard library implements the same features.

License

OGLA is distributed under the Boost Software License.

About

A simple, generic, general purpose lexical analysis library written in C++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published