AltME: R3 Building and Porting

Messages

Maxim
if you compile the host kit you have full control over this.  Otherwise, Saphirion seem to have built an encap tool for R3.
GrahamC
Saphiron's encap tool was built before the sources were available
If you do what Florin wants, how would you get your code to execute instead of landing on the console?
Maxim
the console is just a loop in the main which gets a string and executes it.  what you'd do is execute a string of utf8 text directly.
I had the r3 hostkit running as a dll with full host support... in fact, I was able to execute R3 scripts from within R2   :-)
obviously there was no sharing of info, only exchange of string data
so I'd use load/mold on the string from/to R3  ...
GrahamC
Are you answering the question?
Maxim
I'm just saying that with the hostkit, you can execute or setup evaluating whatever you want however you want.
Andreas
florin: yes, it's possible to include embedded modules or embedded extensions with R3. but it's not documented how to do so, at the moment, so you'll have to dig through the sources yourself.
for embedded modules, it could be as simple as dropping your module in src/mezz/, including its filename in src/mezz/boot-files.r and doing a full rebuild (including `prep`) after that. didn't try yet, though.
Florin
thanks
GrahamC
Florin, I wrote this about adding your own scheme https://github.com/hostilefork/r3-hf/wiki/How-to-add-your-own-scheme
Florin
GrahamC: Wonderful, thanks.
GrahamC
That's what I did for my vanity builds for integrating the time and smtp schemes
see the vanity group here

BrianH
Has anyone tried building R3 on Windows with CodeBlocks? I want to run R3 in debug mode, to track down native bugs.
I can also use VS2012 Pro, but it's less likely that someone has tried building on that. One can hope, of course.

AdrianS
Just so happens that I have a CB project file for the official source layout, if you want it. There's also a little change to make-make.r that you'll need t make for which he's made a pull request.
https://github.com/rebol/r3/pull/77
Sent you the file
btw, there's currently no difference between the release and debug targets - CB just builds the all target with whatever flags were there. We could change this to create distinct builds, obviously.

Last message posted 69 weeks ago.