-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c665042
commit 1a52cd8
Showing
22 changed files
with
218 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#lang at-exp s-exp "../../../private/mapping-lang.rkt" | ||
|
||
>>> keyword? ? | ||
>>> keyword->string 化 | ||
>>> string->keyword 化 | ||
>>> keyword->string 化句 | ||
>>> string->keyword 句化 | ||
>>> keyword<? <? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
#lang at-exp s-exp "../../../private/mapping-lang.rkt" | ||
|
||
|
||
>>> string? ? ; keyword ; symbol 勺 | ||
>>> string "创建一个内容可变的字符串数据结构" ;; TODO: create all the procedures started with 易 to 坚 | ||
>>> make-string @elem{构造内容是若干个相同元素的@racket[]} ;复 | ||
>>> string->immutable-string 化 @elem{把@racket[]转变为@racket[]} | ||
>>> string-length "的长度" ; 巨 | ||
>>> string-ref "返回的第N个元素(从0算起)" ; 弔 | ||
>>> string-set! @elem{直接修改原始数据第N处字(从0算起)为某字} ; 敂! 拘 | ||
>>> substring @elem{返回第N到M处内容组成的@racket[]} ;邭 | ||
>>> string-copy 化 @elem{把@elem{}转化为@elem{}} | ||
>>> string-copy! /以 @elem{从第N处字(从0算起)开始做覆盖(以另一个的@racket[]结果为内容)} ;/以 | ||
>>> string-fill! 𰅡 "把的内容全部变成某一个重复的字" ; 㙏! 复! 𰅡 𢪎 化! 𰅡 𢪎 | ||
>>> string-append @elem{把很多连成一个@racket[]} ; 贯 | ||
>>> string-append-immutable @elem{把很多连成一个@racket[]} ; | ||
>>> string? 句? | ||
>>> string 句 ;; TODO: create all the procedures started with 易 to 坚 | ||
>>> make-string ;复句 | ||
>>> string->immutable-string 化 | ||
>>> string-length ; 句巨 | ||
>>> string-ref ; 句弔 | ||
>>> string-set! ;句 敂! 拘 | ||
>>> substring 句 ;邭 句 | ||
>>> string-copy 化 | ||
>>> string-copy! /以 ;句/以 | ||
>>> string-fill! 𰅡 ; 句㙏! 句复! 𰅡 𢪎 化! 𰅡 𢪎 | ||
>>> string-append ; 贯句 | ||
>>> string-append-immutable (山 ) ; | ||
|
||
>>> string->list @elem{化字:把@racket[]转化为@racket[](由@racket[字]组成)} ;化 | ||
>>> list->string @elem{字化:把@racket[](由@racket[字]组成)转化为@racket[]} ; 化 | ||
>>> build-string @elem{构造内容是一系列序数转化成@racket{字}所组成的@racket[]} ; 序 | ||
>>> string=? =? | ||
>>> string<? <? | ||
>>> string<=? <=? | ||
>>> string>? >? | ||
>>> string>=? >=? | ||
>>> string->list ;句化 | ||
>>> list->string ; 化句 | ||
>>> build-string ; 序句 | ||
>>> string=? 句=? | ||
>>> string<? 句<? | ||
>>> string<=? 句<=? | ||
>>> string>? 句>? | ||
>>> string>=? 句>=? | ||
|
||
>>> string-ci=? ci=? | ||
>>> string-ci<? ci<? | ||
>>> string-ci<=? ci<=? | ||
>>> string-ci>? ci>? | ||
>>> string-ci>=? ci>=? | ||
>>> string-ci=? 句ci=? | ||
>>> string-ci<? 句ci<? | ||
>>> string-ci<=? 句ci<=? | ||
>>> string-ci>? 句ci>? | ||
>>> string-ci>=? 句ci>=? | ||
|
||
>>> string-upcase @elem{将大写化} ; | ||
>>> string-downcase @elem{将小写化} ; | ||
>>> string-titlecase @elem{将中单词首字母大写化其余小写化} ; | ||
>>> string-foldcase * @elem{将中单词做CaseFolding处理} ; | ||
>>> string-upcase ; | ||
>>> string-downcase ; | ||
>>> string-titlecase ; | ||
>>> string-foldcase * ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
#lang at-exp s-exp "../../private/mapping-lang.rkt" | ||
|
||
|
||
>>> string-append* @elem{类@racket[],不过最后一个是@racket[]} ; | ||
>>> string-append* ; | ||
|
||
>>> string-join "把一个内的各个元素聚集在一块组成" ; | ||
>>> string-split "把分割并组成" ; | ||
>>> string-join ; | ||
>>> string-split ; | ||
|
||
>>> string-normalize-spaces "内容中的空格回车等字符都简化成一个空格" ; 㲁 椌 𤗇 𤗇 瞾 箜 𭄲 | ||
>>> string-replace "将数据内容的一部分更换成另一部分" ;敂 | ||
>>> string-normalize-spaces ; 㲁 椌 𤗇 𤗇 瞾 箜 𭄲 句 | ||
>>> string-replace ;敂 | ||
|
||
>>> string-trim @elem{修剪} ; | ||
>>> non-empty-string? ? @elem{非空?}; 䆜 | ||
>>> string-trim ; | ||
>>> non-empty-string? ? | ||
|
||
>>> string-contains? ? @elem{某是否是某中间的一部分} ;; create a procedure named: 诗含字 邭 | ||
>>> string-prefix? ? @elem{某是否是某起头的一部分} ;; 诗起于字 | ||
>>> string-suffix? ? @elem{某是否是某末尾的一部分} ;; 诗终于字 | ||
>>> string-contains? ? ;; create a procedure named: 诗含字 邭 | ||
>>> string-prefix? ? ;; 诗起于字 | ||
>>> string-suffix? ? ;; 诗终于字 | ||
;; 玽 欨 劬 眗 竘 𭇕 𮍘 𭴔 𫲢 䪷 𡱈 坸 佝 𠛎 𤖵 𠣪 軥 胊 㽛 玽 岣 驹 夠 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
|
||
(名 ( N [D 2]) | ||
(化米 (宩化 N D))) | ||
(句化米 (宩化句 N D))) | ||
|
||
(名 (〇? N) | ||
(𥥪? N)) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.