Re: [Factor-talk] CHAR: question

2016-02-22 Thread John Benediktsson
CHAR: space Is also CHAR: \s > On Feb 22, 2016, at 6:40 AM, Alexander Ilin wrote: > > Hello! > > Thanks, John! > > You did not answer where the list of names comes from within Factor, but at > least I can google for the names I need, knowing they are in the Unicode > standard. Here's

Re: [Factor-talk] CHAR: question

2016-02-22 Thread Alexander Ilin
22.02.2016, 17:40, "Jon Harper" : > You can see from the definition that is uses the name>char-hook, which > then uses the name>char word to lookup names, which in the end reads > and caches the basis/unicode/data/UnicodeData.txt file. Great! That explains why searching for "exclamation-mark" fa

Re: [Factor-talk] CHAR: question

2016-02-22 Thread Alexander Ilin
Hello! Thanks, John! You did not answer where the list of names comes from within Factor, but at least I can google for the names I need, knowing they are in the Unicode standard. Here's the resulting piece of code I've been working on: : filter-text ( text-length -- string ) read

Re: [Factor-talk] CHAR: question

2016-02-22 Thread Jon Harper
You can see from the definition that is uses the name>char-hook, which then uses the name>char word to lookup names, which in the end reads and caches the basis/unicode/data/UnicodeData.txt file. Jon On Mon, Feb 22, 2016 at 3:22 PM, John Benediktsson wrote: > CHAR: works with all named Unicode c

Re: [Factor-talk] CHAR: question

2016-02-22 Thread John Benediktsson
CHAR: works with all named Unicode code points. In the listener use tab completion to see, for example: CHAR: ex Where is press the tab key for tab completion. > On Feb 22, 2016, at 6:07 AM, Alexander Ilin wrote: > > Hello, Jon! > > Thank you for the reply! > > I've looked through th

Re: [Factor-talk] CHAR: question

2016-02-22 Thread Alexander Ilin
Hello, Jon! Thank you for the reply! I've looked through the documentation you suggested, and that's exactly what I need. I have a follow-up question regarding CHAR:. In the documentation there is a line in the Examples section: CHAR: exclamation-mark It works. However I can't seem