<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rc/rc.1, branch master</title>
<subtitle>Byron Rakitzis' rc(1) port, with a few modifications
</subtitle>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/'/>
<entry>
<title>parse.y rc.1: support ifs-list with single backtick</title>
<updated>2022-01-02T13:36:00+00:00</updated>
<author>
<name>hhvn</name>
<email>dev@hhvn.uk</email>
</author>
<published>2022-01-02T13:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=ade87e07baf2b5315b9e56dadfb26117cc567a95'/>
<id>ade87e07baf2b5315b9e56dadfb26117cc567a95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>whitespace cleanup</title>
<updated>2018-03-20T21:59:14+00:00</updated>
<author>
<name>Toby Goodwin</name>
<email>toby@paccrat.org</email>
</author>
<published>2018-03-20T21:58:03+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=47151e4647b8decd77bb65c4fbe0dadb16ae79a8'/>
<id>47151e4647b8decd77bb65c4fbe0dadb16ae79a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>implement $nl and $tab, issue #43</title>
<updated>2018-03-19T21:50:11+00:00</updated>
<author>
<name>Toby Goodwin</name>
<email>toby@paccrat.org</email>
</author>
<published>2018-03-19T21:50:11+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=79fcb6da5a44da33459122881085297c35e781f1'/>
<id>79fcb6da5a44da33459122881085297c35e781f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'continue'</title>
<updated>2018-03-17T18:32:40+00:00</updated>
<author>
<name>Toby Goodwin</name>
<email>toby@paccrat.org</email>
</author>
<published>2018-03-17T18:32:40+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=e7b1461bb4ff9fed1b1240e50726012e365f160d'/>
<id>e7b1461bb4ff9fed1b1240e50726012e365f160d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tidy up, test cases, document flag</title>
<updated>2018-03-17T15:14:21+00:00</updated>
<author>
<name>Toby Goodwin</name>
<email>toby@paccrat.org</email>
</author>
<published>2018-03-17T15:14:21+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=cccdab7ea2bb922413f02698ecc5969c00e7a7aa'/>
<id>cccdab7ea2bb922413f02698ecc5969c00e7a7aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add continue to man page</title>
<updated>2017-08-26T23:21:39+00:00</updated>
<author>
<name>Drazen Borkovic</name>
<email>borkovic@users.noreply.github.com</email>
</author>
<published>2017-08-26T23:21:39+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=9d1668acadbddc53c673e19d4213365e92b8dbee'/>
<id>9d1668acadbddc53c673e19d4213365e92b8dbee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove trailing space</title>
<updated>2017-05-25T21:25:03+00:00</updated>
<author>
<name>Toby Goodwin</name>
<email>toby@paccrat.org</email>
</author>
<published>2017-05-25T21:25:03+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=6eb8030b2dcc91cf689394056741f47408411d69'/>
<id>6eb8030b2dcc91cf689394056741f47408411d69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Man page explanation of the -e option include the test in the while() statement.</title>
<updated>2017-05-25T21:23:17+00:00</updated>
<author>
<name>Drazen Borkovic</name>
<email>borkovic@users.noreply.github.com</email>
</author>
<published>2017-05-13T05:14:57+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=08d7e12bb904e6e427605297b9f01c3bf95d8dac'/>
<id>08d7e12bb904e6e427605297b9f01c3bf95d8dac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>document readline tilde expansion</title>
<updated>2017-04-17T22:04:12+00:00</updated>
<author>
<name>Toby Goodwin</name>
<email>toby@paccrat.org</email>
</author>
<published>2017-04-17T22:04:12+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=250c8ad26a4edb13623f492be0b608f9e02ba16c'/>
<id>250c8ad26a4edb13623f492be0b608f9e02ba16c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Parse equals sign as keyword</title>
<updated>2017-04-17T21:01:02+00:00</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2016-02-27T19:52:33+00:00</published>
<link rel='alternate' type='text/html' href='http://src.hhvn.uk/rc/commit/?id=d0ee32e585437b76f095379ec84fd753a5d30a3c'/>
<id>d0ee32e585437b76f095379ec84fd753a5d30a3c</id>
<content type='text'>
The parser treats unexpected keyword tokens (eg. if, while, ~) as literals and
not as syntax errors. It does not do this for the equals sign, but it could, as
it only has a special meaning at the beginning of a command, much like the
keywords. Doing this allows one to write commands like this:

    dd if'='/dev/zero of'='data bs'='1024 count'='1

without the quotes around the equals signs. All shells from the Bourne family
do this.

For this to work, the lexer must not automatically terminate words at equals
signs, instead it has to generate a free caret around it like for the twiddle
and other such special characters.

In the parser's grammar we need to get rid of the left recursion in the rules
for 'simple' to turn the reduce/reduce conflict at 'first' on '=' (empty -&gt;
'optcaret' or 'first' -&gt; 'simple') into a shift/reduce conflict, which then
can be solved with precedence/associativity so that the reduction of the
empty 'optcaret' wins over shifting '='.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The parser treats unexpected keyword tokens (eg. if, while, ~) as literals and
not as syntax errors. It does not do this for the equals sign, but it could, as
it only has a special meaning at the beginning of a command, much like the
keywords. Doing this allows one to write commands like this:

    dd if'='/dev/zero of'='data bs'='1024 count'='1

without the quotes around the equals signs. All shells from the Bourne family
do this.

For this to work, the lexer must not automatically terminate words at equals
signs, instead it has to generate a free caret around it like for the twiddle
and other such special characters.

In the parser's grammar we need to get rid of the left recursion in the rules
for 'simple' to turn the reduce/reduce conflict at 'first' on '=' (empty -&gt;
'optcaret' or 'first' -&gt; 'simple') into a shift/reduce conflict, which then
can be solved with precedence/associativity so that the reduction of the
empty 'optcaret' wins over shifting '='.
</pre>
</div>
</content>
</entry>
</feed>
