From: Peter M. <pet...@gm...> - 2011-11-08 06:22:25
|
http://www.pkmurphy.com.au/isityaml/ It's a small application that attempts to validate what you put it in. If it's good, it displays the output in Unicode-friendly "Canonical" form YAML. I threw it together because I needed to come up with lots of small YAML streams while working on the YPath spec, and wanted a tool to check all the streams I thought up. If you input invalid YAML, it will display an error message in red. If you input REALLY invalid YAML, you might end up with a 500 error. (If you see a crashing car, that means things have gone FUBAR. Please let me know if that happens.) Feel free to try it out, everybody. Cheers, Peter -- Email: pet...@gm... WWW: http://www.pkmurphy.com.au/ |
From: Brad B. <bm...@ma...> - 2011-11-08 15:33:02
|
Hi Peter, I assume you know about http://yaml.org/ypaste/? One suggestion for your tool: leave the yaml I entered in the result input box. Cheers, Brad On Tue, Nov 8, 2011 at 1:22 AM, Peter Murphy <pet...@gm...> wrote: > http://www.pkmurphy.com.au/isityaml/ > > It's a small application that attempts to validate what you put it in. > If it's good, it displays the output in Unicode-friendly "Canonical" > form YAML. I threw it together because I needed to come up with lots > of small YAML streams while working on the YPath spec, and wanted a > tool to check all the streams I thought up. > > If you input invalid YAML, it will display an error message in red. If > you input REALLY invalid YAML, you might end up with a 500 error. (If > you see a crashing car, that means things have gone FUBAR. Please let > me know if that happens.) > > Feel free to try it out, everybody. > > Cheers, > Peter > > -- > Email: pet...@gm... > WWW: http://www.pkmurphy.com.au/ > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Yaml-core mailing list > Yam...@li... > https://lists.sourceforge.net/lists/listinfo/yaml-core > |
From: <kei...@bt...> - 2011-11-08 16:10:15
|
Two buttons at the top of http://yaml.org/ypaste/ give Not Found The requested URL /index.yaml was not found on this server and Not Found The requested URL /index.yeast was not found on this server. Keith -----Original Message----- From: Brad Baxter [mailto:bm...@ma...] Sent: 08 November 2011 15:33 To: yam...@li... Subject: Re: [Yaml-core] Is it YAML? Hi Peter, I assume you know about http://yaml.org/ypaste/? One suggestion for your tool: leave the yaml I entered in the result input box. Cheers, Brad On Tue, Nov 8, 2011 at 1:22 AM, Peter Murphy <pet...@gm...> wrote: > http://www.pkmurphy.com.au/isityaml/ > > It's a small application that attempts to validate what you put it in. > If it's good, it displays the output in Unicode-friendly "Canonical" > form YAML. I threw it together because I needed to come up with lots > of small YAML streams while working on the YPath spec, and wanted a > tool to check all the streams I thought up. > > If you input invalid YAML, it will display an error message in red. If > you input REALLY invalid YAML, you might end up with a 500 error. (If > you see a crashing car, that means things have gone FUBAR. Please let > me know if that happens.) > > Feel free to try it out, everybody. > > Cheers, > Peter > > -- > Email: pet...@gm... > WWW: http://www.pkmurphy.com.au/ > > ---------------------------------------------------------------------- > -------- > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Yaml-core mailing list > Yam...@li... > https://lists.sourceforge.net/lists/listinfo/yaml-core > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Yaml-core mailing list Yam...@li... https://lists.sourceforge.net/lists/listinfo/yaml-core |
From: Ingy d. N. <in...@in...> - 2011-11-08 21:46:08
|
Peter, Cool. We can link to it from yaml.org soon. Is the code in a repo anywhere? It would be nice to include it in our github organization. Cheers, Ingy On Mon, Nov 7, 2011 at 10:22 PM, Peter Murphy <pet...@gm...>wrote: > http://www.pkmurphy.com.au/isityaml/ > > It's a small application that attempts to validate what you put it in. > If it's good, it displays the output in Unicode-friendly "Canonical" > form YAML. I threw it together because I needed to come up with lots > of small YAML streams while working on the YPath spec, and wanted a > tool to check all the streams I thought up. > > If you input invalid YAML, it will display an error message in red. If > you input REALLY invalid YAML, you might end up with a 500 error. (If > you see a crashing car, that means things have gone FUBAR. Please let > me know if that happens.) > > Feel free to try it out, everybody. > > Cheers, > Peter > > -- > Email: pet...@gm... > WWW: http://www.pkmurphy.com.au/ > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Yaml-core mailing list > Yam...@li... > https://lists.sourceforge.net/lists/listinfo/yaml-core > |
From: Peter M. <pet...@gm...> - 2011-11-09 01:55:22
|
All, Thank you all for the positive feedback! I'd just like to add a few things. There are going to be issues with "Is it YAML?" Some of them are usability issues. For example, Brad Baxter asked: "I assume you know about http://yaml.org/ypaste/? One suggestion for your tool: leave the yaml I entered in the result input box." Excellent idea. I might make that optional. (As for ypaste, I created "Is it YAML" because I wanted a YAML tester that didn't escape Unicode characters. However, some people may prefer escape sequences, so I'll add that as an option in the next release.) Other issues may be connected to PyYAML, as my app is a Django wrapper around it. For example, Osamu Takeuchi reported: "I tried it and found that it does not accept the following input. { abc:: } " Good on him for reporting that! I think that's a PyYAML issue. Another issue I discovered was inputting Sumerian Cuneiform (I kid ye not!) causes the following error. "unacceptable character #x12174: special characters are not allowed in "<unicode string>", position 0" So what can be done? There seems to be three types of problems. (a) Usability / UI problems. Adding more options. That will be fairly easy to add. (b) Parsing / scanning problems. PyYAML is great in that you can create derivations of the parser and scanner classes, and overload whatever functions that bug you. See "scan_anchor" in the following. https://github.com/peterkmurphy/isityaml/blob/master/isityaml/views.py (c) Deeper problems related to Python. The language needs to handle Unicode characters beyond '\uffff' a lot more consistently - both on Windows and Unix. As for (a) and (b), well... Ingy asked: > Is the code in a repo anywhere? > It would be nice to include it in our github organization. > It is. I just added it. https://github.com/peterkmurphy/isityaml So if folk feel like getting their code fingers tapping - feel free to modify to their heart's content. Cheers, Peter -- Email: pet...@gm... WWW: http://www.pkmurphy.com.au/ |