<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rep.git/chain/src/item/default, branch master</title>
<subtitle>Parser generator for Emacs written in Rust
</subtitle>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/'/>
<entry>
<title>Move the trait `Forest` to the crate "forest".</title>
<updated>2023-08-10T03:14:04+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-08-10T03:14:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=b8a2d05a3c0d835556d5ddbd44e4a1e201302af5'/>
<id>b8a2d05a3c0d835556d5ddbd44e4a1e201302af5</id>
<content type='text'>
The purpose of this change is to share this trait with other crates,
such as the forth-coming "semiring" crate that will be responsible for
handling some simple semiring operations as well as the querying, in
my plans.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The purpose of this change is to share this trait with other crates,
such as the forth-coming "semiring" crate that will be responsible for
handling some simple semiring operations as well as the querying, in
my plans.
</pre>
</div>
</content>
</entry>
<entry>
<title>minor adjustments</title>
<updated>2023-08-04T02:12:04+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-08-04T02:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=7033187abaf42772097377c0a1ffc2cd4cefdada'/>
<id>7033187abaf42772097377c0a1ffc2cd4cefdada</id>
<content type='text'>
Not bug deals but adjustments of details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not bug deals but adjustments of details.
</pre>
</div>
</content>
</entry>
<entry>
<title>splone: fix the bug of finding the wrong node</title>
<updated>2023-08-04T02:11:24+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-08-04T02:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=228b51fe7941e2b180ee3ea99dfea4bfcbd6770b'/>
<id>228b51fe7941e2b180ee3ea99dfea4bfcbd6770b</id>
<content type='text'>
* chain/src/item/default/splone.rs: A function for finding the node to
  plant used to ignore the condition that the children should match.
  Now this is fixed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* chain/src/item/default/splone.rs: A function for finding the node to
  plant used to ignore the condition that the children should match.
  Now this is fixed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some bugs</title>
<updated>2023-08-01T03:47:44+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-08-01T03:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=81854107bcf0b4480cfb11e8af7fec6894240c0c'/>
<id>81854107bcf0b4480cfb11e8af7fec6894240c0c</id>
<content type='text'>
Some bugs are fixed:

1. If a non-terminal expansion can be reduced immediately, previously
an extra node would be created that had no parents.  Now this strange
behaviour is corrected.

2. When performing reductions, a leaf non-terminal node would
previously be regarded as completed.  Now we will first try to
complete that node, and then determine if the completion is
successful, and finally determine the completedness according to the
result.

Of course some more tests are still pending, before I can confirm that
no more bugs lurk around.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some bugs are fixed:

1. If a non-terminal expansion can be reduced immediately, previously
an extra node would be created that had no parents.  Now this strange
behaviour is corrected.

2. When performing reductions, a leaf non-terminal node would
previously be regarded as completed.  Now we will first try to
complete that node, and then determine if the completion is
successful, and finally determine the completedness according to the
result.

Of course some more tests are still pending, before I can confirm that
no more bugs lurk around.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add experimental python scripts for debugging</title>
<updated>2023-07-22T03:37:03+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-07-22T03:37:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=ca1a2fa607a3ce95d8cf68f1a7a481d62b0ecf72'/>
<id>ca1a2fa607a3ce95d8cf68f1a7a481d62b0ecf72</id>
<content type='text'>
* chain/src/item/default/printer.lldb:
* chain/src/item/default/printer.py: These are for experimenting with
  debugger supports.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* chain/src/item/default/printer.lldb:
* chain/src/item/default/printer.py: These are for experimenting with
  debugger supports.
</pre>
</div>
</content>
</entry>
<entry>
<title>Print graphs with edges in order</title>
<updated>2023-07-21T11:14:51+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-07-21T11:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=0bf1d3d9d883d0b63792c68541b23404aae0ec8f'/>
<id>0bf1d3d9d883d0b63792c68541b23404aae0ec8f</id>
<content type='text'>
* chain/src/item/default/mod.rs:
* graph/src/labelled/binary.rs:
* graph/src/labelled/double.rs:
* graph/src/lib.rs: If we set the option "ordering" to be "out" in the
  declaration of nodes at the beginning, then GraphViz will not change
  the order of children out of nodes.  This is much better looking in
  my opinion.

* INSTALL: make insists in changing this file, so let it be.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* chain/src/item/default/mod.rs:
* graph/src/labelled/binary.rs:
* graph/src/labelled/double.rs:
* graph/src/lib.rs: If we set the option "ordering" to be "out" in the
  declaration of nodes at the beginning, then GraphViz will not change
  the order of children out of nodes.  This is much better looking in
  my opinion.

* INSTALL: make insists in changing this file, so let it be.
</pre>
</div>
</content>
</entry>
<entry>
<title>bump version</title>
<updated>2023-07-21T03:45:16+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-07-21T03:45:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=aac64480aa68dadb87cf9649c04571bf39cff29c'/>
<id>aac64480aa68dadb87cf9649c04571bf39cff29c</id>
<content type='text'>
This bumping of version is insignificant.  I just find it notable that
I seem to finally obtain a version without trivial bugs.  Hooray!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This bumping of version is insignificant.  I just find it notable that
I seem to finally obtain a version without trivial bugs.  Hooray!
</pre>
</div>
</content>
</entry>
<entry>
<title>splone: splitting parents properly.</title>
<updated>2023-07-21T03:37:09+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-07-21T03:37:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=d31961c3ef5341413efb8681302ebd666dbcc4a5'/>
<id>d31961c3ef5341413efb8681302ebd666dbcc4a5</id>
<content type='text'>
* chain/src/item/default/splone.rs: Previouslt the function
  `split_node` used to split the parents of splitted nodes by an ugly
  logic.  Now that is moved into a dedicated function, which properly
  handles the splitting of parents, including the case when the new
  node is open whereas the old node is closed, in which situation we
  ought to put the new node under the opened node only, as a closed
  node cannot contain an open node as a child by definition.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* chain/src/item/default/splone.rs: Previouslt the function
  `split_node` used to split the parents of splitted nodes by an ugly
  logic.  Now that is moved into a dedicated function, which properly
  handles the splitting of parents, including the case when the new
  node is open whereas the old node is closed, in which situation we
  ought to put the new node under the opened node only, as a closed
  node cannot contain an open node as a child by definition.
</pre>
</div>
</content>
</entry>
<entry>
<title>chain/src/item/default/mod.rs: Add a unit test for `set_pos`</title>
<updated>2023-07-18T08:31:05+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-07-18T08:31:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=0f960b0ecaa30be08d859bf5ca910b7603e66a10'/>
<id>0f960b0ecaa30be08d859bf5ca910b7603e66a10</id>
<content type='text'>
The function `set_pos` is kind of subtle and its behaviour needs a
unit test so that we can be sure that it does not accidentally set the
ending positions in a careless manner.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function `set_pos` is kind of subtle and its behaviour needs a
unit test so that we can be sure that it does not accidentally set the
ending positions in a careless manner.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the bug of incorrectly setting the end of forest nodes</title>
<updated>2023-07-18T08:26:54+00:00</updated>
<author>
<name>JSDurand</name>
<email>mmemmew@gmail.com</email>
</author>
<published>2023-07-18T08:26:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.jsdurand.xyz/rep.git/commit/?id=5a40d2cb79a791a46a579fdf6532e1b49053e96c'/>
<id>5a40d2cb79a791a46a579fdf6532e1b49053e96c</id>
<content type='text'>
Previously when generating a fragment of the forest corresponding to
the expansion of a non-terminal by a terminal, we incorrectly set the
end of every node within it to be one plus the start, if the expansion
happens due to a reduction.

Now this mistake is fixed and the ending positions are correctly set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously when generating a fragment of the forest corresponding to
the expansion of a non-terminal by a terminal, we incorrectly set the
end of every node within it to be one plus the start, if the expansion
happens due to a reduction.

Now this mistake is fixed and the ending positions are correctly set.
</pre>
</div>
</content>
</entry>
</feed>
