memo-lang 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.1
2
+ Name: memo-lang
3
+ Version: 0.1.1
4
+ Summary: A language for mental models
5
+ Author: Kartik Chandra, Tony Chen
6
+ Project-URL: Homepage, http://github.com/kach/memo
7
+ Project-URL: Repository, http://github.com/kach/memo.git
8
+ Project-URL: Issues, http://github.com/kach/memo/issues
9
+ Requires-Python: >=3.12
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: jax
12
+
13
+ # memo
14
+
15
+ memo is a new probabilistic programming language for expressing computational cognitive models involving **sophisticated recursive reasoning**, and for performing **fast enumerative inference** on such models. memo inherits from the tradition of WebPPL-based Bayesian modeling (see [probmods](http://probmods.org/), [agentmodels](https://agentmodels.org/), and [problang](https://www.problang.org/)), but aims to make models **easier to write and run** by taking advantage of modern programming language techniques and hardware capabilities.
16
+
17
+ ## Installing memo
18
+
19
+ 1. memo is based on Python. Before installing memo, make sure you have Python 3.12 or higher installed. You can check this by running `python --version`.
20
+ 2. Next, install [JAX](https://github.com/google/jax), a Python module that memo uses to produce fast, differentiable, GPU-enabled code. If you don't have a GPU, then running `pip install jax` should be enough. Otherwise, please consult the JAX website for installation instructions. You can check if JAX is installed by running `import jax` in Python.
21
+ 3. Finally, install memo by running `pip install TBD`. You can check if memo is installed by running `import memo` in Python.
@@ -0,0 +1,9 @@
1
+ # memo
2
+
3
+ memo is a new probabilistic programming language for expressing computational cognitive models involving **sophisticated recursive reasoning**, and for performing **fast enumerative inference** on such models. memo inherits from the tradition of WebPPL-based Bayesian modeling (see [probmods](http://probmods.org/), [agentmodels](https://agentmodels.org/), and [problang](https://www.problang.org/)), but aims to make models **easier to write and run** by taking advantage of modern programming language techniques and hardware capabilities.
4
+
5
+ ## Installing memo
6
+
7
+ 1. memo is based on Python. Before installing memo, make sure you have Python 3.12 or higher installed. You can check this by running `python --version`.
8
+ 2. Next, install [JAX](https://github.com/google/jax), a Python module that memo uses to produce fast, differentiable, GPU-enabled code. If you don't have a GPU, then running `pip install jax` should be enough. Otherwise, please consult the JAX website for installation instructions. You can check if JAX is installed by running `import jax` in Python.
9
+ 3. Finally, install memo by running `pip install TBD`. You can check if memo is installed by running `import memo` in Python.
@@ -0,0 +1,3 @@
1
+ from .parse import memo
2
+
3
+ __version__ = "0.1.1"