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.
This commit is contained in:
ng0 2020-01-06 14:38:28 +00:00
parent e8e1a0f64f
commit 9ef2288989
5 changed files with 61 additions and 0 deletions

4
guile-stis-parser/DESCR Normal file
View File

@ -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.

View File

@ -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
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"

17
guile-stis-parser/PLIST Normal file
View File

@ -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

1
guile-stis-parser/TODO Normal file
View File

@ -0,0 +1 @@
fix the build: https://gitlab.com/tampe/stis-parser/issues/1

View File

@ -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