[Syllable Logo]
...is becoming an easy-to-use free software operating system for the home and small office user. It is powerful, lightweight and extraordinarily fast and responsive. More info.

Try Syllable!

Extended Play Nov 26 2010, 1:32
[Ports] [First REBOL 3 extension on Syllable Desktop 0.6.7 development build]

The new version 3 of the REBOL programming language supports extensions written in other languages. Extensions are implemented on top of the modules framework, which is also new. Extensions can be separate dynamically loaded libraries, or they can be embedded in the REBOL executable. In fact, REBOL 3 is now highly modularised: a number of its subsystems are embedded modules, and subsystems written in C and C++ are embedded extensions. Those modules and extensions are part of the open host kit, so that custom collections can be compiled into REBOL executables.

Syllable is now running its first REBOL extension. It's an example extension in the style of the traditional Hello World that shows the ease of interfacing. It works without changes on both Desktop and Server. The source code is in Builder. To compile and load the extension on Syllable Desktop, do the following. See the previous article for the requirements.

    build update
    build log
    build get HelloREBOL-Extension--current
    build patch HelloREBOL-Extension--current
    build HelloREBOL-Extension--current
    cd HelloREBOL-Extension--current
    import %./hello-extension.so

Copyright © 2002 - 2012 Syllable Project
All Rights Reserved