cyclone icon indicating copy to clipboard operation
cyclone copied to clipboard

schemepunk library support

Open justinethier opened this issue 5 years ago • 2 comments

Setting this up to track various changes required to support schemepunk

justinethier avatar Sep 16 '20 02:09 justinethier

This will (if it ever works) require the following dependencies to be installed via cyclone-winds:

  • srfi-41 srfi-152 srfi-197

justinethier avatar Sep 24 '20 20:09 justinethier

Looks like they added a polyfill, but Cyclone is unable to load it:

$ rlwrap icyc -A . -A lib

              :@
            @@@
          @@@@:
        `@@@@@+
       .@@@+@@@
       @@     @@     Cyclone Scheme->C compiler
      ,@             http://justinethier.github.io/cyclone/
      '@
      .@             (c) 2014-2022 Justin Ethier
       @@     #@     Version 0.35.0
       `@@@#@@@.
        #@@@@@
        +@@@+
        @@#
      `@.

cyclone> (import (schemepunk show))
Error: Unable to open file: "polyfills/srfi-158-impl.scm"

Looks like Cyclone doesn't resolve pathnames relative to the initial library definition file. Importing that implementation manually (i.e. (include "path/to/polyfills/srfi-158-impl.scm") causes no issues.

laserswald avatar Oct 18 '22 20:10 laserswald