eips 0.2.4

Efficient intention-preserving sequence CRDT
Documentation
# Copyright (C) 2025-2026 taylor.fish <contact@taylor.fish>
#
# This file is part of Eips.
#
# Eips is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Eips is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General
# Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with Eips. If not, see <https://www.gnu.org/licenses/>.
#
# The Eips Lesser Network Exception and Eips Peer-to-Peer Exception
# also apply to Eips. These exceptions are additional permissions
# under section 7 of the GNU Affero General Public License, version 3.
# You should have received a copy of these exceptions; if not, see
# <https://codeberg.org/taylordotfish/eips-exceptions>.

.PHONY: all
all: html

.PHONY: html
html: design.html

define header
<!DOCTYPE html>
<meta charset="utf-8" />
<title>Design</title>
<style>
    html {
        font-size: 16px;
        font-family: sans-serif;
        padding: 2em 1em;
    }
    body {
        max-width: 55em;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.5;
    }
    img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    table {
        border-collapse: collapse;
        margin-left: auto;
        margin-right: auto;
    }
    th, td {
        padding: 0.2em 1em;
    }
    td {
        border-top: 1px solid #cccccc;
        border-collapse: collapse;
    }
</style>
endef

prefix := MAKEFILE_$(shell ls -i Makefile | awk '{ print $$1 }')_
$(eval export $(prefix)HEADER = $$(header))

design.html: design.md
	@set -euf; \
	set -- cmark --unsafe; \
	if command -v pulldown-cmark > /dev/null; then \
		set -- pulldown-cmark; \
	fi; \
	set -- "$$@" $^; \
	printf '%s\n' "$$* > $@"; \
	exec > $@; \
	printf '%s\n' "$$$(prefix)HEADER"; \
	"$$@"

.PHONY: clean
clean:
	rm -f design.html

.DELETE_ON_ERROR: