Skip to content

Commit

Permalink
Add ELVM/DSL for WSA
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-adam committed Apr 15, 2024
1 parent cb3b0ee commit b442f76
Show file tree
Hide file tree
Showing 42 changed files with 719 additions and 100 deletions.
3 changes: 3 additions & 0 deletions docs/developers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# 📅 Revision history for HelPA

## 0.4.5.6 -- 2024-04-15
* Add ELVM/DSL for WSA

## 0.4.5.5 -- 2024-02-02
* Fix "This binding for ‘golden’ shadows the existing binding"

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/reports/helpa/HelVM-HelPA-Assemblers-Common-DSL.html
Original file line number Diff line number Diff line change
@@ -1 +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.Assemblers.Common.DSL</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-0.4.5.5: HELPA - Heavenly Esoteric Little Portable Assembler to esoteric languages</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.Assemblers.Common.DSL</p></div><div id="interface"></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.24.2</p></div></body></html>
<!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.Assemblers.Common.DSL</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-0.4.5.5: HELPA - Heavenly Esoteric Little Portable Assembler to esoteric languages</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.Assemblers.Common.DSL</p></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Register" class="def">Register</a> <a href="#t:Register" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:R" class="def">R</a> <a href="file:///home/kamil-adam/.ghcup/ghc/8.10.5/share/doc/ghc-8.10.5/html/libraries/text-1.2.4.1/Data-Text.html#t:Text" title="Data.Text">Text</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><a id="v:calculateLabel" class="def">calculateLabel</a> :: <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:MonadDSL" title="HelVM.HelPA.Assemblers.Common.DSL">MonadDSL</a> a m =&gt; m <a href="HelVM-HelPA-Assembler-Value.html#t:Identifier" title="HelVM.HelPA.Assembler.Value">Identifier</a> <a href="#v:calculateLabel" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:calculateLocalLabel" class="def">calculateLocalLabel</a> :: <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:MonadDSL" title="HelVM.HelPA.Assemblers.Common.DSL">MonadDSL</a> a m =&gt; <a href="HelVM-HelPA-Assembler-Value.html#t:Identifier" title="HelVM.HelPA.Assembler.Value">Identifier</a> -&gt; m <a href="HelVM-HelPA-Assembler-Value.html#t:Identifier" title="HelVM.HelPA.Assembler.Value">Identifier</a> <a href="#v:calculateLocalLabel" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:acc" class="def">acc</a> :: <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Register" title="HelVM.HelPA.Assemblers.Common.DSL">Register</a> <a href="#v:acc" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:acc1" class="def">acc1</a> :: <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Register" title="HelVM.HelPA.Assemblers.Common.DSL">Register</a> <a href="#v:acc1" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Immediate" class="def">Immediate</a> <a href="#t:Immediate" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:I" class="def">I</a> <a href="file:///home/kamil-adam/.ghcup/ghc/8.10.5/share/doc/ghc-8.10.5/html/libraries/base-4.14.2.0/Prelude.html#t:Integer" title="Prelude">Integer</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><a id="v:unRegister" class="def">unRegister</a> :: <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Register" title="HelVM.HelPA.Assemblers.Common.DSL">Register</a> -&gt; <a href="file:///home/kamil-adam/.ghcup/ghc/8.10.5/share/doc/ghc-8.10.5/html/libraries/text-1.2.4.1/Data-Text.html#t:Text" title="Data.Text">Text</a> <a href="#v:unRegister" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:unImmediate" class="def">unImmediate</a> :: <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Immediate" title="HelVM.HelPA.Assemblers.Common.DSL">Immediate</a> -&gt; <a href="file:///home/kamil-adam/.ghcup/ghc/8.10.5/share/doc/ghc-8.10.5/html/libraries/base-4.14.2.0/Prelude.html#t:Integer" title="Prelude">Integer</a> <a href="#v:unImmediate" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:ImmediateORRegister" class="def">ImmediateORRegister</a> = <a href="file:///home/kamil-adam/.ghcup/ghc/8.10.5/share/doc/ghc-8.10.5/html/libraries/base-4.14.2.0/Data-Either.html#t:Either" title="Data.Either">Either</a> <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Immediate" title="HelVM.HelPA.Assemblers.Common.DSL">Immediate</a> <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Register" title="HelVM.HelPA.Assemblers.Common.DSL">Register</a> <a href="#t:ImmediateORRegister" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:dsl" class="def">dsl</a> :: <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:MonadDSL" title="HelVM.HelPA.Assemblers.Common.DSL">MonadDSL</a> a m =&gt; a -&gt; m () <a href="#v:dsl" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Config" class="def">Config</a> = <a href="file:///home/kamil-adam/.ghcup/ghc/8.10.5/share/doc/ghc-8.10.5/html/libraries/base-4.14.2.0/GHC-Natural.html#t:Natural" title="GHC.Natural">Natural</a> <a href="#t:Config" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Environment" class="def">Environment</a> = <a href="file:///home/kamil-adam/.ghcup/ghc/8.10.5/share/doc/ghc-8.10.5/html/libraries/base-4.14.2.0/GHC-Natural.html#t:Natural" title="GHC.Natural">Natural</a> <a href="#t:Environment" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MonadDSL" class="def">MonadDSL</a> a m = <a href="file:///home/kamil-adam/.ghcup/ghc/8.10.5/share/doc/ghc-8.10.5/html/libraries/mtl-2.2.2/Control-Monad-RWS-Class.html#t:MonadRWS" title="Control.Monad.RWS.Class">MonadRWS</a> <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Config" title="HelVM.HelPA.Assemblers.Common.DSL">Config</a> [a] <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Environment" title="HelVM.HelPA.Assemblers.Common.DSL">Environment</a> m <a href="#t:MonadDSL" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:DSL" class="def">DSL</a> a = <a href="file:///home/kamil-adam/.ghcup/ghc/8.10.5/share/doc/ghc-8.10.5/html/libraries/mtl-2.2.2/Control-Monad-RWS-Lazy.html#t:RWS" title="Control.Monad.RWS.Lazy">RWS</a> <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Config" title="HelVM.HelPA.Assemblers.Common.DSL">Config</a> [a] <a href="HelVM-HelPA-Assemblers-Common-DSL.html#t:Environment" title="HelVM.HelPA.Assemblers.Common.DSL">Environment</a> () <a href="#t:DSL" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.24.2</p></div></body></html>

Large diffs are not rendered by default.

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.Assemblers.Frontend.WSA.ExtendInstruction</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-0.4.5.3: HELPA - Heavenly Esoteric Little Portable Assembler to esoteric languages</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.Assemblers.Frontend.WSA.ExtendInstruction</p></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:ExtendInstruction" class="def">ExtendInstruction</a> <a href="#t:ExtendInstruction" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Basic" class="def">Basic</a> <a href="HelVM-HelPA-Assemblers-Frontend-WSA-Instruction.html#t:Instruction" title="HelVM.HelPA.Assemblers.Frontend.WSA.Instruction">Instruction</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:DynamicJump" class="def">DynamicJump</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.24.2</p></div></body></html>
Loading

0 comments on commit b442f76

Please sign in to comment.