Richmond's Winter Project

For discussion of xTalk topics related to education.
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Screenshot 2024-09-29 at 15.15.09.png
Screenshot 2024-09-29 at 15.15.09.png (295.42 KiB) Viewed 966 times
-
I propose to use the 'number' keys on a computer keyboard for ALL of these symbol sets:
-
numKeys.png
numKeys.png (348.89 KiB) Viewed 966 times
-
Quite apart from anything else this is a wonderful way of how one can use MODIFIER keys in OXT.
-
Screenshot 2024-09-29 at 15.34.52.jpg
Screenshot 2024-09-29 at 15.34.52.jpg (261.59 KiB) Viewed 964 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Screenshot 2024-09-29 at 15.56.49.jpg
Screenshot 2024-09-29 at 15.56.49.jpg (224.77 KiB) Viewed 960 times
-
1. The Punctuation and numeric keys send glyphs directly to the OUTPUT field as no further calculations need to be performed.

2. I have widened the stack to accommodate instructions and/or modifier buttons on the right-hand side.

The Punctuation buttons have been GROUPED so that they can be hidden when not needed:
-
Screenshot 2024-09-29 at 15.59.08.jpg
Screenshot 2024-09-29 at 15.59.08.jpg (125.89 KiB) Viewed 959 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Having hidden the PUNCTUATION group, I am now assembling the DIGITS group (circled in orange).

I have also set up 3 buttons (circled in red) to make each of the 3 top-row groups visible.
-
Upper_Row_1.jpg
Upper_Row_1.jpg (703.38 KiB) Viewed 947 times
-
You will notice (see the "fOUTPUT" field) that I have set up each PUNCTUATION symbol to it is succeeded by a SPACE.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Screenshot 2024-09-30 at 8.30.55.png
Screenshot 2024-09-30 at 8.30.55.png (656.28 KiB) Viewed 944 times
-
I have included a ZERO in the numbers even though Ge'ez Amharic does NOT have a symbol for that; let's hope that isn't going to upset any purists. 8-)
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Further useful references:

https://www.unicode.org/charts/PDF/U1380.pdf

https://www.unicode.org/charts/PDF/U2D80.pdf

https://www.unicode.org/charts/PDF/UAB00.pdf

https://www.unicode.org/charts/PDF/U1E7E0.pdf

Ultimately code should be implemented in Sheba/Makeda so that all these glyphs can show up.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Screenshot 2024-09-30 at 8.52.40.jpg
Screenshot 2024-09-30 at 8.52.40.jpg (237.85 KiB) Viewed 940 times
-
"Things" will now slow down a bit as the working week starts: so nobody should expect much before Wednesday.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

I am very glad to find that the AbyssiniaSIL font DOES have ALL the Unicode glyphs for Ethiopic so I will not have to enter additional characters.
-
SShot 2024-09-30 at 15.24.06.png
SShot 2024-09-30 at 15.24.06.png (17.91 KiB) Viewed 934 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

I am printing out ALL the Unicode charts for Ethiopic at work today as I am an old-fashioned type of chap who likes to use a pencil, a large exercise book, and so on on a side-desk beside my computer table: and as we can see from a peep into a cardScript in Devawriter Pro:
-
SShot 2024-10-01 at 10.19.13.png
SShot 2024-10-01 at 10.19.13.png (69.77 KiB) Viewed 908 times
-
The odd reference document re Unicode addresses might serve us well. 8-)
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

On can enter Unicode addresses in OXT either in Hexadecimal or in Decimal formats:
-
SShot 2024-10-01 at 11.43.45.png
SShot 2024-10-01 at 11.43.45.png (136.97 KiB) Viewed 902 times
-

Code: Select all

on mouseUp
   put empty into fld "ff"
   wait 30 ticks
   put numToCodePoint(0x1E7E2) into fld "ff"
end mouseUp
A HEX number is always preceded by "0x" so the engine recogcises it as a Hexadecimal number.

Code: Select all

on mouseUp
   put empty into fld "ff"
   wait 30 ticks
   put numToCodePoint(124898) into fld "ff"
end mouseUp
Attachments
Unicode Demo.oxtstack.zip
(1.09 KiB) Downloaded 14 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

It has been a busy Wednesday so far, but I have managed to implement the Ethiopic Numbers:
-
Screenshot 2024-10-02 at 16.29.22.jpg
Screenshot 2024-10-02 at 16.29.22.jpg (245.62 KiB) Viewed 844 times
-
And the 3 buttons on the right-hand side can be used to shuttle between the 3 groups.

