La documentació d'ús d'aquest mòdul es pot crear a Mòdul:roa-oca-verb/donar/ús

-- Model de conjugació antiga donar
local p = {}

function p.formes(infinitiu)
	local radical = string.sub(infinitiu, 1, -3) -- don
	local radical_alt = string.sub(infinitiu, 1, -4) -- do
	local forma = {}
	
	forma.ger = {}
	forma.ger[1] = {}
	forma.ger[1][1] = radical .. "ant"
	
	forma.part = {}
	forma.part[1] = {}
	forma.part[1]["m-s"] = radical .. "at"
	
	forma["pres-ind"] = {}
	forma["pres-ind"][1] = {}
	forma["pres-ind"][2] = {}
	forma["pres-ind"][1][1] = radical
	forma["pres-ind"][2][1] = radical_alt
	forma["pres-ind"][1][2] = radical .. "es"
	forma["pres-ind"][1][3] = radical .. "a"
	forma["pres-ind"][1][4] = radical .. "am"
	forma["pres-ind"][1][5] = radical .. "ats"
	forma["pres-ind"][2][5] = radical .. "au"
	forma["pres-ind"][1][6] = radical .. "en"
	
	forma["imperf-ind"] = {}
	forma["imperf-ind"][1] = {}
	forma["imperf-ind"][2] = {}
	forma["imperf-ind"][1][1] = radical .. "ava"
	forma["imperf-ind"][1][2] = radical .. "aves"
	forma["imperf-ind"][1][3] = radical .. "ava"
	forma["imperf-ind"][1][4] = radical .. "àvem"
	forma["imperf-ind"][1][5] = radical .. "àvets"
	forma["imperf-ind"][2][5] = radical .. "àveu"
	forma["imperf-ind"][1][6] = radical .. "aven"
	
	forma.pass = {}
	forma.pass[1] = {}
	forma.pass[2] = {}
	forma.pass[3] = {}
	forma.pass[1][1] = radical .. "í"
	forma.pass[2][1] = radical .. "é"
	forma.pass[1][2] = radical .. "ist"
	forma.pass[2][2] = radical .. "est"
	forma.pass[3][2] = radical .. "ares"
	forma.pass[1][3] = radical .. "à"
	forma.pass[1][4] = radical .. "àrem"
	forma.pass[1][5] = radical .. "às"
	forma.pass[2][5] = radical .. "àrets"
	forma.pass[3][5] = radical .. "àreu"
	forma.pass[1][6] = radical .. "aren"
	
	forma.fut = {}
	forma.fut[1] = {}
	forma.fut[2] = {}
	forma.fut[1][1] = radical .. "aré"
	forma.fut[1][2] = radical .. "aràs"
	forma.fut[1][3] = radical .. "arà"
	forma.fut[1][4] = radical .. "arem"
	forma.fut[1][5] = radical .. "arets"
	forma.fut[2][5] = radical .. "areu"
	forma.fut[1][6] = radical .. "aran"
	
	forma.cond = {}
	forma.cond[1] = {}
	forma.cond[2] = {}
	forma.cond[1][1] = radical .. "aria"
	forma.cond[1][2] = radical .. "aries"
	forma.cond[1][3] = radical .. "aria"
	forma.cond[1][4] = radical .. "aríem"
	forma.cond[1][5] = radical .. "aríets"
	forma.cond[2][5] = radical .. "aríeu"
	forma.cond[1][6] = radical .. "arien"
	
	forma["pres-subj"] = {}
	forma["pres-subj"][1] = {}
	forma["pres-subj"][2] = {}
	forma["pres-subj"][3] = {}
	forma["pres-subj"][1][1] = radical
	forma["pres-subj"][2][1] = radical_alt
	forma["pres-subj"][3][1] = radical .. "e"
	forma["pres-subj"][1][2] = radical .. "s"
	forma["pres-subj"][1][3] = radical
	forma["pres-subj"][2][3] = radical_alt
	forma["pres-subj"][3][3] = radical .. "e"
	forma["pres-subj"][1][4] = radical .. "em"
	forma["pres-subj"][1][5] = radical .. "ets"
	forma["pres-subj"][2][5] = radical .. "eu"
	forma["pres-subj"][1][6] = radical .. "en"
	
	forma["imperf-subj"] = {}
	forma["imperf-subj"][1] = {}
	forma["imperf-subj"][2] = {}
	forma["imperf-subj"][3] = {}
	forma["imperf-subj"][4] = {}
	forma["imperf-subj"][5] = {}
	forma["imperf-subj"][6] = {}
	forma["imperf-subj"][1][1] = radical .. "às"
	forma["imperf-subj"][2][1] = radical .. "és"
	forma["imperf-subj"][3][1] = radical .. "ara"
	forma["imperf-subj"][1][2] = radical .. "asses"
	forma["imperf-subj"][2][2] = radical .. "esses"
	forma["imperf-subj"][3][2] = radical .. "ares"
	forma["imperf-subj"][1][3] = radical .. "às"
	forma["imperf-subj"][2][3] = radical .. "és"
	forma["imperf-subj"][3][3] = radical .. "ara"
	forma["imperf-subj"][1][4] = radical .. "àssem"
	forma["imperf-subj"][2][4] = radical .. "éssem"
	forma["imperf-subj"][3][4] = radical .. "àrem"
	forma["imperf-subj"][1][5] = radical .. "àssets"
	forma["imperf-subj"][2][5] = radical .. "àsseu"
	forma["imperf-subj"][3][5] = radical .. "éssets"
	forma["imperf-subj"][4][5] = radical .. "ésseu"
	forma["imperf-subj"][5][5] = radical .. "àrets"
	forma["imperf-subj"][6][5] = radical .. "àreu"
	forma["imperf-subj"][1][6] = radical .. "assen"
	forma["imperf-subj"][2][6] = radical .. "aren"
	
	forma.imp = {}
	forma.imp[1] = {}
	forma.imp[2] = {}
	forma.imp[3] = {}
	forma.imp[4] = {}
	forma.imp[1][2] = forma["pres-ind"][1][3]
	forma.imp[1][3] = forma["pres-subj"][1][3]
	forma.imp[2][3] = forma["pres-subj"][2][3]
	forma.imp[3][3] = forma["pres-subj"][3][3]
	forma.imp[1][4] = forma["pres-subj"][1][4]
	forma.imp[1][5] = forma["pres-ind"][1][5]
	forma.imp[2][5] = forma["pres-ind"][2][5]
	forma.imp[3][5] = forma["pres-subj"][1][5]
	forma.imp[4][5] = forma["pres-subj"][2][5]
	forma.imp[1][6] = forma["pres-subj"][1][6]
	
	return forma
end

return p