From 6615a7b140bb74ba107ad8bdcca33df6fea6d4cb Mon Sep 17 00:00:00 2001 From: eli Date: Sun, 4 Sep 2022 18:38:02 -0400 Subject: [PATCH] * --- build.sh | 5 +++++ src/clojure.gmi | 1 + src/common-lisp.gmi | 23 +++++++++++++++++++++++ src/janet.gmi | 13 +++++++++++++ src/languages.gmi | 30 ++++++++++++++---------------- src/repl.gmi | 1 + src/scheme.gmi | 8 ++++++++ 7 files changed, 65 insertions(+), 16 deletions(-) create mode 100644 src/clojure.gmi create mode 100644 src/common-lisp.gmi create mode 100644 src/janet.gmi create mode 100644 src/repl.gmi create mode 100644 src/scheme.gmi diff --git a/build.sh b/build.sh index 19ab5c7..26280a1 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,10 @@ #!/bin/sh -e +# clean up +rm -rf public/*.html +rm -rf public/atom.xml + +# build new ni src/ public/ template.html atom-template.xml smallandnearlysilent.com/ ## NOTE: be sure to include the trailing / in the URL. diff --git a/src/clojure.gmi b/src/clojure.gmi new file mode 100644 index 0000000..4fba130 --- /dev/null +++ b/src/clojure.gmi @@ -0,0 +1 @@ +# clojure \ No newline at end of file diff --git a/src/common-lisp.gmi b/src/common-lisp.gmi new file mode 100644 index 0000000..d3218d9 --- /dev/null +++ b/src/common-lisp.gmi @@ -0,0 +1,23 @@ +# common lisp + +Common lisp isn't a single language, but rather a standard. As such, there are many implementations of common lisp kicking around that are (mostly) compatible. + +There are 2 installed on [[sans]]. + +## sbcl + +Sbcl is the cream of the crop, go-to common lisp implementation. It is a great starting place. + +Fire up the repl by invoking sbcl + +## ecl + +Ecl is a newer contender in the space. Ecl is a bit more portable than sbcl. + +Get this repl going by entering ecl at the command line. + +=> https://lisp-lang.org lisp lang +=> https://stevelosh.com/blog/2018/08/a-road-to-common-lisp/ a road to common lisp +=> https://llthw.common-lisp.dev learn lisp the hard way +=> http://www.lispworks.com/documentation/HyperSpec/Front/index.htm cl hyperspec +=> https://common-lisp.net/implementations cl implementations \ No newline at end of file diff --git a/src/janet.gmi b/src/janet.gmi new file mode 100644 index 0000000..3104878 --- /dev/null +++ b/src/janet.gmi @@ -0,0 +1,13 @@ +# janet + +Janet is weird. It is sort of a [[clojure]] clone, and sort of a lisp, but totally its own thing at the same time. + +It is tiny, portable, and fits into similar spaces that C does…but also not really. Janet is a beast utterly of its own. + +Get started by firing up the [[repl]]; from the prompt just type janet. + +Janet also ships with a package manager called jpm. + +=> https://janet-lang.org janet +=> https://janetdocs.com janetdocs +=> https://janet-lang.org/docs/jpm.html jpm \ No newline at end of file diff --git a/src/languages.gmi b/src/languages.gmi index 700e166..2438d2d 100644 --- a/src/languages.gmi +++ b/src/languages.gmi @@ -1,21 +1,19 @@ # languages -There are a lot of languages installed on [[sans]]. Here's a list of them. The list is sorted by similar scent. +There are a lot of languages and compilers installed on [[sans]]. Here's a listing of them. -## All the parentheses +The idea here is to give you enough to get started, and provide some wayfinding so that you can get your hands dirty. -* janet -* sbcl -* ecl +## lispy languages + +* [[scheme]] +* [[common-lisp]] +* [[clojure]] +* [[janet]] * fennel -* scheme9 -* clojure -* chicken-scheme -* chibi-scheme -* racket-minimal * fe -## Concatenative stacks of pancakes +## concatenative stacks of pancakes * gforth * retroforth @@ -24,7 +22,7 @@ There are a lot of languages installed on [[sans]]. Here's a list of them. The l * ufx * brainfuck -## Are you at the beach, because that sure looks like c +## are you at the beach, because that sure looks like c * clang * go @@ -42,24 +40,24 @@ There are a lot of languages installed on [[sans]]. Here's a list of them. The l * inform6 (inform) * Perl 5 -## Languages that omit some punctuation +## languages that omit some punctuation, sometimes in favor of whitespace * nim * lua +* python3 * freebasic (fbc) * gpc (gnu pascal compiler) -## Flat as a pancake +## flat as a pancake, and other weirdos * kona (open source k) * moonscript (moon and moonc) * coffeescript * livescript (lsc) -## Misc. +## misc. * sqlite3 -* python3 * node * SNOBOL4 diff --git a/src/repl.gmi b/src/repl.gmi new file mode 100644 index 0000000..a97c80b --- /dev/null +++ b/src/repl.gmi @@ -0,0 +1 @@ +# repl \ No newline at end of file diff --git a/src/scheme.gmi b/src/scheme.gmi new file mode 100644 index 0000000..3b7a546 --- /dev/null +++ b/src/scheme.gmi @@ -0,0 +1,8 @@ +# scheme + + + +* scheme9 +* chicken-scheme +* chibi-scheme +* racket-minimal \ No newline at end of file