pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/pegtl: import pegtl-2.8.3



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Jul 14 16:55:07 2020 +0200
Changeset:	b1b0d9c5ba78f1c426164be1131516ed9e79dd79

Added Files:
	pegtl/DESCR
	pegtl/Makefile
	pegtl/PLIST
	pegtl/distinfo

Log Message:
wip/pegtl: import pegtl-2.8.3

The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency
C++ header-only parser combinator library for creating parsers according to a
Parsing Expression Grammar (PEG).

Grammars are written as regular C++ code, created with template programming
(not template meta programming), i.e. nested template instantiations that
naturally correspond to the inductive definition of PEGs (and other
parser-combinator approaches).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b1b0d9c5ba78f1c426164be1131516ed9e79dd79

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pegtl/DESCR    |   8 +++
 pegtl/Makefile |  18 ++++++
 pegtl/PLIST    | 183 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 pegtl/distinfo |   6 ++
 4 files changed, 215 insertions(+)

diffs:
diff --git a/pegtl/DESCR b/pegtl/DESCR
new file mode 100644
index 0000000000..5bb3a73d64
--- /dev/null
+++ b/pegtl/DESCR
@@ -0,0 +1,8 @@
+The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency
+C++ header-only parser combinator library for creating parsers according to a
+Parsing Expression Grammar (PEG).
+
+Grammars are written as regular C++ code, created with template programming
+(not template meta programming), i.e. nested template instantiations that
+naturally correspond to the inductive definition of PEGs (and other
+parser-combinator approaches).
diff --git a/pegtl/Makefile b/pegtl/Makefile
new file mode 100644
index 0000000000..38563e06f5
--- /dev/null
+++ b/pegtl/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	PEGTL
+DISTNAME=	PEGTL-2.8.3
+PKGNAME=	${DISTNAME:tl}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=taocpp/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/taocpp/PEGTL/
+COMMENT=	Parsing Expression Grammar Template Library
+LICENSE=	mit
+
+USE_CMAKE=	yes
+USE_LANGUAGES=	c++
+USE_TOOLS+=	gmake
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/pegtl/PLIST b/pegtl/PLIST
new file mode 100644
index 0000000000..6cc52ebaae
--- /dev/null
+++ b/pegtl/PLIST
@@ -0,0 +1,183 @@
+@comment $NetBSD$
+include/tao/pegtl.hpp
+include/tao/pegtl/analysis/analyze_cycles.hpp
+include/tao/pegtl/analysis/counted.hpp
+include/tao/pegtl/analysis/generic.hpp
+include/tao/pegtl/analysis/grammar_info.hpp
+include/tao/pegtl/analysis/insert_guard.hpp
+include/tao/pegtl/analysis/rule_info.hpp
+include/tao/pegtl/analysis/rule_type.hpp
+include/tao/pegtl/analyze.hpp
+include/tao/pegtl/apply_mode.hpp
+include/tao/pegtl/argv_input.hpp
+include/tao/pegtl/ascii.hpp
+include/tao/pegtl/buffer_input.hpp
+include/tao/pegtl/change_action.hpp
+include/tao/pegtl/change_action_and_state.hpp
+include/tao/pegtl/change_action_and_states.hpp
+include/tao/pegtl/change_control.hpp
+include/tao/pegtl/change_state.hpp
+include/tao/pegtl/change_states.hpp
+include/tao/pegtl/config.hpp
+include/tao/pegtl/contrib/abnf.hpp
+include/tao/pegtl/contrib/alphabet.hpp
+include/tao/pegtl/contrib/changes.hpp
+include/tao/pegtl/contrib/counter.hpp
+include/tao/pegtl/contrib/http.hpp
+include/tao/pegtl/contrib/icu/internal.hpp
+include/tao/pegtl/contrib/icu/utf16.hpp
+include/tao/pegtl/contrib/icu/utf32.hpp
+include/tao/pegtl/contrib/icu/utf8.hpp
+include/tao/pegtl/contrib/if_then.hpp
+include/tao/pegtl/contrib/integer.hpp
+include/tao/pegtl/contrib/json.hpp
+include/tao/pegtl/contrib/json_pointer.hpp
+include/tao/pegtl/contrib/parse_tree.hpp
+include/tao/pegtl/contrib/parse_tree_to_dot.hpp
+include/tao/pegtl/contrib/raw_string.hpp
+include/tao/pegtl/contrib/remove_first_state.hpp
+include/tao/pegtl/contrib/remove_last_states.hpp
+include/tao/pegtl/contrib/rep_one_min_max.hpp
+include/tao/pegtl/contrib/rep_string.hpp
+include/tao/pegtl/contrib/shuffle_states.hpp
+include/tao/pegtl/contrib/to_string.hpp
+include/tao/pegtl/contrib/tracer.hpp
+include/tao/pegtl/contrib/unescape.hpp
+include/tao/pegtl/contrib/uri.hpp
+include/tao/pegtl/cstream_input.hpp
+include/tao/pegtl/disable_action.hpp
+include/tao/pegtl/discard_input.hpp
+include/tao/pegtl/discard_input_on_failure.hpp
+include/tao/pegtl/discard_input_on_success.hpp
+include/tao/pegtl/enable_action.hpp
+include/tao/pegtl/eol.hpp
+include/tao/pegtl/eol_pair.hpp
+include/tao/pegtl/file_input.hpp
+include/tao/pegtl/input_error.hpp
+include/tao/pegtl/internal/action.hpp
+include/tao/pegtl/internal/action_input.hpp
+include/tao/pegtl/internal/alnum.hpp
+include/tao/pegtl/internal/alpha.hpp
+include/tao/pegtl/internal/always_false.hpp
+include/tao/pegtl/internal/any.hpp
+include/tao/pegtl/internal/apply.hpp
+include/tao/pegtl/internal/apply0.hpp
+include/tao/pegtl/internal/apply0_single.hpp
+include/tao/pegtl/internal/apply_single.hpp
+include/tao/pegtl/internal/at.hpp
+include/tao/pegtl/internal/bof.hpp
+include/tao/pegtl/internal/bol.hpp
+include/tao/pegtl/internal/bump.hpp
+include/tao/pegtl/internal/bump_help.hpp
+include/tao/pegtl/internal/bytes.hpp
+include/tao/pegtl/internal/control.hpp
+include/tao/pegtl/internal/cr_crlf_eol.hpp
+include/tao/pegtl/internal/cr_eol.hpp
+include/tao/pegtl/internal/crlf_eol.hpp
+include/tao/pegtl/internal/cstream_reader.hpp
+include/tao/pegtl/internal/cstring_reader.hpp
+include/tao/pegtl/internal/demangle.hpp
+include/tao/pegtl/internal/demangle_cxxabi.hpp
+include/tao/pegtl/internal/demangle_nop.hpp
+include/tao/pegtl/internal/demangle_sanitise.hpp
+include/tao/pegtl/internal/disable.hpp
+include/tao/pegtl/internal/discard.hpp
+include/tao/pegtl/internal/dusel_mode.hpp
+include/tao/pegtl/internal/duseltronik.hpp
+include/tao/pegtl/internal/enable.hpp
+include/tao/pegtl/internal/endian.hpp
+include/tao/pegtl/internal/endian_gcc.hpp
+include/tao/pegtl/internal/endian_win.hpp
+include/tao/pegtl/internal/eof.hpp
+include/tao/pegtl/internal/eol.hpp
+include/tao/pegtl/internal/eolf.hpp
+include/tao/pegtl/internal/file_mapper_posix.hpp
+include/tao/pegtl/internal/file_mapper_win32.hpp
+include/tao/pegtl/internal/file_opener.hpp
+include/tao/pegtl/internal/file_reader.hpp
+include/tao/pegtl/internal/has_apply.hpp
+include/tao/pegtl/internal/has_apply0.hpp
+include/tao/pegtl/internal/has_match.hpp
+include/tao/pegtl/internal/identifier.hpp
+include/tao/pegtl/internal/if_apply.hpp
+include/tao/pegtl/internal/if_missing.hpp
+include/tao/pegtl/internal/if_must.hpp
+include/tao/pegtl/internal/if_must_else.hpp
+include/tao/pegtl/internal/if_then_else.hpp
+include/tao/pegtl/internal/input_pair.hpp
+include/tao/pegtl/internal/integer_sequence.hpp
+include/tao/pegtl/internal/istream_reader.hpp
+include/tao/pegtl/internal/istring.hpp
+include/tao/pegtl/internal/iterator.hpp
+include/tao/pegtl/internal/lf_crlf_eol.hpp
+include/tao/pegtl/internal/lf_eol.hpp
+include/tao/pegtl/internal/list.hpp
+include/tao/pegtl/internal/list_must.hpp
+include/tao/pegtl/internal/list_tail.hpp
+include/tao/pegtl/internal/list_tail_pad.hpp
+include/tao/pegtl/internal/marker.hpp
+include/tao/pegtl/internal/must.hpp
+include/tao/pegtl/internal/not_at.hpp
+include/tao/pegtl/internal/one.hpp
+include/tao/pegtl/internal/opt.hpp
+include/tao/pegtl/internal/pad.hpp
+include/tao/pegtl/internal/pad_opt.hpp
+include/tao/pegtl/internal/peek_char.hpp
+include/tao/pegtl/internal/peek_mask_uint.hpp
+include/tao/pegtl/internal/peek_mask_uint8.hpp
+include/tao/pegtl/internal/peek_uint.hpp
+include/tao/pegtl/internal/peek_uint8.hpp
+include/tao/pegtl/internal/peek_utf16.hpp
+include/tao/pegtl/internal/peek_utf32.hpp
+include/tao/pegtl/internal/peek_utf8.hpp
+include/tao/pegtl/internal/pegtl_string.hpp
+include/tao/pegtl/internal/plus.hpp
+include/tao/pegtl/internal/raise.hpp
+include/tao/pegtl/internal/range.hpp
+include/tao/pegtl/internal/ranges.hpp
+include/tao/pegtl/internal/read_uint.hpp
+include/tao/pegtl/internal/rematch.hpp
+include/tao/pegtl/internal/rep.hpp
+include/tao/pegtl/internal/rep_min.hpp
+include/tao/pegtl/internal/rep_min_max.hpp
+include/tao/pegtl/internal/rep_opt.hpp
+include/tao/pegtl/internal/require.hpp
+include/tao/pegtl/internal/result_on_found.hpp
+include/tao/pegtl/internal/rules.hpp
+include/tao/pegtl/internal/seq.hpp
+include/tao/pegtl/internal/skip_control.hpp
+include/tao/pegtl/internal/sor.hpp
+include/tao/pegtl/internal/star.hpp
+include/tao/pegtl/internal/star_must.hpp
+include/tao/pegtl/internal/state.hpp
+include/tao/pegtl/internal/string.hpp
+include/tao/pegtl/internal/trivial.hpp
+include/tao/pegtl/internal/try_catch_type.hpp
+include/tao/pegtl/internal/until.hpp
+include/tao/pegtl/istream_input.hpp
+include/tao/pegtl/match.hpp
+include/tao/pegtl/memory_input.hpp
+include/tao/pegtl/mmap_input.hpp
+include/tao/pegtl/normal.hpp
+include/tao/pegtl/nothing.hpp
+include/tao/pegtl/parse.hpp
+include/tao/pegtl/parse_error.hpp
+include/tao/pegtl/position.hpp
+include/tao/pegtl/read_input.hpp
+include/tao/pegtl/require_apply.hpp
+include/tao/pegtl/require_apply0.hpp
+include/tao/pegtl/rewind_mode.hpp
+include/tao/pegtl/rules.hpp
+include/tao/pegtl/string_input.hpp
+include/tao/pegtl/tracking_mode.hpp
+include/tao/pegtl/uint16.hpp
+include/tao/pegtl/uint32.hpp
+include/tao/pegtl/uint64.hpp
+include/tao/pegtl/uint8.hpp
+include/tao/pegtl/utf16.hpp
+include/tao/pegtl/utf32.hpp
+include/tao/pegtl/utf8.hpp
+include/tao/pegtl/version.hpp
+share/doc/tao/pegtl/LICENSE
+share/pegtl/cmake/pegtl-config-version.cmake
+share/pegtl/cmake/pegtl-config.cmake
diff --git a/pegtl/distinfo b/pegtl/distinfo
new file mode 100644
index 0000000000..6468293794
--- /dev/null
+++ b/pegtl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (PEGTL-2.8.3.tar.gz) = 59e30a3e0a71aa249b099ece5ddfc26b626529c2
+RMD160 (PEGTL-2.8.3.tar.gz) = d7a38686766a0ffbaed41a56698b67c0d78f7734
+SHA512 (PEGTL-2.8.3.tar.gz) = 9f7644b86741dfe61716bbc43b2ea0a02cfc21eaf229c47cc71a49e2f08bf2c1ff37d2b2242a1bcf518b1893be6b82c27b0e9010a1b47ef8df87ffd90d280f71
+Size (PEGTL-2.8.3.tar.gz) = 201531 bytes


Home | Main Index | Thread Index | Old Index