ChineseScript

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

ChineseScript is yet another compression scheme using Chinese letters, but this time for GolfScript.

For every two characters in a GolfScript program, take the ASCII values (except newlines, they are 31). Then, subtract 30 from both, and use the concatenated value as a serial key in the Modern Chinese Character Frequency List to get a chinese character for use in the program. This method can also be used for single characters (mainly for when there is an odd number of characters in the program).

In addition, the following values have their own character allocated:

ChineseScript command Modern Chinese CFL Serial GolfScript command
9900 zip