Skip to content

Commit

Permalink
Add common Macro
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-adam committed Jan 26, 2025
1 parent 9d8f4d8 commit 31df50c
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/developers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 📅 Revision history for HelPA

## 0.4.6.6 -- 2025-01-26
* Add common Macro
* Refactor `AsmParserExtra`
* Update `helio`

Expand Down
1 change: 1 addition & 0 deletions docs/reports/helpa/HelVM-HelPA-Assembler-Macro.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>HelVM.HelPA.Assembler.Macro</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">helpa</span><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">HelVM.HelPA.Assembler.Macro</p></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Macro" class="def">Macro</a> a <a href="#t:Macro" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Micro" class="def">Micro</a> a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:Call" class="def">Call</a> <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:Def" class="def">Def</a> <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a> [<a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a]</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Macro">Instances</h4><details id="i:Macro" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Macro:Read:1"></span> <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:Read" title="Prelude">Read</a> a =&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:Read" title="Prelude">Read</a> (<a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a)</span> <a href="#t:Macro" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Macro:Read:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="HelVM-HelPA-Assembler-Macro.html">HelVM.HelPA.Assembler.Macro</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:ReadS" title="Prelude">ReadS</a> (<a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a) <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:ReadS" title="Prelude">ReadS</a> [<a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Text-ParserCombinators-ReadPrec.html#t:ReadPrec" title="Text.ParserCombinators.ReadPrec">ReadPrec</a> (<a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a) <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Text-ParserCombinators-ReadPrec.html#t:ReadPrec" title="Text.ParserCombinators.ReadPrec">ReadPrec</a> [<a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a] <a href="#v:readListPrec" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Macro:Show:2"></span> <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:Show" title="Prelude">Show</a> a =&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:Show" title="Prelude">Show</a> (<a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a)</span> <a href="#t:Macro" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Macro:Show:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="HelVM-HelPA-Assembler-Macro.html">HelVM.HelPA.Assembler.Macro</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:ShowS" title="Prelude">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-String.html#t:String" title="Data.String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a] -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:ShowS" title="Prelude">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Macro:Eq:3"></span> <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Eq.html#t:Eq" title="Data.Eq">Eq</a> a =&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Eq.html#t:Eq" title="Data.Eq">Eq</a> (<a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a)</span> <a href="#t:Macro" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Macro:Eq:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="HelVM-HelPA-Assembler-Macro.html">HelVM.HelPA.Assembler.Macro</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a -&gt; <a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a -&gt; <a href="HelVM-HelPA-Assembler-Macro.html#t:Macro" title="HelVM.HelPA.Assembler.Macro">Macro</a> a -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Header" class="def">Header</a> <a href="#t:Header" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Header" class="def">Header</a> [<a href="HelVM-HelPA-Assembler-Value.html#t:IntegerValue" title="HelVM.HelPA.Assembler.Value">IntegerValue</a>] <a href="file:///Users/kamilzabinski/.local/state/cabal/store/ghc-9.10.1-inplace/rld-1.2.2.0-1d824a89/share/doc/html/Relude-String-Reexport.html#t:Text" title="Relude.String.Reexport">Text</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Header">Instances</h4><details id="i:Header" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Header:Read:1"></span> <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:Read" title="Prelude">Read</a> <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a></span> <a href="#t:Header" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Header:Read:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="HelVM-HelPA-Assembler-Macro.html">HelVM.HelPA.Assembler.Macro</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:ReadS" title="Prelude">ReadS</a> <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a> <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:ReadS" title="Prelude">ReadS</a> [<a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a>] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Text-ParserCombinators-ReadPrec.html#t:ReadPrec" title="Text.ParserCombinators.ReadPrec">ReadPrec</a> <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a> <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Text-ParserCombinators-ReadPrec.html#t:ReadPrec" title="Text.ParserCombinators.ReadPrec">ReadPrec</a> [<a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a>] <a href="#v:readListPrec" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Header:Show:2"></span> <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:Show" title="Prelude">Show</a> <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a></span> <a href="#t:Header" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Header:Show:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="HelVM-HelPA-Assembler-Macro.html">HelVM.HelPA.Assembler.Macro</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a> -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:ShowS" title="Prelude">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a> -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-String.html#t:String" title="Data.String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a>] -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Prelude.html#t:ShowS" title="Prelude">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Header:Eq:3"></span> <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Eq.html#t:Eq" title="Data.Eq">Eq</a> <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a></span> <a href="#t:Header" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Header:Eq:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="HelVM-HelPA-Assembler-Macro.html">HelVM.HelPA.Assembler.Macro</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a> -&gt; <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a> -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a> -&gt; <a href="HelVM-HelPA-Assembler-Macro.html#t:Header" title="HelVM.HelPA.Assembler.Macro">Header</a> -&gt; <a href="${pkgroot}/../../../share/doc/ghc-9.10.1/html/libraries/base-4.20.0.0-inplace/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></details></td></tr></table></details></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.28.0</p></div></body></html>
2 changes: 1 addition & 1 deletion docs/reports/helpa/doc-index-All.html

Large diffs are not rendered by default.

Loading

0 comments on commit 31df50c

Please sign in to comment.