Lindenii Project Forge
Login

spec

e² language specification

Hi… I am well aware that this diff view is very suboptimal. It will be fixed when the refactored server comes along!

Commit info
ID
7a5c14f1846eeda602c63f36b225f3886e6cdfd2
Author
Runxi Yu <me@runxiyu.org>
Author date
Fri, 03 Jan 2025 18:39:57 +0800
Committer
Runxi Yu <me@runxiyu.org>
Committer date
Fri, 03 Jan 2025 18:39:57 +0800
Actions
Delete all build stuff

We'll use the main website repo to build things and just use this
as a subtree
# GNU Make is required

.PHONY: upload default

default: build/language_description.html build/index.html build/style.css

.SUFFIXES: .md .html

build/%.html: %.md
	mkdir -p build
	pandoc --preserve-tabs --mathml -so $@ -c style.css $<

build/%.css: %.css
	mkdir -p build
	cp $< $@

upload:
	rsync --delete-after --recursive --mkpath build/ runxiyu.org:/var/www/docs/e2/
# The e² programming language specification

This is the specification for the [e²](https://e2.runxiyu.org/) programming
language.

You may [read this specification online](https://docs.runxiyu.org/e2/).
---
title: e² language
author: Test_User and Runxi Yu
---

e² is a new programming language.

Please read the [language description](language_description.html).
/*
 * SPDX-License-Identifier: CC0-1.0
 * Primarily written by Drew Devault
 * I asked him whether this could be PD as I want to keep this repo PD. Thanks!
 */
html {
	font-family: system-ui, sans-serif;
	--bg: hsl(32, 98%, 92%);
	--fg: #1E1F21;
	--boxbg: hsl(32, 60%, 88%);
	--border: rgb(180, 180, 180);
	--dim-text-color: #333;
	--link-color: #24527d;
	--text-decoration-color: #CCC;
	color: var(--fg);
	background-color: var(--bg);
}

@media(prefers-color-scheme:dark) {
	html {
		--bg: #1E1F21;
		--fg: #EEEFF1;
		--dim-text-color: #999;
		--boxbg: #2E2F31;
		--border: rgb(80, 80, 80);
		--link-color: #5ca7ed;
		--text-decoration-color: #474747;
	}
}


code, pre {
	font-family: "DejaVu Sans Mono", monospace;
}

body {
	margin: 0 auto;
	padding: 1rem;
	max-width: 850px;
}

h1 {
	margin-top: 0;
	font-size: 1.5rem;
}

a:link {
	text-decoration-color: var(--text-decoration-color);
	color: var(--link-color);
}
a:visited {
	text-decoration-color: var(--text-decoration-color);
	color: var(--link-color);
}

.title {
	text-align: center;
	font-size: 180%;
}

.author {
	text-align: center;
	font-size: 120%;
}

/* 
 * vim: ts=8 sw=8 noexpandtab
 */