indeclinable adverb (analyzed as yathā + parisaṁ)
Analysis. yathā (as, in the manner that) + parisaṁ (assembly, company, or following the locative sense 'in the assembly'). The compound means 'as the assembly is' or 'in accordance with the assembly's standing or rank.'
Etymology. yathā is from the demonstrative root *ya- (English 'that', Greek ho); parisā (assembly, retinue) derives from pari- (around) + √sad (sit), hence 'those sitting around', cognate with English 'side' (from sitting). The adverbial locative form -aṁ (-e) makes it 'in the assembly'.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version