Try and guess an expression such as 4 * 5
when given input of a number such
as 20
. I wrote an article describing this project.
- clone this repo
cd
into directory- start julia repl and enter package mode with
]
- run
activate .
to activate project - install dependencies with
instantiate
- in shell run
sqlite3 data.db < db.sql
to create table for saving stats
Include genarith.jl
into the repl and run the ga
function with
target = somevalue
. Optionally uncomment the last few lines of genarith.jl
to be able to do julia --project genarith.jl somevalue
to run the program
from the CLI.