Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
candid82 committed Sep 4, 2022
1 parent 50b637b commit 188bcdf
Show file tree
Hide file tree
Showing 3 changed files with 190 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/procs.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const (
PRINT_IF_NOT_NIL
)

const VERSION = "v1.0.0"
const VERSION = "v1.0.1"

const (
CLJ Dialect = iota
Expand Down
189 changes: 188 additions & 1 deletion docs/joker.os.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,42 @@ <h2 id="_summary">Summary</h2>
<h2 id="_index">Index</h2>
<ul class="index">
<li>
<a href="#SIGABRT">SIGABRT</a>
</li>
<li>
<a href="#SIGALRM">SIGALRM</a>
</li>
<li>
<a href="#SIGFPE">SIGFPE</a>
</li>
<li>
<a href="#SIGHUP">SIGHUP</a>
</li>
<li>
<a href="#SIGILL">SIGILL</a>
</li>
<li>
<a href="#SIGINT">SIGINT</a>
</li>
<li>
<a href="#SIGKILL">SIGKILL</a>
</li>
<li>
<a href="#SIGPIPE">SIGPIPE</a>
</li>
<li>
<a href="#SIGQUIT">SIGQUIT</a>
</li>
<li>
<a href="#SIGSEGV">SIGSEGV</a>
</li>
<li>
<a href="#SIGTERM">SIGTERM</a>
</li>
<li>
<a href="#SIGTRAP">SIGTRAP</a>
</li>
<li>
<a href="#args">args</a>
</li>
<li>
Expand Down Expand Up @@ -94,6 +130,9 @@ <h2 id="_index">Index</h2>
<li>
<a href="#hostname">hostname</a>
</li>
<li>
<a href="#kill">kill</a>
</li>
<li>
<a href="#lchown">lchown</a>
</li>
Expand Down Expand Up @@ -151,6 +190,12 @@ <h2 id="_index">Index</h2>
<li>
<a href="#sh-from">sh-from</a>
</li>
<li>
<a href="#signal">signal</a>
</li>
<li>
<a href="#start">start</a>
</li>
<li>
<a href="#stat">stat</a>
</li>
Expand Down Expand Up @@ -183,7 +228,115 @@ <h2 id="_index">Index</h2>
<h2 id="_constants">Constants</h2>
Constants are variables with <tt>:const true</tt> in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.
<ul>
(None.)
<li>
<h3 class="Constant" id="SIGABRT">SIGABRT</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGABRT</p>


</li>
<li>
<h3 class="Constant" id="SIGALRM">SIGALRM</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGALRM</p>


</li>
<li>
<h3 class="Constant" id="SIGFPE">SIGFPE</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGFPE</p>


</li>
<li>
<h3 class="Constant" id="SIGHUP">SIGHUP</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGHUP</p>


</li>
<li>
<h3 class="Constant" id="SIGILL">SIGILL</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGILL</p>


</li>
<li>
<h3 class="Constant" id="SIGINT">SIGINT</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGINT</p>


</li>
<li>
<h3 class="Constant" id="SIGKILL">SIGKILL</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGKILL</p>


</li>
<li>
<h3 class="Constant" id="SIGPIPE">SIGPIPE</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGPIPE</p>


</li>
<li>
<h3 class="Constant" id="SIGQUIT">SIGQUIT</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGQUIT</p>


</li>
<li>
<h3 class="Constant" id="SIGSEGV">SIGSEGV</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGSEGV</p>


</li>
<li>
<h3 class="Constant" id="SIGTERM">SIGTERM</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGTERM</p>


</li>
<li>
<h3 class="Constant" id="SIGTRAP">SIGTRAP</h3>
<span class="var-kind Constant">Int</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"></pre>
<p class="var-docstr">SIGTRAP</p>


</li>

</ul>
<h2 id="_variables">Variables</h2>
<ul>
Expand Down Expand Up @@ -434,6 +587,17 @@ <h3 class="Function" id="hostname">hostname</h3>
<p class="var-docstr">Returns the host name reported by the kernel.</p>


</li>
<li>
<h3 class="Function" id="kill">kill</h3>
<span class="var-kind Function">Function</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"><div><code>(kill pid)</code></div>
</pre>
<p class="var-docstr">Causes the process with the given PID to exit immediately.<br>
Only kills the process itself, not any other processes it may have started.</p>


</li>
<li>
<h3 class="Function" id="lchown">lchown</h3>
Expand Down Expand Up @@ -654,6 +818,29 @@ <h3 class="Function" id="sh-from">sh-from</h3>
:err - string capturing stderr of the program.</p>


</li>
<li>
<h3 class="Function" id="signal">signal</h3>
<span class="var-kind Function">Function</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"><div><code>(signal pid signal)</code></div>
</pre>
<p class="var-docstr">Sends signal to the process with the given PID.</p>


</li>
<li>
<h3 class="Function" id="start">start</h3>
<span class="var-kind Function">Function</span>
<span class="var-added">v1.0.1</span>
<pre class="var-usage"><div><code>(start name opts)</code></div>
</pre>
<p class="var-docstr">Starts a new process with the program specified by name.<br>
opts is a map with the same keys as in exec.<br>
Doesn&#39;t wait for the process to finish.<br>
Returns the process&#39;s PID.</p>


</li>
<li>
<h3 class="Function" id="stat">stat</h3>
Expand Down
Loading

0 comments on commit 188bcdf

Please sign in to comment.