• ANNOUNCE: libsimpleio for GNU Modula-2 (preliminary)

    From Philip Munts@21:1/5 to All on Thu Jun 28 08:49:56 2018
    I have just published the first code drop of Linux Simple I/O Library support for GNU Modula-2. This is preliminary code: It is incomplete and what is complete may be pretty rough. I decided to let people look at it before I finish every last detail.

    It includes thin bindings for the following libraries:

    * libadc
    * libgpio
    * libhidraw
    * libipv4
    * liblinux
    * libpwm
    * libserial
    * libstream
    * libwatchdog

    There are also an assortment of support modules (e.g. for the Raspberry Pi) and a lot of test programs.

    Source code is available at:

    http://git.munts.com/libsimpleio

    Prebuilt packages for Debian stretch are available at:

    http://repo.munts.com/debian9

    I have been interested in "Wirthian" programming languages since I first encountered Pascal for the HP 3000 in ca. 1981. During the late eighties/early nineties I paid real money for no less than three commercial Modula-2 compilers (and one Ada compiler)
    for MS-DOS. I never did much with them as they were all inferior to Turbo Pascal. After that I got sucked into the Unix and C world.

    It has been interesting to play around with GNU Modula-2 after all these years. Even though it lacks a lot of modern stuff like objects, I think it is still useful for systems programming. I am hoping that the compiler for the Raspberry Pi together
    with the Linux Simple I/O Library bindings might reignite some interest in Modula-2.

    Phil

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jan272@gmail.com@21:1/5 to Philip Munts on Fri Jun 29 02:58:27 2018
    On Thursday, June 28, 2018 at 5:49:56 PM UTC+2, Philip Munts wrote:
    I have just published the first code drop of Linux Simple I/O Library support for GNU Modula-2. This is preliminary code: It is incomplete and what is complete may be pretty rough. I decided to let people look at it before I finish every last detail.

    It includes thin bindings for the following libraries:

    * libadc
    * libgpio
    * libhidraw
    * libipv4
    * liblinux
    * libpwm
    * libserial
    * libstream
    * libwatchdog

    There are also an assortment of support modules (e.g. for the Raspberry Pi) and a lot of test programs.

    Source code is available at:

    http://git.munts.com/libsimpleio

    Prebuilt packages for Debian stretch are available at:

    http://repo.munts.com/debian9

    I have been interested in "Wirthian" programming languages since I first encountered Pascal for the HP 3000 in ca. 1981. During the late eighties/early nineties I paid real money for no less than three commercial Modula-2 compilers (and one Ada
    compiler) for MS-DOS. I never did much with them as they were all inferior to Turbo Pascal. After that I got sucked into the Unix and C world.

    It has been interesting to play around with GNU Modula-2 after all these years. Even though it lacks a lot of modern stuff like objects, I think it is still useful for systems programming. I am hoping that the compiler for the Raspberry Pi together
    with the Linux Simple I/O Library bindings might reignite some interest in Modula-2.

    Phil

    You might be interested in Mike Spivey's oberon compiler which is maintained, fast and cross platform.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)