Chinese version of Win32Forth
  Home FAQ Contact Sign in
comp.lang.forth only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.forth Profile…
 Up
Chinese version of Win32Forth         


Author: Alex McDonald
Date: Oct 30, 2007 05:24

We (the Win32forth group) and Tom Zimmer don't know anything about the
modifications or the author, but if anyone is interested (and can read/
write Chinese), perhaps this link could be used to get a copy;

http://bbs.tiexue.net/post_2289725_1.html

Plenty of screenshots. How cool is that?

--
Regards
Alex McDonald
4 Comments
Re: Chinese version of Win32Forth         


Author: Julian Fondren
Date: Nov 2, 2007 20:46

Alex McDonald wrote:
> We (the Win32forth group) and Tom Zimmer don't know anything about the
> modifications or the author, but if anyone is interested (and can read/
> write Chinese), perhaps this link could be used to get a copy;

You can also get it from http://www.figtaiwan.org/

An example of a Chinese-oriented modification:
http://groups.google.com.tw/group/FigTaiWan/browse_thread/thread/67a3113e824fcef...
> Plenty of screenshots. How cool is that?

Pretty cool :-) For those interested in Chinese, figtaiwan has a
section-by-section, side-by-side translation of dpANS, and also an
original e-book: The Zen of Forth. http//www.forthchina.com has
translations of popular Forth articles (e.g. Chuck Moore's 1x Forth)
into Chinese.

Coincidentally, I am now using a gforth program I've written to study
Chinese (now that 0.6.9-20070604 compiles on OpenBSD-zaurus). The
original program that did the job was so terribly easy that I've gone
on to write clever input methods:
Show full article (1.63Kb)
no comments
Re: Chinese version of Win32Forth         


Author: Anton Ertl
Date: Nov 3, 2007 11:36

Julian Fondren gmail.com> writes:
>Coincidentally, I am now using a gforth program I've written to study
>Chinese (now that 0.6.9-20070604 compiles on OpenBSD-zaurus). The
>original program that did the job was so terribly easy that I've gone
>on to write clever input methods:
>
>in) hz ba1 cheng2
>i/o) ba1 ( chinese here, selected by arrow-key and RET )
>i/o) cheng2 ( ditto )
>out) ce: BACH ba1cheng2 \ BACH is chinese; this line is yellow
>in) en eighty percent
>out) ce: BACH ba1cheng2 eighty percent \ ditto, and this is pushed
>onto a list
>
>to more quickly build wordlists. All of this directly using big5
>and gb2312 (EUC-CN), and assuming a friendly terminal.

Have you used the xchars stuff for that? Any experiences to report?
Show full article (1.04Kb)
no comments
Re: Chinese version of Win32Forth         


Author: Julian Fondren
Date: Nov 3, 2007 20:27

Anton Ertl wrote:
> Julian Fondren gmail.com> writes:
>>to more quickly build wordlists. All of this directly using big5
>>and gb2312 (EUC-CN), and assuming a friendly terminal.
>
> Have you used the xchars stuff for that? Any experiences to report?

No. I had the idea that it was Unicode- and UTF8-centric, and left
it alone. On second look, it could apply to Chinese encodings:

: xc-size ( xc -- u ) $8000 and if 2 else 1 then ;
: x-width ( addr u -- n ) nip ;
: -trailing-garbage ( addr u1 -- addr u2 )
dup 0= ?exit 2dup + 1- c@ $80 and 0= ?exit
2dup begin +x/string dup 2 < until
( a u a' 1|0 ) nip - ;

Simplifying the actual (not equivalent, and not the same for both
bytes of a character) range of BIG5 and EUC-CN into a high-bit test.

What I have right now:

http://paste.lisp.org/display/50235
Show full article (1.20Kb)
no comments
Re: Chinese version of Win32Forth         


Author: Anton Ertl
Date: Nov 4, 2007 09:24

Julian Fondren gmail.com> writes:
>Anton Ertl wrote:
>> Julian Fondren gmail.com> writes:
>>>to more quickly build wordlists. All of this directly using big5
>>>and gb2312 (EUC-CN), and assuming a friendly terminal.
>>
>> Have you used the xchars stuff for that? Any experiences to report?
>
>No. I had the idea that it was Unicode- and UTF8-centric, and left
>it alone.

We don't have any support for these encodings yet (only for UTF-8 and
8-bit encodings), but AFAIK xchars should be useful for these
encodings, too; possibly modulo the ability to scan backwards through
strings.
Show full article (1.62Kb)
no comments