Skip to content

Commit 20f1a91

Browse files
committed
Fix typos
1 parent bbb9354 commit 20f1a91

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ go get github.com/linux4life798/gobf
1313
```
1414

1515
## Usage
16-
The commandline program currently supports `compile`, `gengo`,
16+
The command-line program currently supports `compile`, `gengo`,
1717
`run`, and `dumpil` actions.
1818

1919
Give it a try!

gobflib/il/il.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func (b *ILBlock) Compress() int {
210210
lastb = ib
211211
}
212212
case ILDataSet:
213-
/* Overrive a previous ILDataSet or ILDataAdd(interesting eh?) */
213+
/* Override a previous ILDataSet or ILDataAdd(interesting eh?) */
214214
if lastb != nil {
215215
switch lastb.typ {
216216
case ILDataSet, ILDataAdd:
@@ -242,7 +242,7 @@ func (b *ILBlock) Compress() int {
242242
return int(count)
243243
}
244244

245-
// isPruneable uses a set of rules to determine id an ILBlock
245+
// isPruneable uses a set of rules to determine if an ILBlock
246246
// node is able to be removed.
247247
func (b *ILBlock) isPruneable() bool {
248248
if b == nil {

testprograms/fetch-testprograms.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ check_installed dirname
1818
root="$(dirname $(realpath "$BASH_SOURCE"))"
1919
cd "$root"
2020

21-
# Generate vectorization's optimial test
21+
# Generate vectorization's optimal test
2222
./gen-vector-test.bash > vector-test.b
2323

2424
# Examples:

testprograms/gen-vector-test.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# each of which count down from 255 to 0. The inner-most operation
55
# is series of +'s in consecutive cells.
66
#
7-
# The idea is to generate a hand crafet case, where vectorizing the inner-most
7+
# The idea is to generate a handcrafted case, where vectorizing the inner-most
88
# operation yields great performance gains.
99

1010

@@ -56,4 +56,4 @@ echo
5656
vector-content 3 160 | loop 2 | loop 1 | loop 0
5757
# vector-content 3 20 | loop 2 | loop 1 | loop 0
5858
# vector-content 2 20 | loop 1 | loop 0
59-
# vector-content 1 20 | loop 0
59+
# vector-content 1 20 | loop 0

0 commit comments

Comments
 (0)