Files
tldr/pages.zh/common/racket.md

24 lines
460 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Racket
> Racket 语言解释器。
> 更多信息:<https://racket-lang.org>。
- 启动 REPL交互式 shell
`racket`
- 执行 Racket 脚本:
`racket {{path/to/script.rkt}}`
- 执行 Racket 表达式:
`racket --eval "{{expression}}"`
- 作为脚本运行模块(终止选项列表):
`racket --lib {{module_name}} --main {{arguments}}`
-`typed/racket` 哈希语言启动 REPL交互式 shell
`racket -I typed/racket`