Example app using janet2nix. See docs over there.
yzupnick / example-janet2nix Goto Github PK
View Code? Open in Web Editor NEWExample repo using janet2nix
License: MIT License
Example repo using janet2nix
License: MIT License
Example app using janet2nix. See docs over there.
Works great for the built app in ./result
but it would be even better if I could run the following from nix develop
shell:
janet -e "(import spork/netrepl) (netrepl/server)"
error: could not find module spork/netrepl:
/nix/store/l52w8dm92k7fm81y6ib5p44n68qiiass-janet-1.32.1/lib/janet/spork/netrepl.jimage
/nix/store/l52w8dm92k7fm81y6ib5p44n68qiiass-janet-1.32.1/lib/janet/spork/netrepl.janet
/nix/store/l52w8dm92k7fm81y6ib5p44n68qiiass-janet-1.32.1/lib/janet/spork/netrepl/init.janet
/nix/store/l52w8dm92k7fm81y6ib5p44n68qiiass-janet-1.32.1/lib/janet/spork/netrepl.so
in require-1 [boot.janet] on line 3024, column 20
in import* [boot.janet] on line 3063, column 15
in _thunk [eval] (tailcall) on line 1, column 1
in eval-string [boot.janet] on line 2717, column 36
in e-switch [boot.janet] (tailcall) on line 4051, column 12
in cli-main [boot.janet] on line 4077, column 13
Or even to run changed source from within nix develop
shell:
$ janet main.janet
error: could not find module spork/math:
/nix/store/l52w8dm92k7fm81y6ib5p44n68qiiass-janet-1.32.1/lib/janet/spork/math.jimage
/nix/store/l52w8dm92k7fm81y6ib5p44n68qiiass-janet-1.32.1/lib/janet/spork/math.janet
/nix/store/l52w8dm92k7fm81y6ib5p44n68qiiass-janet-1.32.1/lib/janet/spork/math/init.janet
/nix/store/l52w8dm92k7fm81y6ib5p44n68qiiass-janet-1.32.1/lib/janet/spork/math.so
in require-1 [boot.janet] on line 3024, column 20
in import* [boot.janet] on line 3063, column 15
in _thunk [main.janet] (tailcall) on line 1, column 1
Is this possible?
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.