package pyre-ast

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

Install

Dune Dependency

Authors

Maintainers

Sources

pyre-ast-0.1.3.tbz
sha256=9f891a0f59638d7e9efd2b0d49068f3096689fd249803788c07c47b93e49e700
sha512=cc7004453fb624e78bef15b9b0271b172e55e4cc856b4b7c3683af8172b4fa8323e05ba19462faf27a0371c16f7cd1e0e20f9fdc188b14cfe4b8993a7b575872

CHANGES.md.html

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.