dlang-community / discussions

Get in touch with the DLang community
12 stars 1 forks source link

Q: moving drepl to dlang-community #17

Closed wilzbach closed 7 years ago

wilzbach commented 7 years ago

Last summer I moved drepl to its own organization as @MartinNowak got more important things to do than maintaining it. It​ would have been a good candidate for dlang-community back then, but it didn't exist at this time. It is based on libdparse, so I think it's a very good addition for this organization. Anyone objecting?

https://github.com/drepl/drepl

ghost commented 7 years ago

Anyone objecting ?

No but who will work on that ? Because from my last experience with it, it needs some.

MartinNowak commented 7 years ago

No but who will work on that ? Because from my last experience with it, it needs some.

Actually we fixed it last time and it works since then.

dub fetch drepl
dub run drepl

Needs liblinenoise installed (someone should port that to D ;) ). It would benefit from a couple of features, in particular the parser and the rewrite rules are a bit too simplistic for now. https://github.com/drepl/drepl/blob/21a454c5f2593b2d126a132050981b0fb1bad9f9/src/drepl/engines/dmd.d#L68-L135 https://github.com/drepl/drepl/issues

ghost commented 7 years ago

Needs liblinenoise installed (someone should port that to D ;) ).

It's where the work to do resides. That's exactly the stuff that concerns me. It means that if we take it, on a short term it must work with a simple dub

wilzbach commented 7 years ago

Anyone objecting ? No

Okay I moved it over: https://github.com/dlang-community/drepl

No but who will work on that

I am happy to look after it, but there hasn't been much PR activity in the last year. I just felt that it's a popular repo with no well-defined point of contact for PRs.

it must work with a simple dub

There's a docker image for the people who can't manage to install libnoise or are on Windows: https://hub.docker.com/r/dlanguage/drepl/

On the long-term, of course, DUB should have a nice integration with C/C++ source code, e.g.

https://github.com/dlang/dub/issues/852

It means that if we take it, on a short term it must work with a simple dub

The idea of dlang-community is just to have an active point of contact for contributions (to avoid forking all the time). Imho project maintenance or even development are voluntary - it's not like we are going to fix the YAML API soon, right?

wilzbach commented 7 years ago

It means that if we take it, on a short term it must work with a simple dub

Shouldn't be too hard: https://github.com/dlang-community/drepl/pull/63 (a PoC for compiling linenoise on-the-fly`).