lilactown / bs-most Goto Github PK
View Code? Open in Web Editor NEWReason/BuckleScript bindings for the Most.js reactive toolkit
Reason/BuckleScript bindings for the Most.js reactive toolkit
Current release package does not match the contents of this repository.
For example, this line has the Js.boolean
type when I download the current release package, while on this repository that line has the bool
type.
I have a library that is returning event emitters from various functions. I need to be able to convert those to streams in order to pass them around in my app. I'd be happy to contribute this, but thought I'd start an issue in case anyone has advice on how best to accomplish this.
After installation I attempted to build my project and received the following exception
bsb -make-world
[14/14] Building src/ReactDOMServerRe.mlast.d
[7/7] Building src/ReactDOMRe.cmj
Warning: refmt version missing. Please set it explicitly, since we may change the default in the future.
[1/2] Building src/most.mlast
FAILED: src/most.mlast
/usr/local/lib/node_modules/bs-platform/lib/bsc.exe -pp "/usr/local/lib/node_modules/bs-platform/lib/refmt.exe --print binary" -w -30-40+6+7+27+32..39+44+45+101 -nostdlib -I '/Users/michael/Projects/ReasonML/my-project/node_modules/bs-platform/lib/ocaml' -bs-super-errors -no-alias-deps -color always -c -o src/most.mlast -bs-syntax-only -bs-binary-ast -impl /Users/michael/Projects/ReasonML/my-project/node_modules/bs-most/src/most.re
File "/Users/michael/Projects/ReasonML/my-project/node_modules/bs-most/src/most.re", line 1, characters 12-13:
Error: 1274: syntax error, consider adding a `;' beforeWe've found a bug for you!
/Users/michael/Projects/ReasonML/my-project/node_modules/bs-most/src/most.reThere's been an error running Reason's refmt parser on a file.
This was the command:/usr/local/lib/node_modules/bs-platform/lib/refmt.exe --print binary '/Users/michael/Projects/ReasonML/my-project/node_modules/bs-most/src/most.re' > /var/folders/hy/kvvyvvc10vsd8k1bn_dn1htr0000gn/T/ocamlpp73a5a9
node 8.9.1
npm 5.5.1
bsb 2.2.3
bs-most ^0.1.1
react ^16.2.0
react-dom ^16.2.0
reason-react >=0.3.4
Edit:
When I clone and build manually then link it seems to work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.