racket: add page (#6880)
This commit is contained in:

committed by
GitHub

parent
43be7fdf98
commit
d89c97f0e1
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`
|
Reference in New Issue
Block a user