Timeline for answer to Sandbox for Proposed Challenges by dmckee --- ex-moderator kitten
Current License: CC BY-SA 3.0
Post Revisions
24 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 17, 2017 at 19:51 | comment | added | dmckee --- ex-moderator kitten | @MDXF I think I'd rather post this one myself, but it may be a few days. | |
| Aug 17, 2017 at 16:59 | comment | added | MD XF | This has been inactive for five years. If you're not going to post it, may I? | |
| Mar 16, 2017 at 16:03 | history | edited | CommunityBot |
replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
|
|
| Mar 16, 2017 at 16:03 | history | edited | CommunityBot |
replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
|
|
| Mar 16, 2017 at 16:03 | history | edited | CommunityBot |
replaced http://meta.codegolf.stackexchange.com/ with https://codegolf.meta.stackexchange.com/
|
|
| May 6, 2015 at 21:15 | history | wiki removed | Martin EnderMod | ||
| Sep 4, 2014 at 21:28 | history | post merged (destination) | |||
| Aug 27, 2014 at 1:46 | history | post merged (destination) | |||
| Nov 23, 2012 at 5:45 | comment | added | luser droog | That doesn't semm quite so unfathomable. I suppose the variables and impicit rules are responsible for much of the mystery. | |
| Nov 23, 2012 at 5:10 | comment | added | dmckee --- ex-moderator kitten Mod | @luserdroog my reference implementation builds a directed graph (in the technical sense) of dependencies and then starts evaluating from the named target(s). I can't recall right off if I enforced acycality on the graph or not. I believe that real make insists on it. | |
| Nov 23, 2012 at 4:45 | comment | added | luser droog | This is awesome. But I'm too mystified by make to even fathom how it goes about it. I'd never be able to do this without stealing ideas from other posts on the page. But then, I'm an introverted intuitive, intellectuals would probbly have an easier time. :) I haven't checked, but .. I say it's ready to post. Answers may be slow in coming, but they WILL come! | |
| May 27, 2011 at 0:50 | comment | added | MtnViewMark | I suggest that the golf exercise be to simply output the list of commands to run, not actually execute them. Will make testing much easier. | |
| May 21, 2011 at 21:15 | comment | added | Peter Taylor |
Saying that it is not allowed is probably best. Otherwise there's potential for stuff to go wrong when multiple targets depend on clean, which will never be built because it doesn't correspond to a file.
|
|
| May 21, 2011 at 20:58 | history | edited | dmckee --- ex-moderator kittenMod | CC BY-SA 3.0 |
Try to get out some ambiguities after Peter's helpful comments
|
| May 21, 2011 at 20:43 | comment | added | dmckee --- ex-moderator kitten Mod |
1) Yes and 2) Standard make never builds a target twice, and neither does my reference implementation. But I should probably say that it is or is not allowed. Do you have a feeling in the matter?
|
|
| May 21, 2011 at 19:51 | comment | added | Peter Taylor |
More questions: 1) The target is "newer" than the prerequisite once *they* have been fulfilled. What does this mean? Should this text be talking about building? 2) Under what circumstances can a target be built twice?
|
|
| May 21, 2011 at 19:48 | history | edited | Peter Taylor | CC BY-SA 3.0 |
A number of minor corrections
|
| May 20, 2011 at 21:54 | history | made wiki | Post Made Community Wiki by dmckee --- ex-moderator kittenMod | ||
| May 20, 2011 at 21:49 | comment | added | dmckee --- ex-moderator kitten Mod | In order. (1) Implementer's choice. Should be more specific. (2) Generate an error means abort; this is a unix utility after all. (3) The sample is indented because I made a strenuous effort to get the tabs in, and MarkDown just doesn't like tabs. Also there is a new sample input that has some comments in. | |
| May 20, 2011 at 21:36 | comment | added | Peter Taylor |
The program should take it's input from the standard input or by reading a file called "makefile" - is this a choice for the implementer to make? Or should the program read stdin, and if it's empty then look for makefile? Any targets specified on the command line which do not appear in the makefile and do not represent an existing file should generate an error before execution of any rules. Does "generate an error" include aborting, such that no rules are executed? Running each in sequence - missing "action"? Why is the sample input indented? I'll do an edit for punctuation in a bit.
|
|
| May 19, 2011 at 17:30 | history | edited | dmckee --- ex-moderator kittenMod | CC BY-SA 3.0 |
add sample input and output
|
| May 19, 2011 at 1:32 | history | edited | dmckee --- ex-moderator kittenMod | CC BY-SA 3.0 |
added 4 characters in body
|
| May 19, 2011 at 1:10 | history | edited | dmckee --- ex-moderator kittenMod | CC BY-SA 3.0 |
added 77 characters in body
|
| May 19, 2011 at 1:05 | history | answered | dmckee --- ex-moderator kittenMod | CC BY-SA 3.0 |