mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 15:26:04 +02:00
racket: add page (#6880)
This commit is contained in:
parent
43be7fdf98
commit
d89c97f0e1
1 changed files with 24 additions and 0 deletions
24
pages/common/racket.md
Normal file
24
pages/common/racket.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# racket
|
||||
|
||||
> Racket language interpreter.
|
||||
> More information: <https://racket-lang.org>.
|
||||
|
||||
- Start a REPL (interactive shell):
|
||||
|
||||
`racket`
|
||||
|
||||
- Execute a Racket script:
|
||||
|
||||
`racket {{path/to/script.rkt}}`
|
||||
|
||||
- Execute a Racket expression:
|
||||
|
||||
`racket --eval "{{expression}}"`
|
||||
|
||||
- Run module as a script (terminates option list):
|
||||
|
||||
`racket --lib {{module_name}} --main {{arguments}}`
|
||||
|
||||
- Start a REPL (interactive shell) for the `typed/racket` hashlang:
|
||||
|
||||
`racket -I typed/racket`
|
Loading…
Add table
Reference in a new issue