pkgsrc-WIP-changes archive

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

joker: init directory



Module Name:	pkgsrc-wip
Committed By:	Kevin "The Nuclear" Bloom <kevin%sked.life@localhost>
Pushed By:	nuclearkev
Date:		Mon Aug 21 11:34:40 2023 -0400
Changeset:	c62ba3461e4792229e657ab6237cdf0006642edf

Added Files:
	joker/DESCR
	joker/Makefile
	joker/PLIST
	joker/TODO
	joker/distinfo
	joker/go-modules.mk

Log Message:
joker: init directory

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

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

diffstat:
 joker/DESCR         | 25 +++++++++++++++++++++++++
 joker/Makefile      | 21 +++++++++++++++++++++
 joker/PLIST         |  0
 joker/TODO          |  1 +
 joker/distinfo      |  0
 joker/go-modules.mk |  0
 6 files changed, 47 insertions(+)

diffs:
diff --git a/joker/DESCR b/joker/DESCR
new file mode 100644
index 0000000000..92f640db0d
--- /dev/null
+++ b/joker/DESCR
@@ -0,0 +1,25 @@
+Joker is a small interpreted dialect of Clojure written in Go. It is also a
+Clojure(Script) linter.
+
+Project goals:
+- Be suitable for scripting (lightweight, fast startup). This is something that
+  Clojure is not good at and my personal itch I am trying to scratch.
+- Be user friendly. Good error messages and stack traces are absolutely critical
+  for programmer's happiness and productivity.
+- Provide some tooling for Clojure and its dialects. Joker has linter mode which
+  can be used for linting Joker, Clojure and ClojureScript code. It catches some
+  basic errors. Joker can also format (pretty print) Clojure code (see format
+  mode) or EDN data structures. For example, the following command can be used to
+  pretty print EDN data structure (read from stdin):
+
+Project Non-goals:
+- Performance. If you need it, use Clojure. Joker is a naive implementation of an
+  interpreter that evaluates unoptimized AST directly. I may be interested in
+  doing some basic optimizations but this is definitely not a priority.
+- Have all Clojure features. Some features are impossible to implement due to a
+  different host language (Go vs Java), others I don't find that important for
+  the use cases I have in mind for Joker. But generally Clojure is a pretty large
+  language at this point and it is simply unfeasible to reach feature parity with
+  it, even with naive implementation.
+
+
diff --git a/joker/Makefile b/joker/Makefile
new file mode 100644
index 0000000000..3866148d02
--- /dev/null
+++ b/joker/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=		joker-1.3.0
+CATEGORIES=		lang
+MASTER_SITES=		${MASTER_SITE_GITHUB:=candid82/}
+GITHUB_TAG=		v${PKGVERSION_NOREV}
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		https://joker-lang.org/
+COMMENT=		A small dialect of Clojure and Clojure(Script) linter.
+LICENSE=		epl-v1.0
+
+INSTALLATION_DIRS+=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/joker ${DESTDIR}${PREFIX}/bin
+
+# .include "go-modules.mk"
+
+.include "../../lang/go/go-module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/joker/PLIST b/joker/PLIST
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/joker/TODO b/joker/TODO
new file mode 100644
index 0000000000..64df5ae246
--- /dev/null
+++ b/joker/TODO
@@ -0,0 +1 @@
+Still need to get the distinfo, modules, and attempt compilation.
\ No newline at end of file
diff --git a/joker/distinfo b/joker/distinfo
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/joker/go-modules.mk b/joker/go-modules.mk
new file mode 100644
index 0000000000..e69de29bb2


Home | Main Index | Thread Index | Old Index