Syllable and Rebol binding
ldci19-Feb-2011/0:49:47+1:00
Syllable now has its first separate REBOL binding (screenshot on Syllable Desktop). The project created a binding with the popular cURL library, which is included in Syllable as its networking library. Documentation and downloads for Syllable, Linux and Windows are available here. The binding will be demonstrated at the upcoming REBOL & Boron conference.
The current version of REBOL 3 for Syllable interfaces with the system at the POSIX level. Beyond that, you can write your own bindings with system and user libraries. Bindings are written as REBOL 3 extensions. Amazingly, and just like the core REBOL 3 interpreter library, Syllable Desktop can run the Linux binary of the cURL binding unchanged, so that the same binary can be shared between Syllable Desktop and Syllable Server. This is possible because the interfaces between REBOL 3 and its extensions are designed for maximal portability, to avoid dependency hell.

The binding consists of a dynamic (shared) library; one single, binary file. On Syllable, either Desktop or Server, installation consists of just dropping it into place, exactly like native Syllable drivers and plug-ins. On other systems, installation may be more complicated.

REBOL has network protocols built in, but the new REBOL version 3 doesn't have many of the protocols of REBOL 2 yet. The cURL binding fills this gap, and also provides missing features such as SSL and proxy support, and even some protocols that REBOL 2 never had. The exact protocol support depends on the cURL version that you use.
Philippe20-Feb-2011/21:13:04+1:00
Salut,

Oui, c'est possible de binder la lib curl sur R3, et assez simple.
Voir la page :
http://rebol.esperconsultancy.nl/extensions/cURL/

tout est expliqué.
Il y aussi un binding avec une librairie odbc.

===Philippe

Login required to Post.


Powered by RebelBB and REBOL 2.7.8.4.2