3
$\begingroup$

Suppose someone is trying to implement a compiler or interpreter. They are encountering a programming error and need debugging help. Would such questions be on-topic here, or are those more suited for Stack Overflow?

$\endgroup$

3 Answers 3

3
$\begingroup$

Such questions should not be considered on-topic for this site. The fact that the bug occurs in a compiler or interpreter doesn't mean that the question is about compilers or interpreters.

Questions like these will really be about some detail of the host language (the one the compiler or interpreter is implemented in), not the language being implemented.

$\endgroup$
3
$\begingroup$

No

Such questions are just the right fit for Stack Overflow. We should not accept such questions here because if we did, we would have some overlaps with SO and it'd be confusing where to post.

$\endgroup$
1
$\begingroup$

No, but...

If the question is specifically "some important/standard algorithm doesn't seem to work in this case", then it could be on topic.

Here is a real-world example of a question that is phrased as "there's a bug in my compiler", but I think would be on topic here.

The line that I would draw is that if we would need to look at the source code of your compiler to help you, it's off topic. Otherwise, it might be on topic.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .