Inconsistent coding style in code examples
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Wed Feb 11 10:27:40 PST 2015
On Tue, Feb 10, 2015 at 02:25:01PM -0800, H. S. Teoh via Digitalmars-d wrote:
[...]
> That leaves the mechanical solution, which is actually very easy. It
> doesn't have to be a sophisticated solution involving a full-blown D
> lexer. It could be as simple as substituting initial runs of spaces on
> each line, since we already know our input to be formatted in a
> certain way.
>
> Proof of concept:
[...]
Now a full-blown tools PR:
https://github.com/D-Programming-Language/tools/pull/159
I was going to attempt to do a PR for dlang.org that uses this tool for
the kindle targets, but the fact that (1) I don't even have kindlegen,
and (2) I don't have a Windows machine to test changes to win32.mak,
means I can't test anything at all, so I'm thinking twice about
attempting that.
T
--
If you're not part of the solution, you're part of the precipitate.
More information about the Digitalmars-d
mailing list