-- Testing a way to dynamically generate IPA pulmonic consonant tables.
p =
function tableToString (t) local s = " s = table.concat(s) return send
function p.mktable(frame) local pArgs = frame:getParent.args local tArgs = frame.args ipaTable = --Each entry corresponds to a coordinate in a 'one character per cell' table. Place of articulation first (0 to 10) then manner (0 to 7) and then voicing (0 is unvoiced, 1 is voiced) arg = tArgs[1] return "" .. tableToString(ipaTable[arg]) .. ""end
return p