mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 10:50:59 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/racket
Normal file
29
tldr/racket
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user