World: r3wp
[!REBOL3 /library] An extension adding support for dynamic library linking (library.rx)
older | first |
Andreas 12-Feb-2010 [67x4] | sure |
i'll compile this thang for windows somewhen early next week | |
should work as-is | |
so, where do i claim part of the bounty :) ? | |
Maxim 12-Feb-2010 [71x3] | ehehe... the dyncall is the easy part hehe... ;-) |
if you can send me the code you have so far, I'll be working on it this very week-end, on windows and that means starting to build the /library API itself, including struct support and stub function mapping and all. | |
my email address here is the best way to send me stuff, if you are so inclined . | |
Andreas 12-Feb-2010 [74] | I've put up my current code for the dyncall extension at: http://github.com/earl/rebol3/blob/master/extensions/dyncall.c |
Maxim 12-Feb-2010 [75] | cool thanks, will give it a look. |
Carl 13-Feb-2010 [76] | Maxim asked me to take a look here... it would be good to throw the main parts of this into www.rebol.net/wiki -- because it's hard to dive into the details in an evolving discussion, do you agree? |
Maxim 13-Feb-2010 [77x2] | yep... but I'm mainly interested in a quick critique of the code snippet I post above (the long post) |
once I have parts of this working, I'll do a wiki post and release alphas so people can test. | |
Carl 13-Feb-2010 [79x8] | Should the spec block of a lib func be similar to the spec of a normal func ? |
If so, then all the help features might work ok. | |
I should note that there's a pending change to func specs. Namely, the use of set-words for special options. | |
For example, there's no way to describe the return value of a function, or trace options, or catch/throw handling. | |
I was planning to use set-words to do those. For example: sum: func [a [integer!] b [integer!] return: [integer!]] | |
This is also important to give us localized returns, because the word return here can hold the binding to the function's defined context, the necessary link to make it work. | |
But, I've yet to post all this up for discussion... however, you may need to think about that. I would be good to have spec blocks work over all functional values. | |
Just a note. | |
Maxim 13-Feb-2010 [87] | thanks for your feedback. |
Carl 13-Feb-2010 [88] | I'm sure I'll have more to say... multitasking right now. Finally got R3 chat moved. |
TomBon 25-Feb-2010 [89] | hi maxim, do you have some news about the status of /library ? |
Maxim 25-Feb-2010 [90x2] | got dyncall compiled on windows and working on integrating it with the extension... not done though as I'm concentrating all my dev time on finishing a contract. |
should resume work on this next week. | |
TomBon 25-Feb-2010 [92] | great, thx for the info. |
Graham 5-Apr-2010 [93] | was /library ever finished? Or did it turn out to be hard? |
Maxim 5-Apr-2010 [94x2:last] | as this is driven by client requirements... it was temporarilly bumped by more pressing stuff... but its still on the top of the list. it will resume when this temporary new development is working (which is also REBOL-related). |
ironically, this new development is something I put on hold for years... so its a good turn of events in any case :-) | |
older | first |