Import the Carp language -- still a work in progress

Be sure to take a look at the TODOs -- This seems to work for me, but
there's still some work left to be done
This commit is contained in:
Charlotte Koch 2020-12-30 15:28:46 -08:00
parent 7b89014d00
commit e03df52dfe
4 changed files with 55 additions and 0 deletions

13
hs-carp/DESCR Normal file
View File

@ -0,0 +1,13 @@
Carp is a programming language designed to work well for interactive and
performance sensitive use cases like games, sound synthesis and
visualizations.
The key features of Carp are the following:
- Automatic and deterministic memory management (no garbage collector or VM)
- Inferred static types for great speed and reliability
- Ownership tracking enables a functional programming style while still
using mutation of cache-friendly data structures under the hood
- No hidden performance penalties allocation and copying are explicit
- Straightforward integration with existing C code
- Lisp macros, compile time scripting and a helpful REPL

28
hs-carp/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $NetBSD$
DISTNAME= carp-0.4.8
CATEGORIES= lang
#MASTER_SITES= ${MASTER_SITE_GITHUB:=carp-lang/}
MASTER_SITES+= ${MASTER_SITE_GITHUB:=dressupgeekout/}
GITHUB_PROJECT= Carp
#GITHUB_TAG= v${PKGVERSION_NOREV}
GITHUB_TAG= 00757580ecf6ca1fe5fce62908ae21fd3d3b36bf
MAINTAINER= cfkoch@edgebsd.org
COMMENT= A statically typed Lisp
LICENSE= apache-2.0
NOT_PAX_MPROTECT_SAFE+= bin/carp
NOT_PAX_MPROTECT_SAFE+= bin/carp-header-parse
.include "../../devel/hs-ansi-terminal/buildlink3.mk"
.include "../../devel/hs-hashable/buildlink3.mk"
.include "../../devel/hs-optparse-applicative/buildlink3.mk"
.include "../../devel/hs-split/buildlink3.mk"
.include "../../textproc/hs-blaze-html/buildlink3.mk"
.include "../../textproc/hs-blaze-markup/buildlink3.mk"
.include "../../textproc/hs-edit-distance/buildlink3.mk"
.include "../../wip/hs-cmark/buildlink3.mk"
.include "../../wip/hs-open-browser/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"

8
hs-carp/TODO Normal file
View File

@ -0,0 +1,8 @@
- (30 Dec 2020) charlotte: NetBSD support has not yet been merged upstream,
see https://github.com/carp-lang/Carp/pull/1109
- (30 Dec 2020) charlotte: Need to upgrade devel/hs-ansi-terminal to 0.10.3
-- works for me, locally
- (30 Dec 2020) charlotte: Should probably find a way to ship a complete
CARP_DIR, too

6
hs-carp/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (carp-0.4.8-00757580ecf6ca1fe5fce62908ae21fd3d3b36bf.tar.gz) = 70c1b80b574358e351d009ba4e6e31fc39028497
RMD160 (carp-0.4.8-00757580ecf6ca1fe5fce62908ae21fd3d3b36bf.tar.gz) = 89530213ea066b0dec66c3f41109a2210cca6d53
SHA512 (carp-0.4.8-00757580ecf6ca1fe5fce62908ae21fd3d3b36bf.tar.gz) = a268b8ef6ffff6da1d4187de21a6e4fc752fdf22f040c160bc1a5140d1618d805c587cddb9b253615cf4f7e0e0a1a29091ea4b97eac45279672639be80812da8
Size (carp-0.4.8-00757580ecf6ca1fe5fce62908ae21fd3d3b36bf.tar.gz) = 4903252 bytes