An open API service indexing awesome lists of open source software.

https://github.com/shenlebantongying/embed_racket


https://github.com/shenlebantongying/embed_racket

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

Template to embed Racket into a C++ program.

# Build

## prepare racket

`make base` for minimum racket, but `raco ctool` is required, so we have to use `make` for complete racket distribution which inlcudes a lot of unnecessary things.

```shell
cd ./racket
make
```

## Include racket module `#lang racket/base`

```shell
./racket/racket/bin/raco ctool --c-mods base.c ++lib racket/base
```