From 34fb95ff37aac4c18ee487f859d9ea06dc4305d1 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 24 May 2023 17:12:15 -0700 Subject: [PATCH] tweak: experiment with nimble file, add deps to makefile. --- compute_constrained_bayes.nimble | 15 +++++++++++++++ index.md | 23 ++++++++++++++--------- src/makefile | 3 +++ 3 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 compute_constrained_bayes.nimble diff --git a/compute_constrained_bayes.nimble b/compute_constrained_bayes.nimble new file mode 100644 index 0000000..f47b99f --- /dev/null +++ b/compute_constrained_bayes.nimble @@ -0,0 +1,15 @@ +# Package + +version = "0.1.0" +author = "NunoSempere" +description = "A nimble package which showcases a few toy versions of bayesian updating under constrained compute" +license = "MIT" +srcDir = "src" +bin = @["compute_constrained_bayes"] + + +# Dependencies + +requires "nim >= 1.6.12" +requires "https://github.com/treeform/print" + diff --git a/index.md b/index.md index 8837656..cefca27 100644 --- a/index.md +++ b/index.md @@ -1,14 +1,11 @@ ## Dependencies -nimble install https://github.com/nim-lang/bigints -https://nimdocs.com/nim-lang/bigints/bigints.html nimble install print https://github.com/treeform/print ## Dependencies The data folder is not included, but its contents are: - . ├── data │   ├── stripped @@ -16,9 +13,13 @@ The data folder is not included, but its contents are: Where stripped.gz can be found at +## Gotchas + +Nimble doesn't play well with relative directories. Ignore and use make instead? + ## To do -- [ ] Exploration of OEIS data +- [x] Exploration of OEIS data - [ ] Subdivide subsequent tasks into steps - [x] Simple prediction of the next integer - [x] Simple predictions v1 @@ -26,11 +27,15 @@ Where stripped.gz can be found at