refactor(wpcarro/compiler): Modularize debug fns
Define `debug.ml` and `prettify.ml` to clean-up some code. Change-Id: Iee2e1ed666f2ccb5e56cc50054ca85b8ba513f3b Reviewed-on: https://cl.tvl.fyi/c/depot/+/7078 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
This commit is contained in:
parent
a8876a4cda
commit
1e9c3955bf
7 changed files with 91 additions and 85 deletions
|
|
@ -6,7 +6,7 @@
|
|||
because one of the goals was to see how similar this OCaml implementation
|
||||
could be to the Python implementation.
|
||||
|
||||
Conclusion: It's pretty easily to switch between the two languages.
|
||||
Conclusion: It's pretty easy to switch between the two languages.
|
||||
|
||||
Usage: Recommended compilation settings I hastily found online:
|
||||
$ ocamlopt -w +A-42-48 -warn-error +A-3-44 ./register_vm.ml && ./a.out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue