Comments (3)
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.
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.
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)
- Do we want a SchismValue or similar class?
- Bootstrapping from guile fails: "Unbound variable: %file-exists?" HOT 6
- master playground doesn't work HOT 2
- equal? should handle cyclic structures
- bug related to tail-call-indirect
- Allow multiple tests per test file
- test/list-find.ss fails HOT 1
- Guile bootstrap seems to be broken again? HOT 3
- Add macro expander
- Try µKanren as a test case
- Add support for failure tests
- Add file input ports
- First class procedures HOT 5
- Question: What is the difference between the schism-stageN.wasm HOT 4
- Pass options to Schism.Engine as a dictionary HOT 1
- Remove `list-all-eq?` HOT 6
- README.md review: What does Schism do? HOT 2
- Add test case for string `eq?` behavior HOT 5
- Add some kind of `include-data` macro HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schism.