steinuil / xobl

[WIP] Pure OCaml bindings to the X11 protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xobl

The X11 OCaml Bindings Library. A Pure OCaml implementation of the X11 protocol.

TODO

  • Tweaks to HIR
    • GetProperty reply: remove value_len. It's left in because the length field is calculated using both value_len and format.
    • prune unused enums and masks after converting them to variants and optional fields.
    • fix QueryTextExtents
      • there is a field that depends on the length of the whole request(!) so we should probably handle it.
  • Bindings
    • come up with a better API for sending multiple requests at once.
      • how do we encode stuff which needs a reply?
    • events/variant structs/errors that are only made of one field should be converted to that one field.
      • notify_variant
  • OCaml backend
    • encode/decode events and errors.
    • change handling of flags?

Documentation

Other implementations generated from the spec

Xlib implementations (not generated) of note

Further reading/watching

About

[WIP] Pure OCaml bindings to the X11 protocol

License:ISC License


Languages

Language:OCaml 99.1%Language:Nix 0.9%