Syntax :
for example, consider the following lines :
vowels "a" => "അ",
[["a"], "aa", "A"] => ["ആ", "ാ"],
"i" => ["ഇ", "ി"]
When varnam compiles the map file, it looks for a ruby function called "vowels" and passes "a" => "അ",
[["a"], "aa", "A"] => ["ആ", "ാ"], "i" => ["ഇ", "ി"] as arguments. The arguments are in "hashes" and is similar to python dictionaries. The arguments tell varnam that "a" should be mapped to അ and the letters in [["a"], "aa", "A"] to ആ or "ാ" depending on the context. Basically varnam stores these mappings in an sqlite database.