caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Philippe Veber <philippe.veber@gmail.com>
To: caml users <caml-list@inria.fr>
Subject: [Caml-list] Sexplib and js_of_ocaml
Date: Wed, 26 Jul 2017 10:38:09 +0200	[thread overview]
Message-ID: <CAOOOohTQqUzAwsBVCZbtOhzQwTWshJYFVw9YpFWfSx5fduUSdw@mail.gmail.com> (raw)
In-Reply-To: <CAOOOohTVReOVEvPB+oD3iW_b20piQA93YCQLzD-5zhhtJa5XNg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

Dear all,

I recently noticed that sexplib parser fails with a "Too much recursion"
exception when run in the browser on a very moderately sized string
representation of an S-exp. I understand this is due to the absence of tail
call optimization (although js_of_ocaml performs it in the case of a single
recursive function). With this idea in mind, I suppose there is no simple
workaround, so I wanted to ask if anyone knew a convenient replacement for
serialization/deserialization that would work in the browser.

Cheers,
Philippe.

[-- Attachment #2: Type: text/html, Size: 684 bytes --]

       reply	other threads:[~2017-07-26  8:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOOOohQYCKAEUXgDtvi_VLfU1qJgNjMKZfjcnTyMJ-ge-6Oo_A@mail.gmail.com>
     [not found] ` <CAOOOohQU1cJ89iZridtT1Jp1irLodSo-DUT_q6T+q27PJtrmgA@mail.gmail.com>
     [not found]   ` <CAOOOohRi+axyz5kwbdEaTCN0=MfXx8pOHk0Ah6YgYy0ZEYT2Xg@mail.gmail.com>
     [not found]     ` <CAOOOohTbbpt3eARSPSAuafTd_SRt=S769KJLPZ93-R8u0KG-dw@mail.gmail.com>
     [not found]       ` <CAOOOohRvc4vSqMC1SeHH0k5RZzKd8S2Ek1YweKNFi5CH0uhEDw@mail.gmail.com>
     [not found]         ` <CAOOOohSgpraamwc720MAdoPgydvzhZfmOBA05zrBBGuonLNf0g@mail.gmail.com>
     [not found]           ` <CAOOOohQ4=T24Te0W4uQAAD9A8dd+AaxE8ahHzjU+j8ckPvOJOg@mail.gmail.com>
     [not found]             ` <CAOOOohT_nJ5=evDwRdDOGwb0ORL0egRO1jRCzB=2rdX7-0Jgbw@mail.gmail.com>
     [not found]               ` <CAOOOohT2XDNZRVS9CMfsBCvHeqeo58rFYTpiERm_gxL37ACmyA@mail.gmail.com>
     [not found]                 ` <CAOOOohTpSwKhbJz3-Tb+aERMBe7tT+9YP9eJhPkSVJviByB_Qw@mail.gmail.com>
     [not found]                   ` <CAOOOohRYhqLnQMrUMbbEGa5AUGsk=s05128bhUT6Jhkdx27X0g@mail.gmail.com>
     [not found]                     ` <CAOOOohRHoC96DiNiLTkEoeNBnjNbjwMk7RBwOWozH1ho5GN8Zg@mail.gmail.com>
     [not found]                       ` <CAOOOohTVReOVEvPB+oD3iW_b20piQA93YCQLzD-5zhhtJa5XNg@mail.gmail.com>
2017-07-26  8:38                         ` Philippe Veber [this message]
2017-07-26  9:17                           ` Jeremie Dimino
2017-07-26  9:29                             ` Philippe Veber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOOOohTQqUzAwsBVCZbtOhzQwTWshJYFVw9YpFWfSx5fduUSdw@mail.gmail.com \
    --to=philippe.veber@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).