Re: [racket-users] Re: Redex: call for alpha-equivalence beta testers

2015-09-26 Thread William J. Bowman
On Fri, Sep 25, 2015 at 02:36:30PM -0500, Robby Findler wrote: > > > 2. default-lang was not properly linked in at least one place in the > > > documentation (in the explanation of default-equiv). > > > > Odd. I think that it might be the case that parameter definitions are > > handled differently

[racket-users] Re: Embedding in standard C/C++ leads to segfaults

2015-09-26 Thread Benjamin Saunders
This is on x86_64 linux. To reproduce, write the example to embed.c and run: "gcc -std=c89 -DMZ_PRECISE_GC embed.c -o embed -lracket3m && ./embed 42" On Saturday, September 26, 2015 at 10:31:40 AM UTC-7, Benjamin Saunders wrote: > The example for embedding racket 3m at > http://docs.racket-lang.

[racket-users] Embedding in standard C/C++ leads to segfaults

2015-09-26 Thread Benjamin Saunders
The example for embedding racket 3m at http://docs.racket-lang.org/inside/embedding.html?q=scheme_build_list#%28part._3m_.Embedding%29 segfaults during evaluation if compiled by a clang or gcc in a mode which disabled the GNU language extensions (e.g. -std=c89 or -std=c++11). The most immediate

Re: [racket-users] Re: Eval namespace revisited ...again

2015-09-26 Thread Jukka Tuominen
Thank you Jens, that's a very helpful example. br, jukka > An alternative to racket/load if you need something easier to control: > > #lang racket > > ;; Make a new namespace > (define custom-namespace (make-base-empty-namespace)) > > ;; Fill it with relevant bindings > (parameterize ([current-

Re: [racket-users] Re: Eval namespace revisited ...again

2015-09-26 Thread Jens Axel Søgaard
An alternative to racket/load if you need something easier to control: #lang racket ;; Make a new namespace (define custom-namespace (make-base-empty-namespace)) ;; Fill it with relevant bindings (parameterize ([current-namespace custom-namespace]) (namespace-require ''#%kernel) (namespace-r

[racket-users] Re: Eval namespace revisited ...again

2015-09-26 Thread Jukka Tuominen
In case it should be of help to anyone, using #lang racket/load solved the problems and things run smoothly now. br, jukka > Hi all, > > I'm working on a generic solution to distributed computing/ IoT/ M2M/ > scheduled task handling etc. basing on messaging. The emphasis is on > usability so it