pkgsrc-WIP-changes archive

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

guile-stis-parser: Import as wip/guile-stis-parser



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%NetBSD.org@localhost>
Pushed By:	ng0
Date:		Mon Jan 6 14:38:28 2020 +0000
Changeset:	9ef2288989a3b3388c429e5e1b030947a5f1ea4b

Added Files:
	guile-stis-parser/DESCR
	guile-stis-parser/Makefile
	guile-stis-parser/PLIST
	guile-stis-parser/TODO
	guile-stis-parser/distinfo

Log Message:
guile-stis-parser: Import as wip/guile-stis-parser

guile-stis-parser provides a functional parser combinator library that
supports backtracking and a small logical framework. The idea is to
build up chunks that are memoized and there is no clear scanner/parser
separation, chunks can be expressions as well as simple tokens.

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

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

diffstat:
 guile-stis-parser/DESCR    |  4 ++++
 guile-stis-parser/Makefile | 33 +++++++++++++++++++++++++++++++++
 guile-stis-parser/PLIST    | 17 +++++++++++++++++
 guile-stis-parser/TODO     |  1 +
 guile-stis-parser/distinfo |  6 ++++++
 5 files changed, 61 insertions(+)

diffs:
diff --git a/guile-stis-parser/DESCR b/guile-stis-parser/DESCR
new file mode 100644
index 0000000000..b530f7ac05
--- /dev/null
+++ b/guile-stis-parser/DESCR
@@ -0,0 +1,4 @@
+guile-stis-parser provides a functional parser combinator library that
+supports backtracking and a small logical framework. The idea is to
+build up chunks that are memoized and there is no clear scanner/parser
+separation, chunks can be expressions as well as simple tokens.
diff --git a/guile-stis-parser/Makefile b/guile-stis-parser/Makefile
new file mode 100644
index 0000000000..fda226ad96
--- /dev/null
+++ b/guile-stis-parser/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+DISTNAME=	stis-parser-${GITLAB_TAG}
+PKGNAME=	guile-stis-parser-0.0.0
+CATEGORIES=	devel
+MASTER_SITES=	https://gitlab.com/tampe/${GITLAB_PROJECT}/-/archive/${GITLAB_TAG}/
+GITLAB_PROJECT=	stis-parser
+GITLAB_TAG=	5d91e9ee8ebf7e7c5911f5689a92ece954aa3f82
+
+MAINTAINER=		ng0%NetBSD.org@localhost
+HOMEPAGE=		https://gitlab.com/tampe/stis-parser/
+COMMENT=		Parser combinator framework for GNU Guile
+LICENSE=		gnu-lgpl-v2
+USE_TOOLS+=		pkg-config
+GNU_CONFIGURE=		yes
+GUILE_NEED_BOOTSTRAP=	yes
+
+WRKSRC=			${WRKDIR}/${GITLAB_PROJECT}-${GITLAB_TAG}/modules
+
+SUBST_CLASSES+=		ccache
+SUBST_MESSAGE.ccache=	Use canonical ccache location.
+SUBST_FILES.ccache=	Makefile.am
+SUBST_SED.ccache=	-e 's/\/site-ccache/\/ccache/g'
+SUBST_STAGE.ccache=	post-patch
+
+# pre-configure misses creation of m4 directory which is missing in
+# the source.
+post-extract:
+	cd ${WRKSRC} && mkdir m4
+
+.include "../../lang/guile22/module.mk"
+.include "../../lang/guile22/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/guile-stis-parser/PLIST b/guile-stis-parser/PLIST
new file mode 100644
index 0000000000..6a76751f97
--- /dev/null
+++ b/guile-stis-parser/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD$
+guile/2.2/lib/guile/2.2/ccache/parser/stis-parser.go
+guile/2.2/lib/guile/2.2/ccache/parser/stis-parser/fstream.go
+guile/2.2/lib/guile/2.2/ccache/parser/stis-parser/lang/python3-parser.go
+guile/2.2/lib/guile/2.2/ccache/parser/stis-parser/lang/python3/tool.go
+guile/2.2/lib/guile/2.2/ccache/parser/stis-parser/macros.go
+guile/2.2/lib/guile/2.2/ccache/parser/stis-parser/operator-parser.go
+guile/2.2/lib/guile/2.2/ccache/parser/stis-parser/pre.go
+guile/2.2/lib/guile/2.2/ccache/parser/stis-parser/scanner.go
+guile/2.2/share/guile/site/2.2/parser/stis-parser.scm
+guile/2.2/share/guile/site/2.2/parser/stis-parser/fstream.scm
+guile/2.2/share/guile/site/2.2/parser/stis-parser/lang/python3-parser.scm
+guile/2.2/share/guile/site/2.2/parser/stis-parser/lang/python3/tool.scm
+guile/2.2/share/guile/site/2.2/parser/stis-parser/macros.scm
+guile/2.2/share/guile/site/2.2/parser/stis-parser/operator-parser.scm
+guile/2.2/share/guile/site/2.2/parser/stis-parser/pre.scm
+guile/2.2/share/guile/site/2.2/parser/stis-parser/scanner.scm
diff --git a/guile-stis-parser/TODO b/guile-stis-parser/TODO
new file mode 100644
index 0000000000..81a2e8a19f
--- /dev/null
+++ b/guile-stis-parser/TODO
@@ -0,0 +1 @@
+fix the build: https://gitlab.com/tampe/stis-parser/issues/1
\ No newline at end of file
diff --git a/guile-stis-parser/distinfo b/guile-stis-parser/distinfo
new file mode 100644
index 0000000000..157ebce630
--- /dev/null
+++ b/guile-stis-parser/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (stis-parser-5d91e9ee8ebf7e7c5911f5689a92ece954aa3f82.tar.gz) = 7cf7f5a31439fe0e3fe8c6c2a857b98d0c21290d
+RMD160 (stis-parser-5d91e9ee8ebf7e7c5911f5689a92ece954aa3f82.tar.gz) = 138161cd748ef6b5a37e4e68e249033e7dfc9c05
+SHA512 (stis-parser-5d91e9ee8ebf7e7c5911f5689a92ece954aa3f82.tar.gz) = 20940c2fdb1c6d3c3d7097e6750af6b1d468b66032a049c0e0c6dfa0117d19ab54ad5dbcd887bf1faacd770cbbd40f62ef2bd331083a4b6965ee24755a980675
+Size (stis-parser-5d91e9ee8ebf7e7c5911f5689a92ece954aa3f82.tar.gz) = 63683 bytes


Home | Main Index | Thread Index | Old Index