-
Notifications
You must be signed in to change notification settings - Fork 9
Publish on pursuit #93
Comments
Hey, the Purescript side of things has never really taken shape (and i've seen no interest from the Purescript community so far) and the JS side of things turned out to be really low maintenance thanks to the language, which in turn meant I didn't keep this project up to date. It would be quite an undertaking to update this project to compile under the latest version of purescript, hence it's unlikely to happen unless someone's willing to endure the pain of a million compile errors :-/ |
Oh, that's too bad. |
Don't be deceived, it will be 60 until the compiler can discover the next 60. I mean if you're wanting to get stuck into it, by all means, but just a warning. There's probably a solid day of work in this, if I had to guess. |
I wanted to give this a shot, but the whole |
Oh cool! From what I remember, the biggest change in that department was the removal of the |
Why are there so many places using |
Well, the idea was that the spec itself (the thing describing the structure of the command line) could be passed in directly, thus being able to cache it, or use it's output for other purposes (maybe auto completion etc). It's essentially |
The signature of the Lines 185 to 190 in af8ad85
|
I found myself thinking about taking another go at this. @adius how far did you get at the time? I've produced a dependency graph that might make it easier to get an overview and port piece by piece: |
Hi, my @adius account is unfortunately locked, so I didn't get a notification. However, I think I accidentally deleted my progress on porting it 😭, so I guess we'll have to start from scratch. Can you maybe answer #93 (comment) again, I didn't really get your answer. I still feel this should be simpler. |
Sure, the reason for the I'd be happy to ditch JS integration altogether, rename to purescript-neodoc or similar, and build a separate js front end (so neodoc as a purescript library, and neodoc as an npm package). What do you think of that? Neodoc is already more powerful than the current JS integration let's on, which is a shame. For example, the current output is always run through this lossy fold: neodoc/src/Neodoc/Evaluate/Reduce.purs Lines 58 to 63 in f6e040b
The structure before the fold has valuable position and association information that just gets tossed. Another annoying thing - the thing I regret most as of this writing - is that I thought it was a good idea to interpret textual values as JS types (to please the JS crowd). But I diverge. Once we get this updated to the latest compiler version we can move ahead and break as much as we'd like for some v3 release. |
That sounds like a good idea! Let me know, how I can help. I'd really love to use neodoc for https://github.com/feramhq/transity.
Hehe, JavaScript's bad practices have a way of getting at you 😝. I guess I have more opinions on a future version after integrating it in Transity! |
I just forked it and started to resolve compiler errors. Will upload and link it later! |
The hard part is going to be updating all sub dependencies which haven't upgraded to purs 0.12 yet 😟. I recently upgraded Transity from 0.11 to 0.12 and I had to fix like 3 sub-dependencies first. That's also why I switched to https://psc-package.readthedocs.io, as I was able to depend on my own versions until my changes were merged upstream. Shall we proceed likewise with Neodoc? |
My first efforts: #96 |
This is awesome! I wonder if it would be easier to start with a blank page and start copying modules in based on the dependency graph above? |
transity looks awesome by the way, I've always wanted to get into managing my finances on the command line, but couldn't afford the time to learn the existing tools |
Mh, If you think your code is decoupled enough, sure. But I'd guess if there is a straight forward way to replace / fix the
Thanks! Then you're the perfect user 😁 ... I'd love to hear your thoughts if you find the time to try it out! |
Have you come to an end? |
I'm working on this again in #96. |
Great tool, but it does not seem to be published on pursuit, or am I missing something?
The text was updated successfully, but these errors were encountered: