Re: Trying to locate files

2020-01-14 Thread Freeman Gilmore
On Wed, Jan 15, 2020 at 12:33 AM Aaron Hill 
wrote:

> On 2020-01-14 9:27 pm, Freeman Gilmore wrote:
> > On Wed, Jan 15, 2020 at 12:19 AM Aaron Hill 
> > wrote:
> >
> >> On 2020-01-14 8:53 pm, Freeman Gilmore wrote:
> >> > On Tue, Jan 14, 2020 at 11:04 PM Aaron Hill  >
> >> > wrote:
> >> >
> >> >> On 2020-01-14 7:47 pm, Freeman Gilmore wrote:
> >> >> > What is the name of the file that translate text to Unicode?
> >> >>
> >> >> I am uncertain about this ask.  Could you expand on it?
> >> >>
> >> > It is my understanding that LP uses Unicode.   i sharp symbol has a
> >> > Unicode.Some were there is a file were the text is converted to
> >> > Unicode.
> >>
> >> Ah, LilyPond handles UTF-8 parsing within the lexer.  See lexer.ll and
> >> in particular the function Lily_lexer::YYText_utf8.
> >>
> > Searched for lexer.ll. no mach?
>
> It is in the source code [1] for LilyPond, not the binary distribution.
>
> [1]:
>
> https://git.savannah.gnu.org/cgit/lilypond.git/tree/lily/lexer.ll?h=release/2.19.83-1=c9134465360dfb53419f749747d28c6d04d23839#n1171
>
> (The link assumes you are working from 2.19.83.)
>
Thank you, I would have though the conversion to Unicode would be at the
out put not the lexer; but what do I know.
ƒg

>
> -- Aaron Hill
>
>


Re: Trying to locate files

2020-01-14 Thread Aaron Hill

On 2020-01-14 9:27 pm, Freeman Gilmore wrote:

On Wed, Jan 15, 2020 at 12:19 AM Aaron Hill 
wrote:


On 2020-01-14 8:53 pm, Freeman Gilmore wrote:
> On Tue, Jan 14, 2020 at 11:04 PM Aaron Hill 
> wrote:
>
>> On 2020-01-14 7:47 pm, Freeman Gilmore wrote:
>> > What is the name of the file that translate text to Unicode?
>>
>> I am uncertain about this ask.  Could you expand on it?
>>
> It is my understanding that LP uses Unicode.   i sharp symbol has a
> Unicode.Some were there is a file were the text is converted to
> Unicode.

Ah, LilyPond handles UTF-8 parsing within the lexer.  See lexer.ll and
in particular the function Lily_lexer::YYText_utf8.


Searched for lexer.ll. no mach?


It is in the source code [1] for LilyPond, not the binary distribution.

[1]: 
https://git.savannah.gnu.org/cgit/lilypond.git/tree/lily/lexer.ll?h=release/2.19.83-1=c9134465360dfb53419f749747d28c6d04d23839#n1171


(The link assumes you are working from 2.19.83.)


-- Aaron Hill



Re: Trying to locate files

2020-01-14 Thread Aaron Hill

On 2020-01-14 8:53 pm, Freeman Gilmore wrote:

On Tue, Jan 14, 2020 at 11:04 PM Aaron Hill 
wrote:


On 2020-01-14 7:47 pm, Freeman Gilmore wrote:
> What is the name of the file that translate text to Unicode?

I am uncertain about this ask.  Could you expand on it?


It is my understanding that LP uses Unicode.   i sharp symbol has a
Unicode.Some were there is a file were the text is converted to
Unicode.


Ah, LilyPond handles UTF-8 parsing within the lexer.  See lexer.ll and 
in particular the function Lily_lexer::YYText_utf8.



-- Aaron Hill



Re: Trying to locate files

2020-01-14 Thread Aaron Hill

On 2020-01-14 7:47 pm, Freeman Gilmore wrote:
Is there a file like makam.ly for the standard accidentals? If so what 
is

its name?


You should review lily-library.scm (near the top) and 
define-note-names.scm, as those files contain the functional equivalent 
to makam.ly.



What is the name of the file that translate text to Unicode?


I am uncertain about this ask.  Could you expand on it?


-- Aaron Hill