Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile attested examples into tests #42

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/across-so-wide-a-sea.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/dear-hugh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/for-michael.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/land-of-mordor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/land-of-shadows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/vt29.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/westmarch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
232 changes: 232 additions & 0 deletions test/samples.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
module.exports = [

{
name: "Namarië",
image: "namarie.jpg",
language: "quenya",
mode: "classical",
text: `
Ai! laurië lantar lassi súrinen,
Yéni únótimë ve rámar aldaron!
Yéni ve lintë yuldar avánier
mi oromardi lisse-miruvóreva
Andúnë pella, Vardo tellumar
nu luini yassen tintilar i eleni
ómaryo airetári-lírinen.

Sí man i yulma nin enquantuva?

An sí Tintallë Varda Oiolossëo
ve fanyar máryat Elentári ortanë
ar ilyë tier undulávë lumbulë;
ar sindanóriello caita mornië
i falmalinnar imbë met, ar hísië
untúpa Calaciryo míri oialë.
Si vanwa ná, Rómello vanwa, Valimar!

Namárië! Nai hiruvalyë Valimar.
Nai elyë hiruva. Namárië!"
`,
},

{
name: "The Doors of Durin",
image: "durin.jpg",
language: "sindarin",
mode: "beleriand",
text: `
Ennyn Durin Aran Moria: pedo mellon a minno.
`,
},

{
name: "The Ring Poem",
text: `
Ash nazg durbatulûk, ash nazg gimbatul,
ash nazg thrakatulûk agh burzum-ishi krimpatul.
`,
notation: `
harmacalma:a numen;esse-nuquerna:a;ungwe
ando;ore:o;umbar;tinco:a;lambe:o;quesse:ó;comma

harmacalma:a numen;esse-nuquerna:a;ungwe
ando;ore:o;umbar;tinco:a;lambe:o;quesse:ó;comma;br

harmacalma:a numen;esse-nuquerna:a;ungwe
thule;romen;quesse:a;tinco:a;lambe:o;quesse:ó
unqueungwe:a
umbar;ore:o;esse;malta:o;harmacalma:i;short-carrier:i
quesse;romen;parma:i,tilde-above;tinco:a;lambe:o;full-stop
`,
},

{
name: "Of Westmarch",
image: "westmarch.png",
text: `
Of westmarch by John Ronald Reuel Tolkien. Herein is set forth
the history of the war of the ring and the return of the king as seen by the hobbits.
`,
notation: `
ampaamba vala;silme:e;tinco;malta;ore:a;calma amba;long-carrier:y
anga;hyarmen;numen:o romen;numen:o;lambe:a;ando
romen;short-carrier:e;short-carrier:u;lambe:e
tinco;lambe:o;quesse;short-carrier:i;numen:e period
hyarmen;romen:e:i-below;numen:i esse-nuquerna:i silme;tinco:e
formen;ore:o;thule

antoando hyarmen;silme:i;tinco;romen:o;long-carrier:y ampaamba:bar-below
vala;ore:o ampaamba:bar-below romen;nwalme:i ando:bar-above:i-below
antoando romen;tinco:i;ore:u;numen ampaamba:bar-below quesse;nwalme:i
esse-nuquerna:a silme;short-carrier:e;short-carrier:e;numen
amba;long-carrier:y antoando
hyarmen;amba:o:bar-far-below;tinco:i:sa-rince-downward;period;tilde
`,
},

{
name: "The King’s Letter",
image: "vt29.jpg",
language: "sindarin",
mode: "beleriand",
text: `
Elessar Telcontar: Aragorn Arathornion Edhelharn, aran Gondor
ar Hîr i Mbair Annui, anglennatha i Varanduiniant erin dolothen
Ethuil, egor ben genediad Drannail erin Gwirith edwen.
`,
notation: `
lambe:e;silme-nuquerna:e,tilde-below;ore:a
tinco;lambe:e;quesse;tinco:o,tilde-above;ore:a;colon

romen:a;ungwe:a;romen:o;numen
romen:a;thule:a;romen:o;numen;short-carrier:i;numen:o
anto:e;alda:e;romen:a;numen;comma

romen:a;numen:a ungwe;ando:o,tilde-above;ore:o ore:a
hyarmen;long-carrier:i;ore short-carrier:i
umbar:tilde-above;anna:a;ore numen:a,tilde-above;anna:u;comma

ungwe:a,tilde-above;lambe;numen:e,tilde-above;thule:a;short-carrier:a
short-carrier:i
ampa;romen:a;ando:a,tilde-above;anna:u;numen;short-carrier:i;tinco:a,tilde-above
romen:e;numen:i ando;lambe:o;thule:o;numen:e
thule:e;anna:u;lambe;comma

ungwe:e;ore:o umbar;numen:e
ungwe;numen:e;ando:e;short-carrier:i;ando:a
ando;romen;numen:a,tilde-above;anna:a;lambe romen:e;numen:i
ungwe:w;romen:i;thule:i ando:e;vala;numen:e;full-stop
`,
},

{
name: "The King’s Letter",
image: "vt29.jpg",
language: "english",
mode: "beleriand",
text: `
Aragorn Strider The Elfstone, King of Gondor and Lord of the
Westlands, will approach the Bridge of Baranduin on the eighth day
of Spring, or in the Shire-reckoning the second day of April. And
he desires to greet there all his friends. In especial he desires
to see Maser Samwise, Mayor of the Shire, and Rose his wife; and
Elanor, Rose, Goldilocks, and Daisy his daughters; and Frodo,
Merry, Pippin and Hamfast his sons.

To Samwise and Rose the King's greeting from Minas Tirith, the
thirty-first day of the Stirring, being the twenty-third of
February in their reckoning.
`,
notation: `
`,
},

{
language: 'sindarin',
font: 'annatar',
text: `
Aragorn Arathorn:
Telcontar, Elessar
`,
notation: `
romen:a;ungwe:a;romen:o;numen
romen:a;thule:a;romen:o;numen;colon

tinco;lambe:e;quesse;tinco:o,tilde-above;ore:a;comma
lambe:e;silme-nuquerna:e,tilde-below;ore:a
`,
},


{
image: "land-of-shadows.jpg",
text: `
in the lad oV mordor
wher the shadowZ lyy
`,
notation: `
numen:i antoando:i-below lambe;ando:a ampaamba:u malta;ore:u;ando;ore:u
hwesta-sindarinwa;ore:e antoando:i-below harma;ando:a;vala:u;s-florish lambe;anna:y-sindar
`,
},

{
image: "land-of-mordor.jpg",
reverseCurls: true,
text: `
in the land of mordor
wher
the ShadowZ lay
`,
notation: `
numen:i antoando lambe;ando:bar-above:a ampaamba:u malta;ore:u;ando;ore:u
hwesta-sindarinwa;ore:e
antoando:i-below harmacalma;ando:a;vala:u:s-florish lambe;anna:a
`,
},

{
image: "dear-hugh.png",
text: `
dea hugh . ðis iz just to wi[sh] you a veRRy
happy [ch]RistmaS in tWo stylES [of] elvi[sh]
skRipt. i am sendi[ng] somE ekSplanationZ,
[and] hopE you wont find ðem oot kompikated ¶
`,
notation: `
ando;short-carrier:i;short-carrier:a hyarmen;anca:u period anto;silme:e esse:e anga;silme:u;tinco tinco;short-carrier:o vala;harma:e anna;vala:o short-carrier:a ampa;romen:e:bar-below;short-carrier:y
hyarmen;parma:a:bar-below;short-carrier:y hwestaquesse;romen;silme:e;tinco;malta:s-extended:a numen:e tinco:w;short-carrier:o silme;tinco;lambe:y:i-below:s-high ampaamba lambe:i;ampa;harma:e
silme;quesse;romen;parma:e;tinco;period short-carrier:e malta:a silme;ando:i:bar-above;nwalme:e silme;malta:o:i-below quesse:s-inverse:e;parma;lambe;numen:a;tinco:a;short-carrier:e;numen:o:s-florish;comma
ando:bar-above hyarmen;parma:o:i-below anna;vala:o vala;tinco:o:bar-above formen;ando:e:bar-above anto;malta:e tinco:oo quesse;parma:o:bar-above;lambe;quesse:e;tinco:a;ando:i period;period
`,
},

{
image: "for-michael.png",
href: "https://groups.yahoo.com/neo/groups/elfscript/conversations/topics/2424",
text: `
for mi[ch]ael son [of] middlE ear[th]
`,
notation: `
formen;ore:o malta;hwestaquesse:i;yanta:a;lambe ampaamba malta;ando:i:tilde-below;lambe:i-below osse:e;ore;thule
`,
},

{
image: "across-so-wide-a-sea.jpg",
reverseCurls: true,
text: `
with the very best wishes of
J.R.R.Tolkien.
I wish that you need not go back
“across so wide a sea”.
`,
notation: `
vala;anto:i antoando ampa;romen:e;short-carrier:y amba;silme:e;tinco vala;harma:i;s-florish:i ampaamba

long-carrier:i vala;harma:i anto;tinco:a long-carrier:y;short-carrier:u:o numen;short-carrier:e;ando:e numen;tinco:u ungwe;short-carrier:u amba;quesse:a
high-quote quesse:a;romen;silme:u:tilde-below silme;short-carrier:u vala;ando:i:i-below short-carrier:a silme;short-carrier:e;short-carrier:a high-quote;period
`,
},

];