Skip to content

Request: js_of_ocaml example #42

@glennsl

Description

@glennsl

It seems this has been made with js_of_ocaml, and platform independence more generally, in mind. But it's not at all clear to me how you would set up a js_of_ocaml project to actually use it. It certainly isn't sufficient to just install and use timedesc, as that will try to read files from the file system.

I can see there are various backends that can be used, but none that target js_of_ocaml specifically. There's also the export-js-tzdb-* executables which do target js_of_ocaml, but I don't see how to connect these with anything else. My guess based on this is that it might require using one of these executables to generate a js bundle of the timezone db, include that in your own code somehow, then create a custom backend to utilize it?

In short, would it be possible to provide an example or a more detailed description of how this could be accomplished?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions