29 lines
400 B
YAML
29 lines
400 B
YAML
id: "racket"
|
|
aliases:
|
|
- "rkt"
|
|
name: "Racket"
|
|
|
|
install:
|
|
apt:
|
|
- racket
|
|
|
|
repl: |
|
|
racket
|
|
input: |
|
|
(* 123 234)
|
|
|
|
main: "main.rkt"
|
|
template: |
|
|
#lang racket/base
|
|
(display "Hello, world!\n")
|
|
|
|
run: |
|
|
racket -i -e '(enter! "main.rkt") (display "[ type (enter! \"main.rkt\") to access local variables ]\n")'
|
|
|
|
scope:
|
|
code: |
|
|
(define x (* 123 234))
|
|
input: |
|
|
(enter! "main.rkt")
|
|
x
|