Re: [racket-dev] unable to embed racket in a C++ program

2012-09-24 Thread Dan Liebgold
Ok, that gets me past the missing collection exception. Now it crashes inside libracket3m_8bh1a8.dll. Here's the callstack... this is the stock 5.3 distribution so a stock map file may help: libracket3m_8bh1a8.dll!0f548983() [Frames below may be incorrect and/or missing, no symbols loaded for

Re: [racket-dev] unable to embed racket in a C++ program

2012-09-24 Thread Dan Liebgold
Eh, scratch that last crash. My erroneous book-keeping with registered locals. Carry on... On Mon, Sep 24, 2012 at 9:58 AM, Dan Liebgold dan.liebg...@gmail.comwrote: Ok, that gets me past the missing collection exception. Now it crashes inside libracket3m_8bh1a8.dll. Here's the callstack...

[racket-dev] embedding racket without overriding main?

2012-09-24 Thread Dan Liebgold
Does anyone have an example of embedding 3m Racket (5.3) in a C++ program without overriding main? I have a legacy C++ app that wants to eval some Racket code but I'd like to be minimally invasive. Might need to shell out... -- Dan Liebgold[dan.liebg...@gmail.com] _

[racket-dev] Dracula development

2012-09-24 Thread Carl Eastlund
Short, short version: I will be working on a new Dracula implementation; see https://github.com/carl-eastlund/dracula (currently just a bare Racket fork). Short version: While the new Dracula is still spiritually ACL2 via Racket, the new one will be very different from the old. It will be

Re: [racket-dev] embedding racket without overriding main?

2012-09-24 Thread Matthew Flatt
At Mon, 24 Sep 2012 15:10:08 -0700, Dan Liebgold wrote: Does anyone have an example of embedding 3m Racket (5.3) in a C++ program without overriding main? I have a legacy C++ app that wants to eval some Racket code but I'd like to be minimally invasive. Might need to shell out... One

Re: [racket-dev] embedding racket without overriding main?

2012-09-24 Thread Dan Liebgold
Is there any reason the scheme_main_setup trampoline can't be done later in the program (i.e. only at the point I want to invoke Racket stuff)? On Mon, Sep 24, 2012 at 5:09 PM, Matthew Flatt mfl...@cs.utah.edu wrote: At Mon, 24 Sep 2012 15:10:08 -0700, Dan Liebgold wrote: Does anyone have an

Re: [racket-dev] embedding racket without overriding main?

2012-09-24 Thread Matthew Flatt
Yes: Racket needs a consistent starting point for the GC'ed stack across calls into the Racket. At Mon, 24 Sep 2012 17:32:26 -0700, Dan Liebgold wrote: Is there any reason the scheme_main_setup trampoline can't be done later in the program (i.e. only at the point I want to invoke Racket stuff)?