Replies: 10 comments 18 replies
-
|
Beta Was this translation helpful? Give feedback.
-
So, I don't have this in at all a mature form yet, but a set of extra error helpers would be nice: https://github.com/yumaikas/anno-server/blob/main/errs.janet is a personal start. Also, some form of globals https://github.com/yumaikas/janet-globals would be nice to have in spork. |
Beta Was this translation helpful? Give feedback.
-
Maybe csv. Has path been officially moved into spork? I tend to like installing modules separately, as needed, though I understand the convenience of getting everything via one single |
Beta Was this translation helpful? Give feedback.
-
A case for Temple:
|
Beta Was this translation helpful? Give feedback.
-
Also, a cross platform base64 encode/decode would be good to have (perhaps along with some other encoding/conversion functions). Right now the only source I can find for doing this in janet is @swlkr's codec module, at https://github.com/joy-framework/codec, where it's bundled with some other crypto functions. Right now it doesn't compile on Windows. |
Beta Was this translation helpful? Give feedback.
-
A recent thread here reminded me that a TOML parser would be handy to have. |
Beta Was this translation helpful? Give feedback.
-
Some additional suggestions:
Is Spork intended to only be written in Janet? Would you include things that wrap C libraries (such as the aforementioned utf8.h)? |
Beta Was this translation helpful? Give feedback.
-
Another thing that would make sense to have in spork: Some cross-platform wrappers around os/spawn to make things like piplines easier to express. #592 <- This issue covers a start on the sort of code that'd need to be written. I also think that eventually we'll need to do a bit of traige and/or prioritization on this might be in order? I suppose people are welcome to create PRs for these libraries as they become relevant, and some of then (like the errs library I'm suggesting), might be a while before they are ready for inclusion in spork. |
Beta Was this translation helpful? Give feedback.
-
JDN is used in several packages. It's a very small library by @andrewchambers. Not sure how he would feel but it seems to me a good candidate for spork. |
Beta Was this translation helpful? Give feedback.
-
Ah yes. Looks like 'parse is very similar to jdn/decode. And encode is
just a printf %j so...I guess I should replace my use of this module with
those, to keep it simple. Thanks.
…On Fri, Feb 5, 2021 at 6:35 PM andrewchambers ***@***.***> wrote:
I think just 'parse
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#597 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM7HKUNEF47BU3CEGRRBPDS5R6EBANCNFSM4WJCSKUA>
.
|
Beta Was this translation helpful? Give feedback.
-
What kind of functionality would you like to see in the
spork
utility library? Bonus if the code exists in present libraries.My list:
Gathered:
project.janet
can't be eval'ed without access to functions defined in the jpm script #601)Per janet-lang/spork#26 (comment), the spork is gonna stay Janet only, at least for the foreseeable future.
Beta Was this translation helpful? Give feedback.
All reactions