In preparation for the PR where we purely execute using the AST this PR refactors the AST into a standalone library. This meant moving Shark.Block (which was very Markdown focused) into Shark_ast.Ast.Block.Raw. To ease this transition the code is almost identical but I can imagine making the Raw.t more "raw" and then Shark.Block being more markdown focused.
Other things moved to like the AST dot renderer.
I don't really expect a review ((there's no new code here)) -- but just a thumbs up for the general idea and happy to answer questions @mdales ^^
In preparation for the PR where we purely execute using the AST this PR refactors the AST into a standalone library. This meant moving
Shark.Block
(which was very Markdown focused) intoShark_ast.Ast.Block.Raw
. To ease this transition the code is almost identical but I can imagine making theRaw.t
more "raw" and thenShark.Block
being more markdown focused.Other things moved to like the AST dot renderer.
I don't really expect a review ((there's no new code here)) -- but just a thumbs up for the general idea and happy to answer questions @mdales ^^