make spell: add a few missing misspellings, fix format of .csv file, also fix *.md

This commit is contained in:
Dan Kegel
2024-08-13 11:39:41 -07:00
committed by Ron Evans
parent e27b2c4ad6
commit a47ff02c82
6 changed files with 33 additions and 29 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
- `builder`: keep un-wasm-opt'd .wasm if -work was passed - `builder`: keep un-wasm-opt'd .wasm if -work was passed
- `builder`: make sure wasm-opt command line is printed if asked - `builder`: make sure wasm-opt command line is printed if asked
- `cgo`: implement shift operations in preprocessor macros - `cgo`: implement shift operations in preprocessor macros
- `interp`: checking for methodset existance - `interp`: checking for methodset existence
* **standard library** * **standard library**
- `machine`: add `__tinygo_spi_tx` function to simulator - `machine`: add `__tinygo_spi_tx` function to simulator
@@ -217,7 +217,7 @@
- `reflect`: add SetZero - `reflect`: add SetZero
- `reflect`: fix iterating over maps with interface{} keys - `reflect`: fix iterating over maps with interface{} keys
- `reflect`: implement Value.Grow - `reflect`: implement Value.Grow
- `reflect`: remove unecessary heap allocations - `reflect`: remove unnecessary heap allocations
- `reflect`: use .key() instead of a type assert - `reflect`: use .key() instead of a type assert
- `sync`: add implementation from upstream Go for OnceFunc, OnceValue, and OnceValues - `sync`: add implementation from upstream Go for OnceFunc, OnceValue, and OnceValues
* **targets** * **targets**
+2 -2
View File
@@ -963,11 +963,11 @@ lint: tools ## Lint source tree
SPELLDIRSCMD=find . -depth 1 -type d | egrep -wv '.git|lib|llvm|src'; find src -depth 1 | egrep -wv 'device|internal|net|vendor'; find src/internal -depth 1 -type d | egrep -wv src/internal/wasi SPELLDIRSCMD=find . -depth 1 -type d | egrep -wv '.git|lib|llvm|src'; find src -depth 1 | egrep -wv 'device|internal|net|vendor'; find src/internal -depth 1 -type d | egrep -wv src/internal/wasi
.PHONY: spell .PHONY: spell
spell: tools ## Spellcheck source tree spell: tools ## Spellcheck source tree
misspell -error --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) misspell -error --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) *.md
.PHONY: spellfix .PHONY: spellfix
spellfix: tools ## Same as spell, but fixes what it finds spellfix: tools ## Same as spell, but fixes what it finds
misspell -w --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) misspell -w --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) *.md
# https://www.client9.com/self-documenting-makefiles/ # https://www.client9.com/self-documenting-makefiles/
.PHONY: help .PHONY: help
+1 -1
View File
@@ -52,7 +52,7 @@ func newRunner(mod llvm.Module, timeout time.Duration, debug bool) *runner {
return &r return &r
} }
// Dispose deallocates all alloated LLVM resources. // Dispose deallocates all allocated LLVM resources.
func (r *runner) dispose() { func (r *runner) dispose() {
r.targetData.Dispose() r.targetData.Dispose()
r.targetData = llvm.TargetData{} r.targetData = llvm.TargetData{}
+26 -22
View File
@@ -1,22 +1,26 @@
acuire, acquire acuire,acquire
adust, adjust addess,address
allcoate, allocate adust,adjust
archtecture, architecture allcoate,allocate
arcive, archive alloated,allocated
configration, configuration archtecture,architecture
contants, constants arcive,archive
cricital, critical beconfigured,be configured
evaulator, evaluator configration,configuration
freqency, frequency contants,constants
frquency, frequency cricital,critical
implmented, implemented evaulator,evaluator
interrput, interrupt freqency,frequency
interrut, interrupt frquency,frequency
poitner, pointer implmented,implemented
probbably, probably interrput,interrupt
refection, reflection interrut,interrupt
satisifying, satisfying poitner,pointer
simulataneously, simultaneously probbably,probably
suggets, suggests refection,reflection
undefied, undefined satisifying,satisfying
unsiged, unsigned simulataneously,simultaneously
suggets,suggests
undefied,undefined
unecessary,unnecessary
unsiged,unsigned
1 acuire acquire
2 adust addess adjust address
3 allcoate adust allocate adjust
4 archtecture allcoate architecture allocate
5 arcive alloated archive allocated
6 configration archtecture configuration architecture
7 contants arcive constants archive
8 cricital beconfigured critical be configured
9 evaulator configration evaluator configuration
10 freqency contants frequency constants
11 frquency cricital frequency critical
12 implmented evaulator implemented evaluator
13 interrput freqency interrupt frequency
14 interrut frquency interrupt frequency
15 poitner implmented pointer implemented
16 probbably interrput probably interrupt
17 refection interrut reflection interrupt
18 satisifying poitner satisfying pointer
19 simulataneously probbably simultaneously probably
20 suggets refection suggests reflection
21 undefied satisifying undefined satisfying
22 unsiged simulataneously unsigned simultaneously
23 suggets suggests
24 undefied undefined
25 unecessary unnecessary
26 unsiged unsigned
+1 -1
View File
@@ -36,7 +36,7 @@ var (
// GPIO config // GPIO config
// Each controller must connect its clock SCL and data SDA to one pair of GPIOs. // Each controller must connect its clock SCL and data SDA to one pair of GPIOs.
// The I2C standard requires that drivers drivea signal low, or when not driven the signal will be pulled high. // The I2C standard requires that drivers drivea signal low, or when not driven the signal will be pulled high.
// This applies to SCL and SDA. The GPIO pads should beconfigured for: // This applies to SCL and SDA. The GPIO pads should be configured for:
// Pull-up enabled // Pull-up enabled
// Slew rate limited // Slew rate limited
// Schmitt trigger enabled // Schmitt trigger enabled
+1 -1
View File
@@ -222,7 +222,7 @@ func handleException(mcause uintptr) {
println("*** Exception: mcause:", mcause) println("*** Exception: mcause:", mcause)
switch uint32(mcause & 0x1f) { switch uint32(mcause & 0x1f) {
case 1: case 1:
println("*** virtual addess:", riscv.MTVAL.Get()) println("*** virtual address:", riscv.MTVAL.Get())
case 2: case 2:
println("*** opcode:", riscv.MTVAL.Get()) println("*** opcode:", riscv.MTVAL.Get())
case 5: case 5: