aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.html4
-rw-r--r--symbols.txt22
-rw-r--r--tempo.md7
3 files changed, 28 insertions, 5 deletions
diff --git a/index.html b/index.html
index f04ccbc..b71536e 100644
--- a/index.html
+++ b/index.html
@@ -183,6 +183,7 @@
constructor(rawText) {
this.lines = rawText.replace(/\r\n/g, '\n').replace(/\r/g, '\n').split('\n')
this.tokens = []
+ this.defs = new Set()
}
tokenize() {
@@ -320,6 +321,7 @@
if (firstTick !== -1 && lastTick !== -1 && lastTick > firstTick) {
name = line.substring(0, firstTick).trim()
+ if (!this.defs.has(name)) this.defs.add(name)
code = line.substring(firstTick + 1, lastTick)
let remainder = line.substring(lastTick + 1).trim()
@@ -412,7 +414,7 @@
const parser = new TempoParser(text)
parser.tokenize()
- const html = parser.render()
+ const html = parser.render().replace(/{{dict_size}}/g, `<b>${parser.defs.size - 1}</b>`)
// store first 4kb of website in local storage
document.getElementById('content').innerHTML = html
diff --git a/symbols.txt b/symbols.txt
index e016271..0e1bfd5 100644
--- a/symbols.txt
+++ b/symbols.txt
@@ -1,3 +1,6 @@
+> consequence
+- negate
++ combine
Ω me
. obj
. object
@@ -6,6 +9,7 @@
= equal
∷ prop
∷ property
+⋿ type
≠ neq
≠ notequal
⩫ unique
@@ -13,11 +17,24 @@
ʭ id
⨍ lookup
* catch
+1 one
+2 two
+3 three
+< before
+| separate
+! ???
+@ change
+# persistence
+~ chaos
+\ loop
⧔ time
+T true
+F false
∞ inf
∞ infinity
ε smol
ε epsilon
+& and
⊼ nand
⑄ speaker
¶ growth
@@ -30,9 +47,8 @@ i i
ϒ comprehend
ϑ dawn
𜱺 energy
-𝓂 matter
≈ almost
+𝓂 matter
⚛ atom
H aH
-He aHe
-⋿ type \ No newline at end of file
+He aHe \ No newline at end of file
diff --git a/tempo.md b/tempo.md
index e04cbcb..dd36240 100644
--- a/tempo.md
+++ b/tempo.md
@@ -1,6 +1,8 @@
# ⍾ tempo
a temporal, causal-chain based constructed language (conlang) for the structured communication of concepts.
+there are currently {{dict_size}} axioms (words) in tempo's dictionary.
+
## definitions
let's start by setting some expectations.
@@ -331,4 +333,7 @@ this website is configured in a way such that web scrapers will be able to archi
this website has a git repository on <a href="https://git.coffin.ir/moon/tempo">my git mirror</a>.
-email: moon@coffin.ir \ No newline at end of file
+-- communication --
+
+telegram: <a href="https://t.me/moonflowerfields">@moonflowerfields</a>
+email: <a href="mailto:moon@coffin.ir">moon@coffin.ir</a> \ No newline at end of file