# There is one little bit of _actual_ HTML in here: I've used <sup></sup> for prenasalisation.
characters:
  "+syllabic +resonant dorsal +high +front -round +ATR": 'i'
  "+syllabic +resonant dorsal +high +front +round +ATR": 'y'
  "+syllabic +resonant dorsal +high -front -back -round +ATR": '&#x268;'
  "+syllabic +resonant dorsal +high -front -back +round +ATR": '&#x289;'
  "+syllabic +resonant dorsal +high +back -round +ATR": '&#x26f;'
  "+syllabic +resonant dorsal +high +back +round +ATR": 'u' 
  "+resonant dorsal +high +front -round -ATR": '&#x26a;' 
  "+resonant dorsal +high +front +round -ATR": '&#x28f;'
  "+resonant dorsal +high -front -back -round -ATR": '&#x26a;&#x308;' 
  "+resonant dorsal +high -front -back +round -ATR": '&#x28a;&#x308;'
  "+resonant dorsal +high +back -round -ATR": '&#x28a;&#x31c;'
  "+resonant dorsal +high +back +round -ATR": '&#x28a;'
  "+resonant dorsal -high -low +front -round +ATR -tap_or_trill": 'e'
  "+resonant dorsal -high -low +front +round +ATR -tap_or_trill": '&#xf8;'
  "+resonant dorsal -high -low -front -back -round +ATR -tap_or_trill": '&#x258;'
  "+resonant dorsal -high -low -front -back +round +ATR -tap_or_trill": '&#x275;'
  "+resonant dorsal -high -low +back -round +ATR -tap_or_trill": '&#x264;'
  "+resonant dorsal -high -low +back +round +ATR -tap_or_trill": 'o'
  "+resonant dorsal -high -low +front -round -ATR -tap_or_trill": '&#x25b;'
  "+resonant dorsal -high -low +front +round -ATR -tap_or_trill": '&#x153;'
  "+resonant dorsal -high -low -front -back -round -ATR -tap_or_trill": '&#x25c;'
  "+resonant dorsal -high -low -front -back +round -ATR -tap_or_trill": '&#x25e;'
  "+resonant dorsal -high -low +back -round -ATR -tap_or_trill": '&#x28c;'
  "+resonant dorsal -high -low +back +round -ATR -tap_or_trill": '&#x254;'
  # We use /&/ for a front and /a/ a central vowel.  
  # I'm accordingly not sure where to put /&\/, so I do without.
  "+resonant dorsal +low +front -round -ATR": '&#xe6;' 
  "+resonant dorsal +low +front +round -ATR": '&#xe6;&#x339;'
  "+resonant dorsal +low -front -back -round -ATR": 'a'
  "+resonant dorsal +low -front -back +round -ATR": 'a&#x339;'
  "+resonant dorsal +low +back -round -ATR": '&#x251;'
  "+resonant dorsal +low +back +round -ATR": '&#x252;'

  "-syllabic +resonant dorsal -lateral -tap_or_trill +high +front -round": 'j'
  "-syllabic +resonant dorsal -lateral -tap_or_trill +high +front +round": '&#x265;'
  "-syllabic +resonant dorsal -lateral -tap_or_trill +high -front -round": '&#x270;'
  "-syllabic +resonant dorsal -lateral -tap_or_trill +high -front +round": 'w'
  "+resonant dorsal +lateral -tap_or_trill +high +front": '&#x28e;'
  "+resonant dorsal +lateral -tap_or_trill +high -front": '&#x29f;'
  # taps can be notated as extra-short stops I guess
  "+resonant dorsal -lateral +tap_or_trill -trill -high": '&#x262;&#x306;'
  "+resonant dorsal -lateral +tap_or_trill +trill -high": '&#x280;'
  "+resonant coronal +lateral -tap_or_trill -back -retroflex": 'l'
  "+resonant coronal +lateral -tap_or_trill +retroflex": '&#x26d;'
  "+resonant coronal +lateral -tap_or_trill +back": '&#x26b;'
  "+resonant coronal +lateral +tap_or_trill -trill": '&#x27a;'
  "+resonant coronal -lateral -tap_or_trill -retroflex": '&#x279;'
  "+resonant coronal -lateral -tap_or_trill +retroflex": '&#x27b;'
  "+resonant coronal -lateral +tap_or_trill -trill -retroflex": '&#x27e;'
  "+resonant coronal -lateral +tap_or_trill -trill +retroflex": '&#x27d;'
  "+resonant coronal -lateral +tap_or_trill +trill": 'r'
  "+resonant labial -labiodental -lateral -tap_or_trill": '&#x3b2;&#x31e;'
  "+resonant labial +labiodental -lateral -tap_or_trill": '&#x28b;'
  "+resonant labial -lateral +tap_or_trill -trill": 'b&#x306;'
  "+resonant labial -lateral +tap_or_trill +trill": '&#x299;'
  "-resonant +nasal -fricative -affricate dorsal -high": '&#x274;'
  "-resonant +nasal -fricative -affricate dorsal +high -front": '&#x14b;' 
  "-resonant +nasal -fricative -affricate dorsal +high +front -consonant_palatal": '&#x14b;&#x2b2;'
  "-resonant +nasal -fricative -affricate dorsal +high +front +consonant_palatal": '&#x272;'
  "-resonant +nasal -fricative -affricate coronal -retroflex": 'n'
  "-resonant +nasal -fricative -affricate coronal +retroflex": '&#x273;'
  "-resonant +nasal -fricative -affricate labial -labiodental": 'm'
  "-resonant +nasal -fricative -affricate labial +labiodental": '&#x271;'
  "-resonant -nasal -fricative -affricate -voice dorsal -high": 'q'
  "-resonant -nasal -fricative -affricate +voice dorsal -high -implosive": '&#x262;'
  "-resonant -nasal -fricative -affricate dorsal -high +implosive": '&#x29b;'
  "-resonant -nasal -fricative -affricate -voice dorsal +high -front -implosive": 'k'
  "-resonant -nasal -fricative -affricate +voice dorsal +high -front -implosive": 'g'
  "-resonant -nasal -fricative -affricate dorsal +high -front +implosive": '&#x260;'
  "-resonant -nasal -fricative -affricate -voice dorsal +high +front -consonant_palatal -implosive": 'k&#x2b2;'
  "-resonant -nasal -fricative -affricate +voice dorsal +high +front -consonant_palatal -implosive": 'g&#x2b2;'
  "-resonant -nasal -fricative -affricate dorsal +high +front -consonant_palatal +implosive": '&#x260;&#x2b2;'
  "-resonant -nasal -fricative -affricate -voice dorsal +high +front +consonant_palatal -implosive": 'c'
  "-resonant -nasal -fricative -affricate +voice dorsal +high +front +consonant_palatal -implosive": '&#x25f;'
  "-resonant -nasal -fricative -affricate dorsal +high +front +consonant_palatal +implosive": '&#x284;'
  "-resonant -nasal -fricative -affricate -voice coronal -implosive -retroflex": 't'
  "-resonant -nasal -fricative -affricate -voice coronal -implosive +retroflex": '&#x288;'
  "-resonant -nasal -fricative -affricate +voice coronal -implosive -retroflex": 'd'
  "-resonant -nasal -fricative -affricate +voice coronal -implosive +retroflex": '&#x256;'
  "-resonant -nasal -fricative -affricate coronal +implosive": '&#x257;'
  "-resonant -nasal -fricative -affricate -voice labial -implosive": 'p'
  "-resonant -nasal -fricative -affricate +voice labial -implosive": 'b'
  "-resonant -nasal -fricative -affricate labial +implosive": '&#x253;'
  "-resonant +fricative -voice dorsal -high": '&#x3c7;'
  "-resonant +fricative +voice dorsal -high": '&#x281;'
  "-resonant +fricative -voice dorsal +high -front": 'x'
  "-resonant +fricative +voice dorsal +high -front": '&#x263;'
  "-resonant +fricative -voice dorsal +high +front -consonant_palatal": 'x&#x2b2;'
  "-resonant +fricative +voice dorsal +high +front -consonant_palatal": '&#x263;&#x2b2;'
  "-resonant +fricative -voice dorsal +high +front +consonant_palatal": '&#xe7;'
  "-resonant +fricative +voice dorsal +high +front +consonant_palatal": '&#x29d;'
  "-resonant +fricative -voice coronal -lateral -anterior -retroflex +front": '&#x255;'
  "-resonant +fricative +voice coronal -lateral -anterior -retroflex +front": '&#x291;'
  "-resonant +fricative -voice coronal -lateral -anterior -retroflex -front": '&#x283;'
  "-resonant +fricative +voice coronal -lateral -anterior -retroflex -front": '&#x292;'
  "-resonant +fricative -voice coronal -lateral -anterior +retroflex": '&#x282;'
  "-resonant +fricative +voice coronal -lateral -anterior +retroflex": '&#x290;'
  "-resonant +fricative -voice coronal -lateral +anterior +anterior_sibilant": 's'
  "-resonant +fricative +voice coronal -lateral +anterior +anterior_sibilant": 'z'
  "-resonant +fricative -voice coronal -lateral +anterior -anterior_sibilant +dental": '&#x3b8;'
  "-resonant +fricative +voice coronal -lateral +anterior -anterior_sibilant +dental": '&#xf0;' 
  "-resonant +fricative -voice coronal -lateral +anterior -anterior_sibilant -dental": '&#x3b8;&#x331;' # less distracting than the Z-SAMPA
  "-resonant +fricative +voice coronal -lateral +anterior -anterior_sibilant -dental": '&#xf0;&#x331;' 
  "-resonant +fricative -voice coronal +lateral": '&#x26c;'
  "-resonant +fricative +voice coronal +lateral": '&#x26e;' 
  "-resonant +fricative -voice labial -labiodental": '&#x278;'
  "-resonant +fricative +voice labial -labiodental": '&#x3b2;'
  "-resonant +fricative -voice labial +labiodental": 'f'
  "-resonant +fricative +voice labial +labiodental": 'v'
  "-syllabic -dorsal -coronal -labial -voice +constricted_glottis -pharyngealised": '&#x294;'
  "-syllabic -dorsal -coronal -labial -voice +constricted_glottis +pharyngealised": '&#x294;&#x2c1;'
  "-syllabic -dorsal -coronal -labial -voice +spread_glottis": 'h'
  "-syllabic -dorsal -coronal -labial +voice +spread_glottis": '&#x266;'
  "-syllabic -dorsal -coronal -labial +pharyngealised -constricted_glottis -voice": '&#x127;' # what if there's [+sg] here?
  "-syllabic -dorsal -coronal -labial +pharyngealised +voice": '&#x295;'

