What constitutes the core of the Racket programming language? Is the core based off any RnRS specification with all the extras such as the numerous sequence methods based of that tiny core or is everything in the reference part of the language core?
DrRacket isn’t specific to Scheme. It supports several languages. The first time you run DrRacket, you need to choose a programming language. Enter Ctrl-L to bring up the Choose Language dialog box. Select the language Pretty Big ,a variant of Scheme, from the Legacy Languages list and click OK:
Racket's core language includes macros, modules, lexical closures, tail calls, delimited continuations, parameters (fluid variables), software contracts, green threads and OS threads, and more.
It supports several languages. The first time you run DrRacket, you need to choose a programming language. Enter Ctrl-L to bring up the Choose Language dialog box. Select the language Pretty Big ,a variant of Scheme, from the Legacy Languages list and click OK: After choosing the language, you can edit and evaluate expressions in DrRacket.
To quickly find a definition, click on the (define …) button (at the top left) to reveal a list of all names that are defined in the Definitions window. Click on the name you want to jump directly to that definition. When something goes wrong in evaluating an expression, DrRacket will produce an error message like this:
Racket is built on top of a core language exported by the #%kernel
built-in module. The kernel syntactic forms are described in the documentation for fully-expanded programs. The kernel module also exports a large number of primitive functions, such as cons
, vector-ref
, and make-struct-type
.
Most of these syntactic forms and functions are also part of the Racket base language (racket/base
), so they're documented in the Racket reference. The primitive functions aren't marked as being part of the kernel language, because it's mainly considered an implementation detail. On the other hand, the primitive syntactic forms are documented specially because they're the only ones that appear in the results of expand
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With