digitalmars.D - RosettaCode-D
- Andrew Edwards (9/9) Feb 26 2016 In efforts to actively maintain the D code on RosettaCode and provide
- cym13 (5/15) Feb 26 2016 I think the first thing to do would be to get automated testing
- cym13 (3/21) Feb 26 2016 Sorry, just noticed that it's exactly what you're asking for in
- BBasile (6/16) Feb 26 2016 what about
- BBasile (7/17) Feb 26 2016 I can propose a dmd script that get executed by travis-CI
- Andrew Edwards (18/36) Feb 27 2016 This would be ideal but Travis-CI presently only supports osx and linux....
In efforts to actively maintain the D code on RosettaCode and provide additional code for beta testing, I've thrown together https://github.com/AndrewEdwards/RosettaCode-D. All of the code was copied form https://github.com/acmeism/RosettaCodeData but as one may guess it does not all compile with the current stable DMD compiler (2.070.0). I am asking the community's assistance to improve the quality of this repo and prepare for use in nightly testing of the D compiler. Andrew
Feb 26 2016
On Saturday, 27 February 2016 at 02:48:16 UTC, Andrew Edwards wrote:In efforts to actively maintain the D code on RosettaCode and provide additional code for beta testing, I've thrown together https://github.com/AndrewEdwards/RosettaCode-D. All of the code was copied form https://github.com/acmeism/RosettaCodeData but as one may guess it does not all compile with the current stable DMD compiler (2.070.0). I am asking the community's assistance to improve the quality of this repo and prepare for use in nightly testing of the D compiler. AndrewI think the first thing to do would be to get automated testing of those programs, maybe based on the C versions (download, compile, compare outputs?) as the language never gets old.
Feb 26 2016
On Saturday, 27 February 2016 at 02:54:00 UTC, cym13 wrote:On Saturday, 27 February 2016 at 02:48:16 UTC, Andrew Edwards wrote:Sorry, just noticed that it's exactly what you're asking for in the first place. I'm going to catch some sleep.In efforts to actively maintain the D code on RosettaCode and provide additional code for beta testing, I've thrown together https://github.com/AndrewEdwards/RosettaCode-D. All of the code was copied form https://github.com/acmeism/RosettaCodeData but as one may guess it does not all compile with the current stable DMD compiler (2.070.0). I am asking the community's assistance to improve the quality of this repo and prepare for use in nightly testing of the D compiler. AndrewI think the first thing to do would be to get automated testing of those programs, maybe based on the C versions (download, compile, compare outputs?) as the language never gets old.
Feb 26 2016
On Saturday, 27 February 2016 at 02:48:16 UTC, Andrew Edwards wrote:In efforts to actively maintain the D code on RosettaCode and provide additional code for beta testing, I've thrown together https://github.com/AndrewEdwards/RosettaCode-D. All of the code was copied form https://github.com/acmeism/RosettaCodeData but as one may guess it does not all compile with the current stable DMD compiler (2.070.0). I am asking the community's assistance to improve the quality of this repo and prepare for use in nightly testing of the D compiler. Andrewwhat about - travis-CI ? - a shell script or a rdmd script to test locally, currently I see nothing to build
Feb 26 2016
On Saturday, 27 February 2016 at 04:19:06 UTC, BBasile wrote:On Saturday, 27 February 2016 at 02:48:16 UTC, Andrew EdwardsI can propose a dmd script that get executed by travis-CI (example output https://travis-ci.org/BBasile/RosettaCode-D) But now I realize that you probably want to put the project as part of the D organization, right ? Anyway, lot of work to fix them all. There 's even some code that rely on Tango!I am asking the community's assistance to improve the quality of this repo and prepare for use in nightly testing of the D compiler. Andrewwhat about - travis-CI ? - a shell script or a rdmd script to test locally, currently I see nothing to build
Feb 26 2016
On 2/27/16 3:02 PM, BBasile wrote:On Saturday, 27 February 2016 at 04:19:06 UTC, BBasile wrote:This would be ideal but Travis-CI presently only supports osx and linux. We can start off with this but eventually need a solution that touches the four major platforms (FLOW).On Saturday, 27 February 2016 at 02:48:16 UTC, Andrew EdwardsI am asking the community's assistance to improve the quality of this repo and prepare for use in nightly testing of the D compiler. Andrewwhat about - travis-CI ?None was included because I needed to figure out how to make this into a cohesive dub project while independently specifying dependencies for each task implementation. Some of these tasks depend on implementations of other tasks (e.g., Zebra-puzzle depends on Permutations), some depend on other DUB repos (e.g. DerelictSDL2), others depend on miscellaneous code in the wild that can or cannot be located (e.g., XML-Input & kxml , Window-creation & fltk4d), while others (those used as libraries) require specific version switches.- a shell script or a rdmd script to test locally, currently I see nothing to buildI can propose a dmd script that get executed by travis-CI (example output https://travis-ci.org/BBasile/RosettaCode-D) But now I realize that you probably want to put the project as part of the D organization, right ?Not necessary, just needs to be actively maintained and referenced by Martin's D Project Tester.Anyway, lot of work to fix them all. There 's even some code that rely on Tango!Yeah, this is the main reason I'm asking the community to come together to improve them. These are the kinds of code that neophytes like myself run into in the wild, become frustrated and dismiss the language as worthless or overly complicated because we cannot get them to compile.
Feb 27 2016