-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytecode.opam
More file actions
37 lines (37 loc) · 959 Bytes
/
Copy pathpytecode.opam
File metadata and controls
37 lines (37 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "CPython bytecode AST for OCaml"
description: """
Compiles Python source with the host CPython (pinned 3.13) and exposes the
resulting bytecode as a pure OCaml data structure: an array of instructions
with opcodes as a variant type, plus full code-object metadata (constants,
names, localsplus, exception table, line/position info). Intended as the
foundation for a Python interpreter written in OCaml."""
maintainer: ["sachaayoun@gmail.com"]
authors: ["Sacha-Élie Ayoun"]
license: "Apache-2.0"
depends: [
"dune" {>= "3.16"}
"ocaml" {>= "5.2"}
"yojson" {>= "2.0"}
"zarith" {>= "1.12"}
"fmt" {>= "0.9"}
"ppxlib" {>= "0.32"}
"ppx_deriving"
"ppx_expect" {with-test}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]