<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="389108" data-post-id="389108">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mudasobwa" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mudasobwa/120/5298_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mudasobwa
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Cure</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I spent the whole morning figuring out do I need to introduce <code>if only</code> construct to <a href="https://cure-lang.org" rel="noopener nofollow ugc">Cure</a>.</p>
<p>As in</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">if only payment.succeeded?, dont: goods.buy
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="389108" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/metastatic-a-metaast-for-elixir-erlang-and-technically-every-language/75260/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-389108" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="389108"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="389248" data-post-id="389248">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="c4lliope" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/c4lliope/120/39759_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  c4lliope
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a class="mention" href="/u/mudasobwa" rel="nofollow">@mudasobwa</a> - I’m looking at security modeling for the BEAM.<br>
Thinking Elixir podcast <span class="hashtag-raw">#300</span> referenced a library called Reach:</p>
<aside class="onebox allowlistedgeneric" data-onebox-src="https://hex.pm/packages/reach">
  <header class="source">
      <img src="https://hex.pm/images/hex-full-a8183c4f9adac71516516d107d402b18.svg?vsn=d" class="site-icon" alt="" width="136" height="120">

      <a href="https://hex.pm/packages/reach" target="_blank" rel="noopener nofollow">Hex</a>
  </header>

  <article class="onebox-body">
    <img width="160" height="160" src="https://hex.pm/images/favicon-160-3770bc59f1f8ba7656b4db5a1eacd8e3.png?vsn=d" class="thumbnail onebox-avatar" alt="">

<h3><a href="https://hex.pm/packages/reach" target="_blank" rel="noopener nofollow">reach</a></h3>

  <p>Program dependence graph for Elixir, Erlang, Gleam, JavaScript, and TypeScript</p>


  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>

<p>This call-graph approach seems like it could meld into the metastatic compiler. Fun to add to a codebase and play around; less useful as-is than I had hoped. Could you imagine any chance of melding your packages together?</p>
<p>Copying from their README, they handle these languages:</p>
<blockquote>
<p>Elixir, Erlang, Gleam, JavaScript, and TypeScript</p>
</blockquote> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="389248" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/metastatic-a-metaast-for-elixir-erlang-and-technically-every-language/75260/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-389248" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="389248"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="389251" data-post-id="389251">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mudasobwa" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mudasobwa/120/5298_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mudasobwa
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Cure</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>BEAM languages do provide their own native AST which <code>metastatic</code> uses. JS/TS is planned by me, but not yet even taught.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="389251" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/metastatic-a-metaast-for-elixir-erlang-and-technically-every-language/75260/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-389251" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="389251"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="393402" data-post-id="393402">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mudasobwa" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mudasobwa/120/5298_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mudasobwa
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Cure</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><strong><code>v0.30.0</code></strong> the milestone release with a lot of goodness and 4 new supported languages.</p>
<p><code>:metastatic</code> now officially supports <strong><code>9</code></strong> programming languages:</p>
<div class="md-table">
<table>
<thead>
<tr>
<th>Language</th>
<th>Atom Identifier</th>
<th>Supported Extensions</th>
<th>Adapter Module</th>
<th>Parser Strategy</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cure</td>
<td>:cure</td>
<td>.cure</td>
<td>cure.ex</td>
<td>In-process BEAM modules with Subprocess fallback</td>
</tr>
<tr>
<td>Elixir</td>
<td>:elixir</td>
<td>.ex, .exs</td>
<td>elixir.ex</td>
<td>Native Elixir Code.string_to_quoted/2</td>
</tr>
<tr>
<td>Erlang</td>
<td>:erlang</td>
<td>.erl, .hrl</td>
<td>erlang.ex</td>
<td>Native BEAM :erl_scan and :erl_parse</td>
</tr>
<tr>
<td>Haskell</td>
<td>:haskell</td>
<td>.hs, .lhs</td>
<td>haskell.ex</td>
<td>Subprocess Stack binary (priv/parsers/haskell)</td>
</tr>
<tr>
<td>JavaScript</td>
<td>:javascript</td>
<td>.js, .jsx</td>
<td>javascript.ex</td>
<td>Subprocess Node.js Babel parser (priv/parsers/js)</td>
</tr>
<tr>
<td>March</td>
<td>:march</td>
<td>.march, .mch</td>
<td>march.ex</td>
<td>Subprocess OCaml Dune binary (priv/parsers/march)</td>
</tr>
<tr>
<td>Python</td>
<td>:python</td>
<td>.py</td>
<td>python.ex</td>
<td>Subprocess Python ast parser (priv/parsers/python)</td>
</tr>
<tr>
<td>Ruby</td>
<td>:ruby</td>
<td>.rb</td>
<td>ruby.ex</td>
<td>Subprocess Prism / Parser gem (priv/parsers/ruby)</td>
</tr>
<tr>
<td>TypeScript</td>
<td>:typescript</td>
<td>.ts, .tsx</td>
<td>typescript.ex</td>
<td>Subprocess TypeScript compiler API (priv/parsers/js)</td>
</tr>
</tbody>
</table>
</div><p>The upcoming <code>:metacredo</code> update should provide an ability to run credo checks for the codebases in all these languages. Needs further polishing and thorough testing though.</p>
<p>¡Enjoy!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="393402" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/metastatic-a-metaast-for-elixir-erlang-and-technically-every-language/75260/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-393402" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="393402"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>