Now we will need 2 buttons to shuttle between Base Consonantals and Vowels:
-
Screenshot 2024-10-02 at 16.52.39.png
Screenshot 2024-10-02 at 16.52.39.png (185.29 KiB) Viewed 842 times
-
Screenshot 2024-10-02 at 16.52.57.png
Screenshot 2024-10-02 at 16.52.57.png (183.34 KiB) Viewed 842 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Here's the group "CONSONANTS" (I have a white border showing ONLY for illustration purposes:
-
Screenshot 2024-10-02 at 16.57.29.png
Screenshot 2024-10-02 at 16.57.29.png (701.45 KiB) Viewed 841 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Aha: so we now have VOWEL keys in place, and 2 additional fields (everything in the turquoise areas of the stack will not be visible to end users) for carry across the components for building our conjunct consonant + vowels combinations:
-
Screenshot 2024-10-02 at 19.39.46.jpg
Screenshot 2024-10-02 at 19.39.46.jpg (267.29 KiB) Viewed 831 times
-
This section of the VOWELS button assembles the base consonants in the fBUILDER field and packs them into the fBUILT field to the right:
-
consonantCompile.png
consonantCompile.png (316.62 KiB) Viewed 828 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Now the VOWEL buttons are ready as they put the necessary symbol into the VVV field:
-
vowelBox.jpg
vowelBox.jpg (273.12 KiB) Viewed 819 times
-
The stack is now ready for an extremely long SWITCH statement contained in the Card Script to do the 'knitting' to reference all the conjunct consonants stored in the Abyssinia font.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Here's a quick peep into the Book of Enoch, a book only found in the Ethiopian Bible:
-
Enoch.jpg
Enoch.jpg (267.39 KiB) Viewed 818 times
-
Needless to say, I cheat and read all 3 books of Enoch (as well as Jubilees) in English translation here:
-
Charlesworth.jpg
Charlesworth.jpg (37.58 KiB) Viewed 818 times
-
https://archive.org/details/the-old-tes ... worth-1983

https://archive.org/details/the-old-tes ... t-and-lege
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

The Facebook Home for Sheba:Makeda is here:

https://www.facebook.com/profile.php?id=61566453370468
-
Screenshot 2024-10-02 at 21.12.54.png
Screenshot 2024-10-02 at 21.12.54.png (989.38 KiB) Viewed 813 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

The Unicode consortium have, in their infinite wisdom (which serves only to confuse me), decided to use a different rule for vowel transcrition to the standard used by everyone else.

So I have run up a little table to make things a bit easier:
-
vTranscribe.jpg
vTranscribe.jpg (39.9 KiB) Viewed 26 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

The first thing is that we have to modify the Base Consonantal buttons so that 'bare' syllabics can be entered directly into the "fOUTPUT" field.

By a 'bare' syllabic I mean a consonant form with its inherent 'a' form.

We can use the SHIFT key on our keyboard to effect this:
-
shiftKey.png
shiftKey.png (105.73 KiB) Viewed 25 times
-
If the SHIFT key is depressed when a consonantal is entered its 'bare form is entered directly into the OUTPUT field.

If the SHIFT key is NOT depressed the consonantal and " + " is added to the BUILDER field.

Now let's use the ALT/OPT key to decide if we want to form a consonantal cluster or not:
-
altKey.png
altKey.png (115.71 KiB) Viewed 24 times
-
If the ALT/OPT key is depressed when a consonantal is entered the consonantal buttons remain visible to add another consonantal to the BUILDER field to help construct a consonantal cluster.

If the ALT/OPT key is NOT depressed when a consonantal is entered the consonantal buttons become invisible and the vowel buttons become visible.

That new 'mouseUp' must be propagated across ALL the base consonantal keys . . .
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Now we need to build up a SWITCH statement in the cardScript so that when a VOWEL key is pressed the stack can "Do the knitting" and work out which of the very many Ge'ez/Ethiopic glyphs to place after whatever else may already be in the OUTPUT field.
-
Now.jpg
Now.jpg (331.81 KiB) Viewed 20 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 3692
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Richmond's Winter Project

Post by richmond62 »

Here's the start of the SWITCH statement:
-
Screenshot 2024-10-05 at 18.36.12.png
Screenshot 2024-10-05 at 18.36.12.png (148.87 KiB) Viewed 17 times
-

Code: Select all

command KNITTING
   if fld "VVV" is not empty then
      put fld "VVV" into VVVX
      put VVVX after fld "fBUILT"
   end if
   switch the text of fld "fBUILT"
      case (numToCodePoint(4608) & numToCodePoint(604)) 
         put numToCodePoint(4608) after fld "fOUTPUT"
         break
      case (numToCodePoint(4608) & "u") 
         put numToCodePoint(4609) after fld "fOUTPUT"
         break
      case (numToCodePoint(4608) & "i") 
         put numToCodePoint(4610) after fld "fOUTPUT"
         break
      case (numToCodePoint(4608) & "a") 
         put numToCodePoint(4611) after fld "fOUTPUT"
         break
      case (numToCodePoint(4608) & "e") 
         put numToCodePoint(4612) after fld "fOUTPUT"
         break
      case (numToCodePoint(4608) & numToCodePoint(601)) 
         put numToCodePoint(4613) after fld "fOUTPUT"
         break
      case (numToCodePoint(4608) & "o") 
         put numToCodePoint(4614) after fld "fOUTPUT"
         break
   end switch
   put empty into fld "VVV"
   put empty into fld "fBUILT"
end KNITTING
-
440px-Amharic_Coca_Cola_bottle.jpg
440px-Amharic_Coca_Cola_bottle.jpg (23.42 KiB) Viewed 12 times
-
No: Coca-Cola is NOT part of my agenda. 8-)
https://richmondmathewson.owlstown.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests