<div>I can get tokens with erl_scan:string(Code), then i can modify it and get forms with erl_parse:parse_form(Modified_tokens). Then i can do compile:forms(Forms).</div><div><br></div><div>I can set -compile(parse_transform, Module).</div><div>But parse_transform allow to modify forms. Are there any way to modify tokens while compiling ?</div>