diff options
| author | Scott Lawrence <scott+git@ineffectivetheory.com> | 2024-06-10 02:15:24 -0600 |
|---|---|---|
| committer | Scott Lawrence <scott+git@ineffectivetheory.com> | 2024-06-10 02:15:24 -0600 |
| commit | 1c3897db6d17973a66985bb6fc0c3cac0e13a5e5 (patch) | |
| tree | a5de0fe67f8119a3d7e0c962c2b665dfdcd134f8 | |
| parent | 233b57ac3318b5f44be9ef63c94726e7b4d485dc (diff) | |
| download | vatic-1c3897db6d17973a66985bb6fc0c3cac0e13a5e5.tar.gz vatic-1c3897db6d17973a66985bb6fc0c3cac0e13a5e5.tar.bz2 vatic-1c3897db6d17973a66985bb6fc0c3cac0e13a5e5.zip | |
Various stubbing
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Project.toml | 8 | ||||
| -rwxr-xr-x | runtests | 1 | ||||
| -rw-r--r-- | src/Data.jl | 5 | ||||
| -rw-r--r-- | src/MonteCarlo.jl | 6 | ||||
| -rw-r--r-- | src/Vatic.jl | 25 | ||||
| -rw-r--r-- | src/platforms/Manifold.jl | 2 | ||||
| -rw-r--r-- | src/platforms/Metaculus.jl | 2 | ||||
| -rw-r--r-- | test/runtests.jl | 1 | ||||
| -rwxr-xr-x | vatic | 2 |
10 files changed, 50 insertions, 3 deletions
@@ -1 +1,2 @@ data/ +Manifest.toml diff --git a/Project.toml b/Project.toml index 4815b83..430531c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,4 +1,10 @@ -name = "vatic" +name = "Vatic" uuid = "3f5c9d7e-ef70-4fb5-865c-f72c76f49168" authors = ["Scott Lawrence <scott+git@ineffectivetheory.com>"] version = "0.1.0" + +[deps] +ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63" +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" +TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76" diff --git a/runtests b/runtests new file mode 100755 index 0000000..1a24852 --- /dev/null +++ b/runtests @@ -0,0 +1 @@ +#!/bin/sh diff --git a/src/Data.jl b/src/Data.jl new file mode 100644 index 0000000..c1323b6 --- /dev/null +++ b/src/Data.jl @@ -0,0 +1,5 @@ +module Data + +using TOML + +end diff --git a/src/MonteCarlo.jl b/src/MonteCarlo.jl new file mode 100644 index 0000000..5d87834 --- /dev/null +++ b/src/MonteCarlo.jl @@ -0,0 +1,6 @@ +module MonteCarlo + +struct MarkovChain +end + +end diff --git a/src/Vatic.jl b/src/Vatic.jl index 275c2eb..51abad3 100644 --- a/src/Vatic.jl +++ b/src/Vatic.jl @@ -1,5 +1,26 @@ module Vatic -greet() = print("Hello World!") +include("Data.jl") -end # module vatic +include("MonteCarlo.jl") + +include("platforms/Manifold.jl") +include("platforms/Metaculus.jl") + +using ArgParse +using REPL + +function main() + args = let + s = ArgParseSettings() + @add_arg_table s begin + end + parse_args(s) + end + + term = REPL.Terminals.TTYTerminal("dumb", stdin, stdout, stderr) + repl = REPL.LineEditREPL(term, true) + REPL.run_repl(repl) +end + +end diff --git a/src/platforms/Manifold.jl b/src/platforms/Manifold.jl new file mode 100644 index 0000000..bea4735 --- /dev/null +++ b/src/platforms/Manifold.jl @@ -0,0 +1,2 @@ +module Manifold +end diff --git a/src/platforms/Metaculus.jl b/src/platforms/Metaculus.jl new file mode 100644 index 0000000..6bad7e5 --- /dev/null +++ b/src/platforms/Metaculus.jl @@ -0,0 +1,2 @@ +module Metaculus +end diff --git a/test/runtests.jl b/test/runtests.jl new file mode 100644 index 0000000..cc57e86 --- /dev/null +++ b/test/runtests.jl @@ -0,0 +1 @@ +using Test @@ -0,0 +1,2 @@ +#!/bin/sh +exec julia --project='.' -e 'using Vatic; Vatic.main()' -- $* |
