PLT DrScheme: Intermediate Student Language
- PROGRAM
- DEF-EXP
- DEFINITION
- EXPRESSION
- NAME
- a sequence of keyboard-characters not including: space " , ' ` ( ) [ ] { } | ;
- PRIM-OPS
- Numbers: Integers, Rationals, Reals, Complex, Exacts, Inexacts
- Booleans
- Symbols
- Lists
- cons? : (any -> boolean)
- pair? : (any -> boolean)
- empty? : (any -> boolean)
- null? : (any -> boolean)
- list? : (any -> boolean)
- cons : (x (listof x) -> (listof x))
- first : ((cons y (listof x)) -> y)
- car : ((cons y (listof x)) -> y)
- rest : ((cons y (listof x)) -> (listof x))
- cdr : ((cons y (listof x)) -> (listof x))
- second : ((cons z (cons y (listof x))) -> y)
- third : ((cons w (cons z (cons y (listof x)))) -> y)
- fourth : ((listof y) -> y)
- fifth : ((listof y) -> y)
- sixth : ((listof y) -> y)
- seventh : ((listof y) -> y)
- eighth : ((listof y) -> y)
- list-ref : ((listof x) number -> x)
- list : (any ... -> (listof any))
- append : ((listof any) ... -> (listof any))
- length : (list -> number)
- memq : (any list -> (union false list))
- reverse : (list -> list)
- assq : (x (listof (cons x y)) -> (union false (cons x y)))
- equal? : (list list -> boolean)
- Characters
- Strings
- Posns
- Misc