Git Product home page Git Product logo

Comments (3)

eholk avatar eholk commented on May 5, 2024 1

Oh, thanks for trying this out. schism.sh is the right way to do this, but it looks like we broke it somewhere along the way.

Until that's fixed, you can get some of what you want with run-tests.sh. If you do run-tests.sh test/lambda-1.ss then it will run that one test case, but it also leaves behind a test.wasm file which will have the Wasm bytes for the compiled test case.

from schism.

amirouche avatar amirouche commented on May 5, 2024

There is schism.ss but using it with guile schism.ss or scheme schism.ss doesn't work.

Here is the Chez error:

Exception: multiple definitions for filter and memq in body (library (schism compiler) (export compile-library compile-stdin->stdout) (import (rnrs) (rnrs mutable-pairs) (only (...) gensym)) (define (void) (when #f #f)) (define (trace-value x) (write x) (newline) x) ...) at line 15, char 1 of schism/compiler.ss

from schism.

amirouche avatar amirouche commented on May 5, 2024

Ah there is also schism.sh but that one fails also:

$ bash schism.sh test/lambda-1.ss 
(node:20549) ExperimentalWarning: The ESM module loader is experimental.
internal/modules/esm/default_resolve.js:59
  let url = moduleWrapResolve(specifier, parentURL);
            ^

Error: Cannot find module '/home/amirouche/src/scheme/schism/cli' imported from /home/amirouche/src/scheme/schism/run-schism.mjs
    at Loader.resolve [as _resolve] (internal/modules/esm/default_resolve.js:59:13)
    at Loader.resolve (internal/modules/esm/loader.js:73:33)
    at Loader.getModuleJob (internal/modules/esm/loader.js:149:40)
    at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:43:40)
    at link (internal/modules/esm/module_job.js:42:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

edit: s/gcli/cli/

from schism.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.