package pyre-ast

  1. Overview
  2. Docs
Full-fidelity Python parser in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

pyre-ast-0.1.5.tbz
sha256=e85bcce86824b211569db595a9eee37f3339528022132035ebe01e786f2939c4
sha512=a9289656cf215e35c019868ecbb0f23e2f4cec1021e287a42f55d63085e15194899d54ecb5166da90facd95297699c4c00a19e5dc7e499e7082d7e58a86d3718

doc/CHANGES.html

0.1.5 (2021-10-8)

  • Disable LTO build of CPython in release mode. Turning on LTO turns out to be rather detrimental to link time when building downstream binaries.

0.1.4 (2021-10-5)

  • Bump the bundled CPython version to 3.10.0

0.1.3 (2021-7-22)

  • Fix crashes when parsing non-UTF8-decodable string literals.
  • \N escape sequence in string literals will no longer cause a syntax error.
  • Module parsing APIs now accept an additional enable_type_comment argument, controlling whether to parse type comments or not.

0.1.2 (2021-07-20)

  • Fix linking flags and tests on Linux.

0.1.1 (2021-07-20)

  • Column number of default parsing error starts from 0 instead of 1.
  • Correctly set up test dependency with stdio.
  • Make C bindings compatible with pre-OCaml-4.11 by always defining Val_none.

0.1.0 (2021-07-20)

Initial release.

Import code from CPython 3.10.0b3.

OCaml

Innovation. Community. Security.