8.6
7 附录
7.1 关键术语翻译表
英文 | 中文 |
procedure | 例程,简称程。 |
associative list | 联链 |
character | 字 |
symbol | 词 |
keyword | 要词 |
string | 诗 |
identifier | 名,标 |
syntax | 修辞文法,曲,语,文,言,雅,雅式 |
datum | 素,语素,料,材料的意思。 |
7.2 TODOS
- Implement below fake code(easily for others contributing to the translation):
#lang ming/mapping <racket/list> first 甲 second 乙 ... Find a way to automatically generate the scribble doc from the ming-mapping data.
Create an exception handler which would be able to return chinese messages.
make mappings able to autoload without explicitly requiring it in the ming/core ming/private/core and ming/scribble
write a online ming code running page.
remove println debuging code after adding test code.
build rules about how to name the procedures.
- implment <| like below:
;; before: (with-syntax ([(added ...) (map make+1 (syntax->list #'(numbers ...)))] [(added1 ...) (map make1+1 (syntax->list #'(numbers ...)))]) #'(begin (printf "got ~a\n" added) ...)) ;; after implmented: (with-syntax <<|(added ...) (map make+1 (syntax->list #'(numbers ...))) <|(added1 ...) (map make1+1 (syntax->list #'(numbers ...))) #'(begin (printf "got ~a\n" added) ...)) (cond [(positive? -5) (error "doesn't get here")] [(zero? -5) (error "doesn't get here, either")] [(positive? 5) 'here]) (cond <1|(positive? -5) (error "doesn't get here")|> <1|(zero? -5) (error "doesn't get here, either")|> <1|(positive? 5) 'here|> ) (cond <复|(positive? -5) (error "doesn't get here")|> <复|(zero? -5) (error "doesn't get here, either")|> <复|(positive? 5) 'here|> )