package ppx_dream_eml
PPX to process Dream's Embedded ML syntax
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.tar.gz
md5=ff3c93a02b418ae319918c0629dcb21f
sha512=503ef7735fe4421ea234b7d7d57845cbf3e016cb6f29838edad162c96fefdaac6512a1da34cfd0a432638171eba10dc6f556edaf8a610ffaf45fc73646592814
doc/ppx_dream_eml/Ppx_dream_eml/index.html
Module Ppx_dream_eml
Source
Processes a Dream Embedded ML input string and produces OCaml output.
This is lifted almost exactly from the Dream library's process_file
function, but adjusted to take a string as input and produce a string as output.
Source
val expand :
ctxt:Ppxlib.Expansion_context.Extension.t ->
string ->
Ppxlib_ast__Import.Js.Ast.Parsetree.expression
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>