01// HANGEUL.SYS
02// Created: 1443.10.09
03// Author: Sejong the Great
04// License: PUBLIC DOMAIN
05
06init Hunminjeongeum
07// The correct sounds for
08// the instruction of the people

A writing system engineered from zero. No evolution. No inheritance. Pure design. 1443: a king watched his people locked out of literacy by borrowed Chinese characters and decided to build something new overnight.

28 letters. Phonetically complete. Learnable in a single morning. The most deliberate act of information liberation in human history.

hieut -- the aspirated breath. The beginning of 한글.

THE CONSONANTS

01const consonants = [
02 'ㄱ', 'ㄴ', 'ㄷ', 'ㄹ', 'ㅁ',
03 'ㅂ', 'ㅅ', 'ㅇ', 'ㅈ', 'ㅊ',
04 'ㅋ', 'ㅌ', 'ㅍ', 'ㅎ'
05]
06
07// Each shape maps to the
08// position of the tongue,
09// lips, and throat

14 basic consonants. Each one is a diagram of the mouth. traces the tongue touching the soft palate. maps the tongue behind the teeth. is the shape of closed lips. Not arbitrary. Engineered.

ㄱ giyeok
ㄴ nieun
ㄷ digeut
ㄹ rieul
ㅁ mieum
ㅂ bieup
ㅅ siot
ㅇ ieung
ㅈ jieut
ㅊ chieut
ㅋ kieuk
ㅌ tieut
ㅍ pieup
ㅎ hieut
14 consonants. Each one a map of the mouth that speaks it.

THE VOWELS

01const cosmicOrigins = {
02 heaven: 'ㆍ', // dot - the sun
03 earth: 'ㅡ', // flat - the ground
04 human: 'ㅣ', // upright - standing
05}
06
07const vowels = [
08 'ㅏ', 'ㅑ', 'ㅓ', 'ㅕ', 'ㅗ',
09 'ㅛ', 'ㅜ', 'ㅠ', 'ㅡ', 'ㅣ'
10]

Three cosmic symbols. Heaven: a round dot. Earth: a horizontal line. Human: a vertical line. Every vowel in Korean is a combination of these three elements.

= human + heaven (to the right). = heaven + human (to the left). The direction of the dot encodes the darkness or brightness of the sound. Cosmology embedded in typography.

ㅏ a
ㅑ ya
ㅓ eo
ㅕ yeo
ㅗ o
ㅛ yo
ㅜ u
ㅠ yu
ㅡ eu
ㅣ i
10 vowels. Heaven, earth, and human -- combined.

Three components. One block. + + = . Initial, medial, final. Consonant, vowel, consonant. Stacked into a single square. Every Korean syllable is a microcosm of this assembly.

THE SYSTEM

01const choseong = 19 // initial consonants
02const jungseong = 21 // medial vowels
03const jongseong = 28 // final consonants (+null)
04
05const totalSyllables =
06 choseong * jungseong * jongseong
07
08// => 11,172
09
10function compose(cho, jung, jong) {
11 return 0xAC00 +
12 (cho * 21 + jung) * 28
13 + jong
14}
15
16// Unicode Hangul Syllables Block
17// U+AC00 .. U+D7A3
18// Every possible combination
19// pre-composed and indexed

19 × 21 × 28 = 11,172 unique syllable blocks. Every one algorithmically derivable. Every one assigned a Unicode codepoint. A writing system that is also a compression algorithm.

11,172 syllables. Infinite expression.

THE LEGACY

01// Unicode Hangul Blocks
02
03Hangul Jamo U+1100..U+11FF
04Hangul Compat U+3130..U+318F
05Hangul Syllables U+AC00..U+D7AF
06Hangul Jamo Ext-A U+A960..U+A97F
07Hangul Jamo Ext-B U+D7B0..U+D7FF
08
09// 1443: Hunminjeongeum published
10// 1446: Official promulgation
11// 1949: Exclusive national script
12// 1991: Unicode 1.0 inclusion
13// 1996: Full syllable block set
14// 1997: ISO 10646 standard

From bamboo brush to digital encoding. 580 years of survival through colonization, suppression, and technological revolution. Now the most systematically encoded writing system in Unicode. Every syllable computed, every Jamo indexed.

1443 Hunminjeongeum
1446 Promulgated
1949 National script
1991 Unicode
From ink to electrons. The signal endures.

October 9, 1446