Re: json generation from ddoc: painfully close

2015-01-08 Thread H. S. Teoh via Digitalmars-d
On Thu, Jan 08, 2015 at 12:32:10AM -0800, Andrei Alexandrescu via Digitalmars-d wrote: > I just experimented with a battery of macros (json.ddoc) for generating json > via ddoc. Results for std.algorithm are in > http://paste.ofcode.org/DFnxChvmRGJiXYpYYk2XWr. > > There are a couple of things tha

Re: json generation from ddoc: painfully close

2015-01-08 Thread Walter Bright via Digitalmars-d
On 1/8/2015 12:32 AM, Andrei Alexandrescu wrote: I haven't yet figured the circumstances. We can't just let anybody know those things.

Re: json generation from ddoc: painfully close

2015-01-08 Thread Rikki Cattermole via Digitalmars-d
On 8/01/2015 9:32 p.m., Andrei Alexandrescu wrote: I just experimented with a battery of macros (json.ddoc) for generating json via ddoc. Results for std.algorithm are in http://paste.ofcode.org/DFnxChvmRGJiXYpYYk2XWr. There are a couple of things that make the generated json invalid: 1. I coul

json generation from ddoc: painfully close

2015-01-08 Thread Andrei Alexandrescu via Digitalmars-d
I just experimented with a battery of macros (json.ddoc) for generating json via ddoc. Results for std.algorithm are in http://paste.ofcode.org/DFnxChvmRGJiXYpYYk2XWr. There are a couple of things that make the generated json invalid: 1. I couldn't get escaping to work. My ESCAPES is: ESCAPES