[parenscript-devel] suggestion for json printing
hi, I think it would be nice to read if parenscript compiler pretty-print json object in the output, in particular properly indent it, rather than print it on one line like right now.
Hi Canhua, I tried to introduce pretty printing for JavaScript object literals in patch 60154a465a5a29b4b5136f87f6c572f1da04ce4a, but unfortunately that broke Parenscript output in some cases (see this old email thread for details: http://lists.common-lisp.net/pipermail/parenscript-devel/2012-May/001130.htm...). I didn't see a good way to fix things, but if anyone has suggestions for introducing JS literal pretty-printing I am very open to adding it. Thank you, Vladimir On Mon, Oct 29, 2012 at 10:03 PM, Canhua <dreameration@gmail.com> wrote:
hi, I think it would be nice to read if parenscript compiler pretty-print json object in the output, in particular properly indent it, rather than print it on one line like right now.
_______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
Vladmir, thank you so much for your effort. On Thu, Nov 29, 2012 at 11:33 AM, Vladimir Sedach <vsedach@gmail.com> wrote:
Hi Canhua,
I tried to introduce pretty printing for JavaScript object literals in patch 60154a465a5a29b4b5136f87f6c572f1da04ce4a, but unfortunately that broke Parenscript output in some cases (see this old email thread for details: http://lists.common-lisp.net/pipermail/parenscript-devel/2012-May/001130.htm...).
I didn't see a good way to fix things, but if anyone has suggestions for introducing JS literal pretty-printing I am very open to adding it.
Thank you, Vladimir
On Mon, Oct 29, 2012 at 10:03 PM, Canhua <dreameration@gmail.com> wrote:
hi, I think it would be nice to read if parenscript compiler pretty-print json object in the output, in particular properly indent it, rather than print it on one line like right now.
_______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
_______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
participants (2)
-
Canhua
-
Vladimir Sedach