1

I'm using a syntax extension and would like to know if it's possible to output the generated code in some way.

I would rather avoid putting debug traces in the extension since I'm not the developer and doesn't know anything to camlp4.

Antoine
  • 1,782
  • 1
  • 14
  • 32

1 Answers1

1

When using syntax extensions (camlp4, ppx, ...) you can show the generated output using the -dsource option of the compiler.

Pierre Chambart
  • 1,469
  • 12
  • 17