Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What constitutes the core of the DrRacket Programming language

Tags:

scheme

racket

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?

like image 886
cobie Avatar asked Feb 04 '13 22:02

cobie


People also ask

How to use DrRacket with scheme?

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:

What is the core language of racket?

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.

How to use pretty big in DrRacket?

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.

How do I quickly find a definition 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:


1 Answers

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.

like image 151
Ryan Culpepper Avatar answered Oct 23 '22 19:10

Ryan Culpepper