Conjugate a Latin verb: Difference between revisions
Added 11l
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
Alextretyak (talk | contribs) (Added 11l) |
||
Line 26:
*[[wp:Latin_conjugation|Wikipedia: Latin conjugation]].
<br><br>
=={{header|11l}}==
{{trans|Python}}
<syntaxhighlight lang="11l">F conjugate(infinitive)
I !(infinitive[(len)-3..] == ‘are’)
print(‘'’infinitive"' non prima coniugatio verbi.\n")
R
V stem = infinitive[0 .< (len)-3]
I stem.empty
print("\'"infinitive"\' non satis diu conjugatus\n")
R
print(‘Praesens indicativi temporis of '’infinitive‘':’)
L(ending) (‘o’, ‘as’, ‘at’, ‘amus’, ‘atis’, ‘ant’)
print(‘ ’stem‘’ending)
print()
L(infinitive) (‘amare’, ‘dare’, ‘qwerty’, ‘are’)
conjugate(infinitive)</syntaxhighlight>
{{out}}
<pre>
Praesens indicativi temporis of 'amare':
amo
amas
amat
amamus
amatis
amant
Praesens indicativi temporis of 'dare':
do
das
dat
damus
datis
dant
'qwerty' non prima coniugatio verbi.
'are' non satis diu conjugatus
</pre>
=={{header|ALGOL 68}}==
|