Repository navigation
Expand file tree
/
Copy pathLanguage-Copilot-Compiler.html
More file actions
7 lines (7 loc) · 4.03 KB
/
Copy pathLanguage-Copilot-Compiler.html
File metadata and controls
7 lines (7 loc) · 4.03 KB
1
2
3
4
5
6
7
<!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" /><title>Language.Copilot.Compiler</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Language-Copilot-Compiler.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="http://github.com/leepike/Copilot/Language.Copilot.Compiler.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">copilot-1.0.2: A stream DSL for writing embedded C monitors.</p></div><div id="content"><div id="module-header"><p class="caption">Language.Copilot.Compiler</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Transform the copilot specification in an atom one, and then compile that one.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:copilotToAtom">copilotToAtom</a> :: <a href="Language-Copilot-Core.html#t:LangElems">LangElems</a> -> <a href="/usr/local/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Language-Copilot-Core.html#t:Period">Period</a> -> <a href="Language-Copilot-Core.html#t:Name">Name</a> -> (<a href="Language-Copilot-Core.html#t:Period">Period</a>, Atom <a href="/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>)</li><li class="src short"><a href="#v:tmpSampleStr">tmpSampleStr</a> :: <a href="/usr/local/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></li><li class="src short"><a href="#v:tmpArrName">tmpArrName</a> :: <a href="Language-Copilot-Core.html#t:Ext">Ext</a> -> <a href="/usr/local/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="Language-Copilot-Core.html#t:Var">Var</a></li><li class="src short"><a href="#v:tmpVarName">tmpVarName</a> :: <a href="Language-Copilot-Core.html#t:Ext">Ext</a> -> <a href="Language-Copilot-Core.html#t:Var">Var</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:copilotToAtom" class="def">copilotToAtom</a> :: <a href="Language-Copilot-Core.html#t:LangElems">LangElems</a> -> <a href="/usr/local/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Language-Copilot-Core.html#t:Period">Period</a> -> <a href="Language-Copilot-Core.html#t:Name">Name</a> -> (<a href="Language-Copilot-Core.html#t:Period">Period</a>, Atom <a href="/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>)</p><div class="doc"><p>Compiles an <em>Copilot</em> specification to an <em>Atom</em> one.
The period is given as a Maybe : if it is Nothing, an optimal period will be chosen.
</p></div></div><div class="top"><p class="src"><a name="v:tmpSampleStr" class="def">tmpSampleStr</a> :: <a href="/usr/local/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></p></div><div class="top"><p class="src"><a name="v:tmpArrName" class="def">tmpArrName</a> :: <a href="Language-Copilot-Core.html#t:Ext">Ext</a> -> <a href="/usr/local/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="Language-Copilot-Core.html#t:Var">Var</a></p></div><div class="top"><p class="src"><a name="v:tmpVarName" class="def">tmpVarName</a> :: <a href="Language-Copilot-Core.html#t:Ext">Ext</a> -> <a href="Language-Copilot-Core.html#t:Var">Var</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>