[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gforth] equivalent of ctype?
From: |
Joel Rees |
Subject: |
Re: [gforth] equivalent of ctype? |
Date: |
Thu, 13 Jul 2017 18:25:47 +0900 |
On Thu, Jul 13, 2017 at 9:55 AM, Joel Rees <address@hidden> wrote:
> Does gforth provide a native equivalent of the ctype functions?
> Or is it usually considered best to actually call the C library functions
> for isalpha(), etc.?
>
> Or do most such uses resort directly to the regular expressions stuff?
Not finding one, I just put one together for 7-bit US ASCII and tested it
this afternoon. If there is any interest, I could put an open source license
on it and publish it.
--
Joel Rees
One of these days I'll get someone to pay me
to design a language that combines the best of Forth and C.
Then I'll be able to leap wide instruction sets with a single #ifdef,
run faster than a speeding infinite loop with a #define,
and stop all integer size bugs with my bare cast.
http://defining-computers.blogspot.com/2017/06/reinventing-computers.html
More of my delusions:
http://reiisi.blogspot.com/2017/05/do-not-pay-modern-danegeld-ransomware.html
http://reiisi.blogspot.jp/p/novels-i-am-writing.html