<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dwarvish.git/src, branch gha</title>
<subtitle>a (mostly) posix compliant shell and tiny functional programming language
</subtitle>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/'/>
<entry>
<title>Parser tests</title>
<updated>2024-02-29T07:25:05+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-29T07:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=632b0f2a145df1c8a5d352e5ec91809ea939b1c7'/>
<id>632b0f2a145df1c8a5d352e5ec91809ea939b1c7</id>
<content type='text'>
Added twelve different tests for the parser (Poem::read).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added twelve different tests for the parser (Poem::read).
</pre>
</div>
</content>
</entry>
<entry>
<title>Parsing poems from a file</title>
<updated>2024-02-29T07:09:25+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-29T07:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=691444ca356820a0174d46a6cf1db0f65abae521'/>
<id>691444ca356820a0174d46a6cf1db0f65abae521</id>
<content type='text'>
Added a match statement in the main parser loop that pushes a new verse
into the poem if a newline is found. This might happen if parsing a poem
from a file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added a match statement in the main parser loop that pushes a new verse
into the poem if a newline is found. This might happen if parsing a poem
from a file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ps macros doc comments</title>
<updated>2024-02-29T06:04:51+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-29T06:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=75407774ce163df53c28391fb653c3714abd1aef'/>
<id>75407774ce163df53c28391fb653c3714abd1aef</id>
<content type='text'>
[Verse] is not in scope for the ps module, so removed the link in the
documentation comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Verse] is not in scope for the ps module, so removed the link in the
documentation comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add doc comments for ps macros</title>
<updated>2024-02-29T06:02:20+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-29T06:02:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=55e9a27bde60a8e4fbb6306871b6317d68685987'/>
<id>55e9a27bde60a8e4fbb6306871b6317d68685987</id>
<content type='text'>
Added documentation comments for the recite::ps::task and
recite::ps::ctask macros.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added documentation comments for the recite::ps::task and
recite::ps::ctask macros.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add doc comments for incant_ functions</title>
<updated>2024-02-29T05:50:46+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-29T05:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=0bc9fc5c605a1247143db4af54782427de5df3c5'/>
<id>0bc9fc5c605a1247143db4af54782427de5df3c5</id>
<content type='text'>
Added documentation comments for the Meter::incant_ functions,
describing how each function operates.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added documentation comments for the Meter::incant_ functions,
describing how each function operates.
</pre>
</div>
</content>
</entry>
<entry>
<title>Parser comments and error checking</title>
<updated>2024-02-29T05:49:37+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-29T05:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=e03f1cff8886be20f6c765a01c0ebd7d93a9663a'/>
<id>e03f1cff8886be20f6c765a01c0ebd7d93a9663a</id>
<content type='text'>
Added an index to keep track of what position each char is at in the
loop. Added a more verbose error message, which prints out the column
that the parse error was detected, as well as the glyph that threw the
error. Added more comments to the '&amp;', whitespace, and char match
statements. Changed parser behavior, so that a ';' glyph without a
stanza does not cause a parser error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added an index to keep track of what position each char is at in the
loop. Added a more verbose error message, which prints out the column
that the parse error was detected, as well as the glyph that threw the
error. Added more comments to the '&amp;', whitespace, and char match
statements. Changed parser behavior, so that a ';' glyph without a
stanza does not cause a parser error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor status variables in Poem::read()</title>
<updated>2024-02-29T05:00:26+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-29T05:00:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=b8db4a0cda9eb080c9e89c635be4c9abfc9f88d6'/>
<id>b8db4a0cda9eb080c9e89c635be4c9abfc9f88d6</id>
<content type='text'>
Moved the 'couplet' and 'metered' variables into functions impl'd for
Verse. This cuts down on the boilerplate in the parsing loop, and also
makes it so that their match statements are only ran when needed, rather
than being called at every iteration of the loop.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Moved the 'couplet' and 'metered' variables into functions impl'd for
Verse. This cuts down on the boilerplate in the parsing loop, and also
makes it so that their match statements are only ran when needed, rather
than being called at every iteration of the loop.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix &amp;&amp; behavior regression</title>
<updated>2024-02-28T23:05:45+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-28T23:05:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=2d2d5af3553b732237937549dc9b6df28b7c00cb'/>
<id>2d2d5af3553b732237937549dc9b6df28b7c00cb</id>
<content type='text'>
Introduce a switch to break from recite() if the forked process returns
a non-zero exit code. The one except to this, is when using semicolons,
then we do not care if the previous command failed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a switch to break from recite() if the forked process returns
a non-zero exit code. The one except to this, is when using semicolons,
then we do not care if the previous command failed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove zombie slayer code from main repl</title>
<updated>2024-02-28T23:04:20+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-28T23:04:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=5890deb68e54838559c5d32c70d65e033e33d682'/>
<id>5890deb68e54838559c5d32c70d65e033e33d682</id>
<content type='text'>
Reaping is currently handled by a signal handler, so this code is no
longer necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reaping is currently handled by a signal handler, so this code is no
longer necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove custom errors and fix background forking</title>
<updated>2024-02-27T10:49:01+00:00</updated>
<author>
<name>Rory Dudley</name>
</author>
<published>2024-02-27T10:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dwarvish.org/dwarvish.git/commit/?id=e94d09da9449cabd7ece2acd98d52b1946a922a4'/>
<id>e94d09da9449cabd7ece2acd98d52b1946a922a4</id>
<content type='text'>
Removes the custom errors in src/recite/erro.rs, and replaces them with
std::io::Errors throughout (recite(), incant_, macros).

Fixed a bug with the way forking to the background is handled, where
registering the signal handler in main for all processes would break
couplets (i.e. pipes). Instead, this sets up a new signal handler each
time a process is forked into the background. It uses a Vec&lt;i32&gt; to keep
track of all the background processes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes the custom errors in src/recite/erro.rs, and replaces them with
std::io::Errors throughout (recite(), incant_, macros).

Fixed a bug with the way forking to the background is handled, where
registering the signal handler in main for all processes would break
couplets (i.e. pipes). Instead, this sets up a new signal handler each
time a process is forked into the background. It uses a Vec&lt;i32&gt; to keep
track of all the background processes.
</pre>
</div>
</content>
</entry>
</feed>
