- Install Julia 1.9
- Clone
RewritingIRIF
repo - Enter a Julia REPL in the
RewritingIRIF
directory withjulia --project
(same as--project=.
) - Switch to package management mode with
]
instantiate
will install the required dependencies (Catlab, AlgebraicRewriting)- Switch back to REPL with backspace
using RewritingIRIF
should compile the package and give you access to anything you've defined and exported fromsrc/RewritingIRIF.jl
Two ways to be testing a function while you are editing it in the src
folder:
- In the REPL, type
using Revise
before you typeusing RewritingIRIF
- In VSCode, switch to the
test/Test.jl
file and it Cmd+Enter (on Mac) to iteratively step through the file (this usesRevise
under the hood). This lets you see graphics fromto_graphviz
pop up as separate windows.