Charles Parnot

Results 32 comments of Charles Parnot

@mz2 suggested YAML as well. Shape indexes would be keys, and values for these would be dictionaries with the 'context' keys defined in ASCIImage. Colors could be preset (black, red,...

> I think layers could be separated by an empty line (empty = nothing, not even whitespace, just two consecutive newlines) I like that very much. @mz2 has a different...

@mz2 It's indeed nice that YAML supports multiline strings. Having the metadata next to each layer is also nice actually. One issue here is that you also need to index...

I think like the idea of layers separated with '---', which is (somewhat) consistent with YAML and simplifies the indentation issue. We could have an `layer-index` property if necessary too....

> At least in Ruby, YAML.load_documents() will return an array of hashes (dictionaries) when passed a multi-document YAML text. If this is the same for whatever YAML loading functions are...

Nitpick warning! Regarding layers: ASCIImage is supposed to allow you to 'see' the image in your code. To me, layers are supposed to be there to help with that, not...

@flopp Excellent point, and something I have been considering as well recently as I used the block-based API a bit more, and struggled with the `shapeIndex` values. I agree it...

@Oblomov Good to know, thanks for chiming in! One more not quite related comment: I am just swamped with other stuff now, and while I like the YAML idea very...