Skip to content

Commit

Permalink
Merge pull request #15 from gap-packages/mh/codespell
Browse files Browse the repository at this point in the history
Fix typos reported by codespell
  • Loading branch information
ManuelAFDelgado authored Jan 12, 2024
2 parents ce6d881 + 848fad6 commit 98dc0dd
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
0.999.3 -> 0.999.4
nothing really changed (the process of release failed due to not saving the Packageinfo.g file)
0.999.2 -> 0.999.3
test file updated for better code coverage (wich revealed the need of some small fixes)
test file updated, to avoid differences cause by the use of different factorization algorithms (depending on wheter the semigroups package is loaded)
test file updated for better code coverage (which revealed the need of some small fixes)
test file updated, to avoid differences cause by the use of different factorization algorithms (depending on whether the semigroups package is loaded)
0.999.1 -> 0.999.2
- Schutzenberger graphs are now produced in two steps, as the remaining drawings (see 0.998 -> 0.999.1)
- several changes to fix a strange behavior when the semigroups package is loaded (and a semigroup is entered before)
Expand All @@ -19,7 +19,7 @@ test file updated, to avoid differences cause by the use of different factorizat
-Removed the SuperFail (thanks Max H.)
-drawings are now produced in two steps: first the dot code (that is accessible to the user) and then the display
-added a test file
-fix the code brocken by the change of IdentityTransformation in the GAP system
-fix the code broken by the change of IdentityTransformation in the GAP system
-updating the manual to be processed using makedoc, besides minor corresctions
-creating a GitHub repository
-update drawdclasses.gi
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ versions of the manual are also available there.

The current maintainer of the package is Manuel Delgado <mdelgado@fc.up.pt>.

In many aspects the present package was superseeded by the package "semigroups" by James Mitchel. I encourage you to use it instead of SgpViz. While there are some features not covered by the "semigroups" package, an effort will be made for keeping SgpViz working.
In many aspects the present package was superseded by the package "semigroups" by James Mitchel. I encourage you to use it instead of SgpViz. While there are some features not covered by the "semigroups" package, an effort will be made for keeping SgpViz working.
If you have found important features missing or if there is a bug, I would appreciate it very much if you send me an email.

Contents
Expand Down
4 changes: 2 additions & 2 deletions doc/xsemigroup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ A non deterministic automaton may be given as follows:
&#60;br&#62;&#60;center&#62;&#60;img src=&#34;images/xndAUT.png&#34;&#62;&#60;/center&#62;&#60;br&#62;
</Alt>
<P/>
By pressing the button <B> Ok </B> the &GAP; shell aquires the aspect shown
By pressing the button <B> Ok </B> the &GAP; shell acquires the aspect shown
in the following picture and the automaton <C> ndAUT </C> may be used to do
computations. Some computations such as getting a rational expression
representing the language of the automaton, the (complete) minimal automaton
Expand Down Expand Up @@ -132,7 +132,7 @@ It opens a window like the following:
<Heading> Finite semigroups </Heading>
The most common ways to give a semigroup to are through generators and
relations, a set of (partial) transformations as generating set and as
syntactic semigroups of automata or rational languages.
syntatic semigroups of automata or rational languages.
<ManSection>
<Func Arg="[S]" Name="XSemigroup" />
<Description>
Expand Down
2 changes: 1 addition & 1 deletion gap/basicsViz.gd
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ DeclareSynonym( "RightCayleyGraphMonoidAsAutomaton", RightCayleyGraphAsAutomaton
##
#F DotForDrawingRightCayleyGraph
##
## ouputs a string consisting of dot code the right Cayley graph of a finite monoid or semigroup.
## outputs a string consisting of dot code the right Cayley graph of a finite monoid or semigroup.
##
DeclareGlobalFunction( "DotForDrawingRightCayleyGraph" );
6 changes: 3 additions & 3 deletions gap/basicsViz.gi
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ end);
## buit-in function CayleyGraphSemigroup to compute the Cayley Graph
## and returns it as an automaton without initial and final states.
##
## Warning: since the GAP function "CayleyGraphSemigroup" behaves diferently acording to whether
## Warning: since the GAP function "CayleyGraphSemigroup" behaves differently according to whether
## the package "semigroups" is loaded or not, this function may have different (but equivalent)
## results
##
Expand Down Expand Up @@ -150,7 +150,7 @@ end);
##
#F DotForDrawingRightCayleyGraph
##
## ouputs a string consisting of dot code the right Cayley graph of a finite monoid or semigroup.
## outputs a string consisting of dot code the right Cayley graph of a finite monoid or semigroup.
##
InstallGlobalFunction(DotForDrawingRightCayleyGraph, function(M)
local aut, letters, au, i, j, colors, l2, array, s, arr, max, xs, xout, k,
Expand Down Expand Up @@ -226,7 +226,7 @@ InstallGlobalFunction(DotForDrawingRightCayleyGraph, function(M)
od;
od;
arr := List( array, x -> List( x, String ) );
#siegen: in the folowing, "AppendTo(name," was replaced by "Append(dotstring,"
#siegen: in the following, "AppendTo(name," was replaced by "Append(dotstring,"
dotstring := "digraph CayleyGraph {\n";
for l in [ 1 .. Length( arr ) ] do
for k in [ 1 .. Length( arr[ l ] ) ] do
Expand Down
2 changes: 1 addition & 1 deletion gap/drawdclasses.gi
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ InstallGlobalFunction(DotForDrawingDClassOfElement, function(arg)
od;
od;

#siegen: in the folowing, "AppendTo(file," was replaced by "Append(dotstring,"
#siegen: in the following, "AppendTo(file," was replaced by "Append(dotstring,"


# Write the dot node definition of the current
Expand Down
4 changes: 2 additions & 2 deletions src/xsemigroup.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ proc doneRE [] {
if {$c != "("} {
set p [lsearch -exact $generators $c]
if {$p == -1} {
error "Ilegal first character"
error "Illegal first character"
} else {
set last $c
}
Expand All @@ -1555,7 +1555,7 @@ proc doneRE [] {
}

if {$last == "U"} {
error "Ilegal last character"
error "Illegal last character"
}

puts "rexsgp:=RationalExpression(\"$S\");"
Expand Down
2 changes: 1 addition & 1 deletion tst/testall.tst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
##
#A testall.tst SgpViz package Manuel Delgado
##
## (based on the cooresponding file of the 'example' package,
## (based on the corresponding file of the 'example' package,
## by Alexander Konovalov)
##
## To create a test file, place GAP prompts, input and output exactly as
Expand Down

0 comments on commit 98dc0dd

Please sign in to comment.