Skip to content

itechbear/SimpleQueryParserPlusPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimpleQueryParser++

A simple thread-safe query parser generated by flex and bison

Introduction

This is a simple query parser generated by flex and bison that recognizes logic queries like:

  • this AND that
  • this OR that
  • this AND NOT that
  • NOT (this AND that)

Compile

You need libfl-dev(under Ubuntu) to compile this project.

  • $ mkdir build
  • $ cd build
  • $ cmake ..
  • $ make

P.S.

This is a toy project. I tried three methods to build a query parser. You can find the other two:

Credit

Most part of source code comes from Flex Bison C++ Template/Example.

About

A simple C++ query parser using flex and bison

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages