SPITBOL-like pattern construction and matching in C++
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.
Doc
Make
Test
.gitignore
COPYING
CharacterSet.C
CharacterSet.H
Makefile
PatElmt.C
PatMatInternal.C
PatMatInternal.H
PatMatInternalI.H
Pattern.C
Pattern.H
PatternIO.C
PatternOperations.H
README.org
index.html
index.org
xmatch.C

README.org

PatMat: SPITBOL-like pattern construction and matching in C++

Copyright

  • Copyright (C) 2013 Henry G. Weller
  • Copyright (C) 2007,2008, Philip L. Budne
  • Copyright (C) 1998-2005, AdaCore

Original Sources

This software and documentation is developed from both the SPIPAT C/C++ package of Philip L. Budne and the original GNAT.SPITBOL.PATTERNS package of GNU Ada based on Macro-SPITBOL created by Robert Dewar. GNAT was originally developed by the GNAT team at New York University with extensive contributions provided by Ada Core Technologies Inc.

This is a completely general patterm matching package based on the pattern language of SNOBOL4, as implemented in SPITBOL. The pattern language is modeled on context free grammars, with context sensitive extensions that provide full (type 0) computational capabilities.

Documentation

Build and Test

The default build setup is to compile with g++ but PatMat has also been tested with clang++ and any other standard C++ compiler should be suitable. The particular compiler can be configured by editing Make/Makefile.config.

  • To build the PatMat library: make
  • To run all the tests: make test
  • To run the tutorial examples: make tutorial