https://github.com/hcarty/ocaml-pytoy
Playing with OCaml + pyml
https://github.com/hcarty/ocaml-pytoy
Last synced: 5 months ago
JSON representation
Playing with OCaml + pyml
- Host: GitHub
- URL: https://github.com/hcarty/ocaml-pytoy
- Owner: hcarty
- Created: 2020-04-11T17:53:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-12T02:03:14.000Z (about 6 years ago)
- Last Synced: 2025-07-21T11:45:38.684Z (11 months ago)
- Language: OCaml
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Playing with OCaml loading Python dynamically
This toy project requires a relatively recent version of Python and well as
`dune` and `pyml` which can be installed via opam.
```
$ opam install dune pyml
```
Then the example can be run with dune.
```
$ dune exec ./pytoy.exe
Hey there, how about some APPLES?
None
I print out a different message
None
Oh cool, toy.setme is now {'APPLES': 'Set by a.py'}
None
```