ligations:
  "labial coronal": ["-coronal", "-labial", "[]&#x361;[]"]
  "labial dorsal": ["-dorsal", "-labial", "[]&#x361;[]"]
  "coronal dorsal": ["-dorsal", "-coronal", "[]&#x361;[]"]
  "+affricate": ["-affricate", "+fricative -affricate -prenasalised", "[]&#x361;[]"]
  "+prenasalised": ["+nasal -affricate -fricative -prenasalised", "-prenasalised", "<sup>[]</sup>[]"]

modifiers:
  "+syllabic -dorsal": '[]&#x329;' 
  "+syllabic +lateral": '[]&#x329;' 
  "+syllabic +tap_or_trill": '[]&#x329;' 
  "+syllabic -resonant": '[]&#x329;' 
  "-syllabic +resonant dorsal -lateral -tap_or_trill": '[]&#x32f;' 
  "+spread_glottis -voice": '[]&#x2b0;'
  "+spread_glottis +voice": '[]&#x324;'
  "+constricted_glottis -voice": '[]&#x2bc;'
  "+constricted_glottis +voice": '[]&#x330;'
  "+implosive": "[]&#x2c2;" 
  # various releases have symbols
  "-voice": '[]&#x325;'
  #"+voice": '[]&#x32c;' # let's just not specify any voiceless unpaired Cs 
  "+labiodental": '[]&#x32a;' # apparently IPA-sanctioned? also in Z-SAMPA.  alternatively &#x238; and &#x239;
  "+dental": '[]&#x32a;'
  "+retroflex -syllabic": '[]&#x322;'
  "+retroflex +syllabic": '[]&#x2de;'
  "-anterior -retroflex": '[]&#x331;' # a common use of IPA underline
  "+lateral": '[]&#x2e1;' # that's meant for release, enh
  "+round": '[]&#x2b7;'
  "+front": '[]&#x2b2;'
  "-back dorsal -front": '[]&#x31f;'
  "-ATR": '[]&#x319;'
  "+back -dorsal": '[]&#x2e0;'
  "+pharyngealised": '[]&#x2e4;'
  "+nasal": '[]&#x303;'
  "+long": '[]&#x2d0;'
