#+NF
#+TITLE: Things that are a thing
#+options: ':t num:nil toc:t
#+html_head:
#+LF
* Markups
** SGML
*Simple Generalized Markup Language* was featureful and allowing for
expressing many complex forms of document structure and handy
syntax. A subset of it became *XML*. Data interchange formats based
on SGML or XML are respectively called SGML or XML
*applications*. Both SGML and XML have their own syntax of *DTD*
files. ISO 8879:1986. /See also:/ [[*DSSSL][DSSSL]], its transformation language.
SGML is very versatile. Here is /Markdown/ [[https://sgmljs.sgml.net/docs/markdown.html][implemented by sgmljs author as an SGML application]].
** HTML
*HyperText Markup Language* was once an application of SGML for the
purpose of expressing documents for World Wide Web browsers. It was
first attempted to be superseded with XHTML (an XML application), and
then HTML5 was released as neither a SGML nor an XML application —
remediating numerous issues that made commonplace HTML a so-called
/"tag soup"/.
* Transformation languages
** XML Stylesheet Language(s)
Arguably and officially, /eXtensible Stylesheet Language/. They are
for transforming XML. They are XML applications — they "are" XML too.
*** XSLT
Transforms XML into XML or into just
anything. Employs XPath expressions. XSLT 1.0 is widely processed by
web browsers, allowing you to serve a bare XML page.
*** XSL-FO
Presentational, made for print, involves concepts like pages.
** DSSSL
A subset of Scheme (a Lisp), transforms [[*SGML][SGML]]. Divided on a common
basis into *Transformation Language* (for transforming into SGML) and
*Style Language* (for transforming into a flow of data), it had the
Transformation Language never really implemented, with Style Language
being misused, almost as if XSL-FO was used for the purposes of
XSLT. The implementation having the latter was /James' [Clark's] DSSSL
Engine/, a.k.a /Jade/, later /OpenJade/.
- [[https://www.xml.com/pub/2000/05/03/dsssl/index.html][/DSSSL for XML: Why not?/ [xml.com, Didier Martin, 2000]]]
- [[http://web.archive.org/web/19980712205234/http://itrc.uwaterloo.ca:80/~papresco/dsssl/tutorial.html][Introduction to DSSSL [uwaterloo (webarchive), Prescod, 1997]]]
- [[http://web.archive.org/web/20001203180100/http://www.tiac.net/users/bingham/dssslsyn/index.htm][DSSSL Syntax Summary [Harvey Bingham (webarchive), 1996]]]
* Version control systems
*RCS* can be used on invidiual files outside of special directories.
*CVS* and *SVN* can have directories treated like projects, thus
forming hierarchies of projects.
*Git* and *Mercurial* form monolithic indivisible directory trees with
a clearly designated root.
** RCS
*Revision Control System* versions a file by creating a =,v= file
alongside that is human-inspectable and contains reverse ed-like
diffs for each version.
You are by default expected to only check-out a file for editing,
disappearing the working copy at check-in. =ci -l= or =ci -u=
immediately additionally perform you an appropriate =co= checkout
(with lock or without; the /lock/ is only meaningful in multi-user
environments.)
** CVS
*Concurrent Versions System* is based on [[*RCS][RCS]], expands the idea into a
central =CVSROOT= that you first import your project into (that does
not make your original directory suitable for further check-ins and
check-outs on all levels), then check it out (that creates the =CVS/=
directories on all levels in the checked-out directory tree of the
working copy, containing the metadata necessary for
further operations).
Every project is identified as a path in =CVSROOT=. Therefore, a
directory is a project, and all directories could theoretically be
checked out as a whole repository root — as one project.
** SVN
*Subversion* is a version control system that improved on branching
by storing actual copies of the whole commit tree. It introduced its
own protocol to replace CVS's =rsh= access.
** Mercurial
*hg* is first of the two VCSes that were created for Linux when
freeware BitKeeper needed to be replaced. Written in Python, and it
has some /sane/ UX qualities, like having revisions numbered. The
repositories, like [[*Git][Git]], are monolithic.
** Git
*Git* is the world's leading one. Created by Linus for Linux, it has
been admitted by Torvalds himself to not be well suited for corporate
use. The corporate, however, all use it anyway, having had migrated
from [[*SVN][SVN]]. The result is first a convoluted system of pinning
dependencies between projects, and second, a creation of new projects
(or, rarely, a migration) into a monorepo pattern.
* Literate programming
- [[https://wiki.haskell.org/index.php?title=Literate_programming][Literate Haskell]]
- [[https://www-cs-faculty.stanford.edu/~knuth/cweb.html][CWEB (Knuth)]]
- [[https://orgmode.org/][Org mode]] (a markup for notetaking)
- [[https://orgmode.org/worg/org-contrib/babel/intro.html][/"Babel is about letting many different languages work together. Programming languages live in code blocks"/]]
- [[https://orgmode.org/manual/Extracting-Source-Code.html][Extracting Source Code (manual)]]
- [[https://orgmode.org/worg/org-contrib/babel/how-to-use-Org-Babel-for-R.html][Example guide with R language]]
* Unix shells for philosophy
** Korn Shell
- http://www.kornshell.com/ [[https://github.com/ksh93/ksh][(gh) ksh93u+m]]
- *mksh* — /MirBSD Korn Shell/ (forked from pdksh)
- *OpenBSD* [[https://github.com/ibara/oksh][gh:ibara/oksh]] forked from pdksh (Public Domain Korn Shell)
** =xc=
A shell by Drew DeVault (sircmpwn) inspired by Plan 9's =rc=
https://git.sr.ht/~sircmpwn/xc/tree/master/item/doc/xc.1.scd
Written in Hare.