gazlan / Pattern-Matcher

Pattern matching software. The pattern syntax was inspired by SNOBOL-4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pattern-Matcher

Pattern matching software. The pattern syntax was inspired by SNOBOL-4

based on Dmitry A. Kazakov Pattern Matcher code http://www.dmitry-kazakov.de/ http://www.dmitry-kazakov.de/match/match_1_1.tgz (c) Dmitry A. Kazakov mailbox@dmitry-kazakov.de, 2001

Quote from http://www.dmitry-kazakov.de/edit.htm

Pattern matching software. The pattern syntax was inspired by SNOBOL-4. The software features finite repeaters, labels, recursive patterns, run-time assignment support, user-defined patterns, various strategies for infinite repeaters. The implementation is oriented mainly to be called from user-written code - the most efficient and handy way to use patterns. However a filter style is allowed as well.

Quote from http://www.dmitry-kazakov.de/match/match.htm

Pattern matching is a powerful tool for syntax analysis. The main idea of pattern matching comes from the SNOBOL4 language (see the wonderful book THE SNOBOL4 PROGRAMMING LANGUAGE by R. E. Griswold, J. F. Poage and I. P. Polonsky). Some of the pattern expression atoms and statements were taken from there. One can find that patterns are very similar to the Backus-Naur forms. Comparing with the regular expressions (used by grep and egrep in UNIX) patterns are more powerful, but slower in matching.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

As a special exception, if other files instantiate generics from this unit, or you link this unit with other files to produce an executable, this unit does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Public License.

The current version works under Windows and UNIX.

About

Pattern matching software. The pattern syntax was inspired by SNOBOL-4


Languages

Language:C++ 98.9%Language:C 1.1%