Skip to content

Commit

Permalink
fix missing context_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
clyben committed Jun 7, 2024
1 parent 900f5f9 commit 74639d9
Show file tree
Hide file tree
Showing 26 changed files with 33,530 additions and 44 deletions.
4,058 changes: 4,058 additions & 0 deletions d.egg

Large diffs are not rendered by default.

Empty file added d3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions dag_in_context/example.egg
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
(let tpl_s__0
(TupleT (TCons (StateT) (TNil))))
(let in_func__1
(InFunc "dummy"))
(let tpl_iiiis__2
(TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))))
(let in_loop__3
(InLoop (Concat (Single (Const (Int 1) (TupleT (TCons (StateT) (TNil))) (InFunc "dummy"))) (Concat (Single (Const (Int 2) (TupleT (TCons (StateT) (TNil))) (InFunc "dummy"))) (Concat (Single (Const (Int 3) (TupleT (TCons (StateT) (TNil))) (InFunc "dummy"))) (Concat (Single (Const (Int 4) (TupleT (TCons (StateT) (TNil))) (InFunc "dummy"))) (Single (Get (Arg (TupleT (TCons (StateT) (TNil))) (InFunc "dummy")) 0)))))) (Concat (Concat (Single (Bop (LessThan) (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 0) (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 3))) (Concat (Single (Bop (Add) (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 0) (Bop (Add) (Bop (Sub) (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 2) (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 1)) (Const (Int 0) (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy"))))) (Single (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 1)))) (Concat (Concat (Single (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 2)) (Single (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 3))) (Single (Bop (Print) (Bop (Add) (Bop (Add) (Bop (Sub) (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 2) (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 1)) (Const (Int 0) (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy"))) (Const (Int 4) (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy"))) (Get (Arg (TupleT (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (IntT) (TCons (StateT) (TNil))))))) (InFunc "dummy")) 4)))))))
(let Add__22
(Bop (Add)
(Bop (Sub)
(Get (Arg tpl_iiiis__2 in_loop__3) 2)
(Get (Arg tpl_iiiis__2 in_loop__3) 1))
(Const (Int 0) tpl_iiiis__2 in_loop__3)))
(let dowhile__35
(DoWhile
(Concat (Single (Const (Int 1) tpl_s__0 in_func__1)) (Concat (Single (Const (Int 2) tpl_s__0 in_func__1)) (Concat (Single (Const (Int 3) tpl_s__0 in_func__1)) (Concat (Single (Const (Int 4) tpl_s__0 in_func__1)) (Single (Get (Arg tpl_s__0 in_func__1) 0))))))
(Concat (Concat (Single (Bop (LessThan)
(Get (Arg tpl_iiiis__2 in_loop__3) 0)
(Get (Arg tpl_iiiis__2 in_loop__3) 3))) (Concat (Single (Bop (Add)
(Get (Arg tpl_iiiis__2 in_loop__3) 0)
Add__22)) (Single (Get (Arg tpl_iiiis__2 in_loop__3) 1)))) (Concat (Concat (Single (Get (Arg tpl_iiiis__2 in_loop__3) 2)) (Single (Get (Arg tpl_iiiis__2 in_loop__3) 3))) (Single (Bop (Print)
(Bop (Add)
Add__22
(Const (Int 4) tpl_iiiis__2 in_loop__3))
(Get (Arg tpl_iiiis__2 in_loop__3) 4)))))))
Loading

0 comments on commit 74639d9

Please sign in to comment.