<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">Thank you! I fixed the typos in the README.  The iif unit tests seem to run without errors in the github workflow.  Could you create an issue if you see one?</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="https://github.com/saleyn/etran" target="_blank">https://github.com/saleyn/etran</a></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 13, 2021 at 4:19 AM Ulf Wiger <<a href="mailto:ulf@wiger.net">ulf@wiger.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Is it just me, or is there something wrong with the pipeline example in the README?<div><br></div><div><a href="https://github.com/saleyn/etran#erlang-pipeline-erlpipe" target="_blank">https://github.com/saleyn/etran#erlang-pipeline-erlpipe</a><br></div><div><br></div><div>`Arg3` seems to be unbound. There is also a '.' ending the `fun6` line.</div><div><br></div><div>Also, eunit seems to fail on an 'iif' transform.</div><div><br></div><div>Other than that ... ;-)</div><div><br></div><div>BR,</div><div>Ulf</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 13, 2021 at 1:32 AM Serge Aleynikov <<a href="mailto:serge@aleynikov.org" target="_blank">serge@aleynikov.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'd like to announce the release of etrans - the set of parse transforms that bring some convenient syntax features that improve code readability:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><a href="https://github.com/saleyn/etran" target="_blank">https://github.com/saleyn/etran</a><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">etrans implements an Elixir-like pipeline using the following syntax:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span><br></span></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_default"><span><font face="monospace">print(A) -></font></span></div><div class="gmail_default"><span><font face="monospace">  [A] / element(1, A)</font></span></div><div class="gmail_default"><span><font face="monospace">      / io:format("~s\n", [_]).</font></span></div><div class="gmail_default"><span><font face="monospace"><br></font></span></div><div class="gmail_default"><span><font face="monospace">test(Arg1, Arg2) -></font></span></div><div class="gmail_default"><span><font face="monospace">  [Arg1, Arg2]</font></span></div><div class="gmail_default"><span><font face="monospace">  / fun1</font></span></div><div class="gmail_default"><span><font face="monospace">  / mod:fun2</font></span></div><div class="gmail_default"><span><font face="monospace">  / fun3()</font></span></div><div class="gmail_default"><span><font face="monospace">  / fun4(Arg3, _)</font></span></div><div class="gmail_default"><span><font face="monospace">  / io_lib:format("~p\n", [_])</font></span></div><div class="gmail_default"><span><font face="monospace">  / fun6([1,2,3], _, other_param)</font></span></div><div class="gmail_default"><span><font face="monospace">  / fun7.  </font></span></div><div class="gmail_default"><span><font face="monospace"><br></font></span></div></blockquote><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Additionally, it implements ternary "if" (i.e. </span><span class="gmail_default">iif(Cond, True, False)</span><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">), and stringification transforms, including "</span><span class="gmail_default">throw(Format, Args)</span><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">".</span><br></font><div><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></span></font></div><div><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Enjoy!</span></font></div><div><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></span></font></div><div><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Serge</span></font></div></div>
</blockquote></div>
</blockquote></div>