sorry it's in such a bad state but this didn't go very far
so hopefully i get farther with the other method and this branch is lost to history. but in case it's not, lol
This commit is contained in:
12
notes.org
12
notes.org
@ -1,4 +1,16 @@
|
||||
* usage:
|
||||
|
||||
evaulate the following in ur ocaml toplevel (`$ ocaml`):
|
||||
|
||||
```
|
||||
#use_output "dune ocaml top";;
|
||||
Dot_of_tast.dot_of_tast "let rec fact n = if n = 0 then 1. else float n *. fact (n - 1)";;
|
||||
```
|
||||
|
||||
run in shell to see output:
|
||||
```
|
||||
$ xdot x.dot
|
||||
```
|
||||
|
||||
|
||||
** current development pattern
|
||||
|
||||
Reference in New Issue
Block a user