This is "Not Quite Perl" -- a compiler for quickly generating PIR

routines from Perl6-like code.  The key feature of NQP is that it's
designed to be a very small compiler (as compared with, say, perl6
or Rakudo) and is focused on being a high-level way to create
compilers and libraries for virtual machines (such as the Parrot
Virtual Machine).  Unlike a full-fledged implementation of Perl 6,
NQP strives to have as small a runtime footprint as it can, while
still providing a Perl 6 object model and regular expression engine
for the virtual machine.

ok landry@
This commit is contained in:
pascal 2012-03-08 14:57:25 +00:00
parent b007c61390
commit ea6975e082
4 changed files with 70 additions and 0 deletions

39
lang/nqp/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/03/08 14:57:25 pascal Exp $
SHARED_ONLY = Yes
COMMENT = Not Quite Perl
V = 2012.02
DISTNAME = nqp-${V}
PARROT_VERSION = 4.1.0
SUBST_VARS += PARROT_VERSION
CATEGORIES = lang
HOMEPAGE = https://github.com/perl6/NQP
MAINTAINER = Pascal Stumpf <Pascal.Stumpf@cubes.de>
# Artistic 2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c gmp icudata icuuc m ncurses parrot pthread
WANTLIB += readline stdc++ util
MASTER_SITES = http://cloud.github.com/downloads/perl6/nqp/
LIB_DEPENDS = lang/parrot>=${PARROT_VERSION}
USE_GMAKE = Yes
CONFIGURE_STYLE = simple
CONFIGURE_SCRIPT = /usr/bin/perl Configure.pl
CONFIGURE_ARGS = --with-parrot="${LOCALBASE}/bin/parrot"
REGRESS_TARGET = test
.include <bsd.port.mk>

5
lang/nqp/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (nqp-2012.02.tar.gz) = O7rmHH1Cbjpy2DM4stFlnA==
RMD160 (nqp-2012.02.tar.gz) = 2tjazsueJCNgdUkVWkYFS8IUbUI=
SHA1 (nqp-2012.02.tar.gz) = 0+P1GOWdpRgxoZvdcRlnpViGzyw=
SHA256 (nqp-2012.02.tar.gz) = Q7syKPAGXOP0HIGFESi/4cAZcuUei4VeuvcQyw/GPG0=
SIZE (nqp-2012.02.tar.gz) = 857125

9
lang/nqp/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
This is "Not Quite Perl" -- a compiler for quickly generating PIR
routines from Perl6-like code. The key feature of NQP is that it's
designed to be a very small compiler (as compared with, say, perl6
or Rakudo) and is focused on being a high-level way to create
compilers and libraries for virtual machines (such as the Parrot
Virtual Machine). Unlike a full-fledged implementation of Perl 6,
NQP strives to have as small a runtime footprint as it can, while
still providing a Perl 6 object model and regular expression engine
for the virtual machine.

17
lang/nqp/pkg/PLIST Normal file
View File

@ -0,0 +1,17 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/03/08 14:57:25 pascal Exp $
@bin bin/nqp
lib/parrot/${PARROT_VERSION}/dynext/nqp_bigint_ops.so
lib/parrot/${PARROT_VERSION}/dynext/nqp_dyncall_ops.so
lib/parrot/${PARROT_VERSION}/dynext/nqp_group.so
lib/parrot/${PARROT_VERSION}/dynext/nqp_ops.so
lib/parrot/${PARROT_VERSION}/languages/nqp/
lib/parrot/${PARROT_VERSION}/languages/nqp/lib/
lib/parrot/${PARROT_VERSION}/languages/nqp/lib/NQPCORE.setting.pbc
lib/parrot/${PARROT_VERSION}/languages/nqp/lib/NQPHLL.pbc
lib/parrot/${PARROT_VERSION}/languages/nqp/lib/NQPP6Regex.pbc
lib/parrot/${PARROT_VERSION}/languages/nqp/lib/NQPRegex.pbc
lib/parrot/${PARROT_VERSION}/languages/nqp/lib/QRegex.pbc
lib/parrot/${PARROT_VERSION}/languages/nqp/lib/nqp.pbc
lib/parrot/${PARROT_VERSION}/languages/nqp/lib/nqpmo.pbc
lib/parrot/${PARROT_VERSION}/library/ModuleLoader.pbc
lib/parrot/${PARROT_VERSION}/library/PASTRegex.pbc