Skip to content

Commit c8d386e

Browse files
committed
doc: Fix various typos and spelling mistakes
AI-assisted spelling and grammaar checks Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
1 parent ea0a2f1 commit c8d386e

File tree

8 files changed

+56
-56
lines changed

8 files changed

+56
-56
lines changed

doc/0-Overview.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RPL commands in the HP50G and in DB48X into
5757
The objective is to re-create an RPL-like experience, but to optimize it for the
5858
existing DM42 physical hardware.
5959
<!--- DM42 --->
60-
Ideally, DB48X should be fully usable without a keyboard overlay. though one is
60+
Ideally, DB48X should be fully usable without a keyboard overlay, though one is
6161
[being worked on](https://github.com/c3d/db48x/blob/stable/Keyboard-Layout.png).
6262

6363
Compared to the original HP48, the DM42 has a much larger screen, but no
@@ -247,14 +247,14 @@ converted to an arrow key, along with the DM32 _XEQ_ key.
247247
Here are a few of the interesting RPL-specific key mappings:
248248

249249
* _A_ (_⚙️_, DM-42 _Σ+_, DM-32 _√x_) is used to invoke a context-sensitive
250-
[ToolsMenu](#ToolsMenu), which select a softkey menu based on what is on the
250+
[ToolsMenu](#ToolsMenu), which selects a softkey menu based on what is on the
251251
stack and other context.
252252

253253
* 🟨 _A_ (_←MENU_, DM-42 _Σ-_, DM-32 __) selects the [LastMenu](#LastMenu)
254254
command, which displays the previously selected menu.
255255

256256
* 🟦 _A_ (_MAIN_, DM-32 _PARTS_) selects the [MainMenu](#MainMenu), a top-level
257-
menu giving indicrect access to all other menus and features in DB48X (see
257+
menu giving indirect access to all other menus and features in DB48X (see
258258
also the [Catalog](#Catalog) feature).
259259

260260
* _F_ (_' ()_, DM-42 _XEQ_, DM-32 _Σ+_) opens an algebraic expression, i.e. it
@@ -360,7 +360,7 @@ a `▶︎`, and 🟨 _F6_ turns into `◀`︎. These keys can be used to
360360
navigate across the available menu entries. This replaces the _NXT_ and _PREV_
361361
keys on HP calculators.
362362

363-
The [VariablesMenu](#VariablesMenu) is used to access global varibales. It is
363+
The [VariablesMenu](#VariablesMenu) is used to access global variables. It is
364364
invoked using the _H_ key, which is labeled _RCL_ on SwissMicros hardware. This
365365
menu is special in the sense that:
366366

@@ -505,7 +505,7 @@ unintentional differences, since the implementation is completely new.
505505
hardware-accelerated binary floating-point.
506506

507507
<!--- DM32 --->
508-
* Based numbers with an explicit base, like `#123h` keep their base, which makes
508+
* Based numbers with an explicit base, like `#123h`, keep their base, which makes
509509
it possible to show on stack binary and decimal numbers side by side. Mixed
510510
operations convert to the base in stack level X, so that `#10d #A0h +`
511511
evaluates as `#AAh`. Based numbers without an explicit base change base
@@ -667,11 +667,11 @@ operate on these items when it makes sense. Therefore:
667667
produces a matrix with infinities. DB48X by default produces a `Divide by
668668
zero` error.
669669

670-
* DB48X accept matrices and vectors as input to algebraic functions, and returns
670+
* DB48X accepts matrices and vectors as input to algebraic functions, and returns
671671
a matrix or vector with the function applied to all elements. For example,
672672
`[a b c] sin ` returns `[ 'sin a' 'sin b' 'sin c' ]`.
673673

674-
* Similarly, DB48X accept operations between a constant and a vector or matrix.
674+
* Similarly, DB48X accepts operations between a constant and a vector or matrix.
675675
This applies the same binary operation to all components of the vector or
676676
matrix. `[ a b c ] x +` returns `[ 'a+x' 'b+x' 'c+x' ]`. Consistent with that
677677
logic, `inv` works on vectors, and inverts each component, so that
@@ -791,7 +791,7 @@ To navigate the help on the calculator, use the following keys:
791791
next link respectively. The keys _÷_ and _9_ also select the previous
792792
link, while the keys _×_ and _3_ can also be used to select the next link.
793793

794-
* The _F6_ key correspond to the `←Menu` label, and returns one step back in
794+
* The _F6_ key corresponds to the `←Menu` label, and returns one step back in
795795
the help history. The _←_ key achieves the same effect.
796796

797797
* To follow a highlighted link, click on the _ENTER_ key.
@@ -823,7 +823,7 @@ Additional contributors to the project include (in order of appearance):
823823
* LdBeth (andpuke@foxmail.com) (Bug fixes)
824824
* Thomas Eberhardt (sneakywumpus@gmail.com) (Bug fixes)
825825
* Ed van Gasteren (Ed@vanGasteren.net) (Bug fixes)
826-
- Jerome Ibanes (jibanes@gmail.com) (Dockerfile)
826+
* Jerome Ibanes (jibanes@gmail.com) (Dockerfile)
827827

828828
The authors would like to acknowledge
829829

@@ -841,13 +841,13 @@ This work was placed by Christophe de Dinechin under the patronage of
841841

842842
### Hewlett and Packard
843843

844-
Hand-held scientific calculators changed forever when Hewlett and Packard asked
844+
Hand-held scientific calculators changed forever when Bill Hewlett and Dave Packard asked
845845
their engineers to design and produce the HP35, then again when their company
846846
introduced the first programmable hand-held calculator with the HP65, and
847847
finally when they introduced the RPL programming language with the HP28.
848848

849849
Christophe de Dinechin, the primary author of DB48X, was lucky enough to meet
850-
both Hewlett and Packard in person, and this was a truly inspiring experience.
850+
both Bill Hewlett and Dave Packard in person, and this was a truly inspiring experience.
851851
Launching the Silicon Valley is certainly no small achievement, but this pales
852852
in comparison to bringing RPN and RPL to the world.
853853

@@ -929,7 +929,7 @@ The DB48X took several ideas and some inspiration from the
929929
[WP43](https://gitlab.com/rpncalculators/wp43) and
930930
[C47](https://47calc.com) projects.
931931

932-
Walter Bonin initiated the WP43 firwmare for the DM42 as a "superset of the
932+
Walter Bonin initiated the WP43 firmware for the DM42 as a "superset of the
933933
legendary HP42S RPN Scientific".
934934

935935
C47 (initially called C43) is a variant of that firmware initiated by Jaco

doc/1-introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Introduction to RPL
22

33
The original RPL (*Reverse Polish Lisp*) programming language was designed and
4-
implemented by Hewlett Packard for their calculators from the mid-1980s until
4+
implemented by Hewlett-Packard for their calculators from the mid-1980s until
55
2015 (the year the HP50g was discontinued). It is based on older calculators
66
that used RPN (*Reverse Polish Notation*). Whereas RPN had a limited stack size
77
of 4, RPL has a stack size only limited by memory and also incorporates
@@ -64,7 +64,7 @@ DB48X keyboard overlay, this key is also marked as `=` for that reason.
6464

6565
Since introducing the first scientific pocket calculator, the HP-35, in 1972,
6666
and with it the reverse polish notation (RPN), Hewlett-Packard perfected its
67-
line-up for decades. This led to such powerhouses pocket computers such as as
67+
line-up for decades. This led to such powerhouse pocket computers as
6868
the HP-41C series, or tiny wonders of pocket efficiency such as the HP-15C. Many
6969
of these calculators, including the models we just cited, were capable of
7070
advanced mathematics, including dealing with complex numbers, matrix operations,

doc/calc-help/equations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2140,7 +2140,7 @@ Tair=-20_°C u=2200_km/h
21402140

21412141
#### String Standing Waves
21422142

2143-
A string being fixed or free at its ends admits only discrete harmonics as standing waves on the string. A string being fixed (or free) at both ends admits all integer harmonics. A string being being fixed at one end and free at the other end admits only all odd integer harmonics.
2143+
A string being fixed or free at its ends admits only discrete harmonics as standing waves on the string. A string being fixed (or free) at both ends admits all integer harmonics. A string being fixed at one end and free at the other end admits only all odd integer harmonics.
21442144

21452145
* To calculate `[v_m/s;k_(r/m);ω_(r/s);Ts_N;y_m;ffixedfixed_Hz;ffixedfree_Hz]` (Propagation speed of waves, Wave number; Angular frequency; Tension; Frequency of harmonics on a string fixed at both ends; Frequency of harmonics on a string fixed at one end and free at the other end) from 9 known variables:
21462146
```rpl
@@ -2151,7 +2151,7 @@ A string being fixed or free at its ends admits only discrete harmonics as stand
21512151

21522152
#### Sound Wave Harmonics
21532153

2154-
A tube being open or closed at its ends admits only discrete harmonics as standing waves of the sound in the air within the tube. A tube being open (or closed) at both ends admits all integer harmonics. A tube being being open at one end and closed at the other end admits only all odd integer harmonics.
2154+
A tube being open or closed at its ends admits only discrete harmonics as standing waves of the sound in the air within the tube. A tube being open (or closed) at both ends admits all integer harmonics. A tube being open at one end and closed at the other end admits only all odd integer harmonics.
21552155

21562156
* To calculate `[v_m/s;k_(r/m);ω_(r/s);Tair_°C;s_m;fopenopen_Hz;fopenclose_Hz]` (Propagation speed of sound waves; Wave number; Angular frequency, Temperature; Frequency of harmonics in a tube open at both ends; Frequency of harmonics in a tube open at one end and close at the other end) from 8 known variables:
21572157
```rpl
@@ -2695,7 +2695,7 @@ The 52 variables in the Nuclear Physics section are:
26952695
* `λ`: Decay constant (Radioactivity) (dim.: 1/time, in SI: s^-1)
26962696
* `Δm`: Mass default
26972697
* `A`: Total activity at time `t` ([Radioactivity](#Radioactivity)) (dim.: number of decay/time, in SI: becquerel, Bq), or Mass number ([Nuclear Physics](#Nuclear Physics))
2698-
* `abdaughter`: Abondance of the daughter nuclide
2698+
* `abdaughter`: Abundance of the daughter nuclide
26992699
* `abparent`: Abondance of the parent radionuclide
27002700
* `abtot`: Total abondance of the nuclide
27012701
* `AY1`: Mass number of the first nuclide `Y1` produced by a fission
@@ -2794,7 +2794,7 @@ A=239 Z=94 AXα=239 ZXα=94 mX=239.052157_u mY=235.043924_u
27942794

27952795
#### β⊖ Decay
27962796

2797-
The β⊖ Decay reaction has 3 products: the daughter nuclide, an electron & an antineutrino having a negligeable mass. Due to their weak masses, the resulting kinetic energy is essentially splitted between the last two particles. The energy spectrum of the antineutrino being continuous and possibly very small, the energy reaction can therefore be the maximum kinetic energy `Kmax` of the emitted elevtron.
2797+
The β⊖ Decay reaction has 3 products: the daughter nuclide, an electron & an antineutrino having a negligible mass. Due to their weak masses, the resulting kinetic energy is essentially split between the last two particles. The energy spectrum of the antineutrino being continuous and possibly very small, the energy reaction can therefore be the maximum kinetic energy `Kmax` of the emitted electron.
27982798

27992799
* **Example 1** For the β⊖ decay of Th234 into Pa234, to calculate `[N;Δm_u;Qβ⊖_MeV;Kmax_MeV;γmax;βmax;AYβ⊖;ZYβ⊖]` (Number of neutron of Th234; Mass default; Reaction energy; Maximum kinetic energy of the electron, Maximum Lorentz factor; Maximum relativistic speed ratio; Mass number & Proton number of the daughter nuclide) from 6 known variables:
28002800
```rpl
@@ -2811,7 +2811,7 @@ A=14 Z=6 AXβ⊖=14 ZXβ⊖=6 mX=14.0032419884_u mY=14.00307400443_u
28112811

28122812
#### β⊕ Decay
28132813

2814-
The β⊕ Decay reaction has 3 products: the daughter nuclide, a positron & a neutrino having a negligeable mass. Due to their weak masses, the resulting kinetic energy is essentially splitted between the last two particles. The energy spectrum of the neutrino being continuous and possibly very small, the energy reaction can therefore be the maximum kinetic energy `Kmax` of the emitted positron.
2814+
The β⊕ Decay reaction has 3 products: the daughter nuclide, a positron & a neutrino having a negligible mass. Due to their weak masses, the resulting kinetic energy is essentially split between the last two particles. The energy spectrum of the neutrino being continuous and possibly very small, the energy reaction can therefore be the maximum kinetic energy `Kmax` of the emitted positron.
28152815

28162816
* For the β⊕ decay of K40 (present in bananas) into Ar40, to calculate `[N;Δm_u;Qβ⊕_MeV;Kmax_MeV;γmax;βmax;AYβ⊕;ZYβ⊕]` (Number of neutron of K40; Mass default; Reaction energy; Maximum kinetic energy of the electron, Maximum Lorentz factor; Maximum relativistic speed ratio; Mass number & Proton number of the daughter nuclide) from 6 known variables:
28172817
```rpl

doc/commands/graphics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ In addition to this HP50G-compatible usage, `DispXY` will also accept:
299299
## Show
300300

301301
Display the first level of the stack using the entire screen, with a possible
302-
scroll using the 4, 8, 6 and 2 keys if the object is larger than fits on screen.
302+
scroll using the 4, 8, 6 and 2 keys if the object is larger than the screen.
303303
This makes it possible to comfortably examine very large objects, like `300!`, a
304304
large program or a complicated equation. Arrow keys can also be used for
305305
horizontal or vertical scrolling.

doc/commands/library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ from disk only once, and then cached in compiled form in memory. This is how the
1515
next uses of that library item can be as fast as if it was on the stack.
1616

1717
Library items that are currently loaded in memory can be identified using
18-
`Libs`. The `Attach` commadn can be used to load items ahead of time. The
18+
`Libs`. The `Attach` command can be used to load items ahead of time. The
1919
`Detach` command can be used to evacuate library elements that are no longer
2020
used.
2121

doc/commands/system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ power, because of additional animations or more expensive graphical rendering.
313313
## Bytes
314314

315315
Return the size of the object and a hash of its value. On classic RPL systems,
316-
teh hash is a 5-nibbles CRC32. On DB48X, the hash is a based integer of the
316+
the hash is a 5-nibbles CRC32. On DB48X, the hash is a based integer of the
317317
current [wordsize](#stws) corresponding to the binary representation of the
318318
object.
319319

help/db48x.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ RPL commands in the HP50G and in DB48X into
5656

5757
The objective is to re-create an RPL-like experience, but to optimize it for the
5858
existing DM42 physical hardware.
59-
Ideally, DB48X should be fully usable without a keyboard overlay. though one is
59+
Ideally, DB48X should be fully usable without a keyboard overlay, though one is
6060
[being worked on](https://github.com/c3d/db48x/blob/stable/Keyboard-Layout.png).
6161

6262
Compared to the original HP48, the DM42 has a much larger screen, but no
@@ -199,14 +199,14 @@ if you prefer.
199199
Here are a few of the interesting RPL-specific key mappings:
200200

201201
* _A_ (_⚙️_, DM-42 _Σ+_, DM-32 _√x_) is used to invoke a context-sensitive
202-
[ToolsMenu](#ToolsMenu), which select a softkey menu based on what is on the
202+
[ToolsMenu](#ToolsMenu), which selects a softkey menu based on what is on the
203203
stack and other context.
204204

205205
* 🟨 _A_ (_←MENU_, DM-42 _Σ-_, DM-32 _x²_) selects the [LastMenu](#LastMenu)
206206
command, which displays the previously selected menu.
207207

208208
* 🟦 _A_ (_MAIN_, DM-32 _PARTS_) selects the [MainMenu](#MainMenu), a top-level
209-
menu giving indicrect access to all other menus and features in DB48X (see
209+
menu giving indirect access to all other menus and features in DB48X (see
210210
also the [Catalog](#Catalog) feature).
211211

212212
* _F_ (_' ()_, DM-42 _XEQ_, DM-32 _Σ+_) opens an algebraic expression, i.e. it
@@ -312,7 +312,7 @@ a `▶︎`, and 🟨 _F6_ turns into `◀`︎. These keys can be used to
312312
navigate across the available menu entries. This replaces the _NXT_ and _PREV_
313313
keys on HP calculators.
314314

315-
The [VariablesMenu](#VariablesMenu) is used to access global varibales. It is
315+
The [VariablesMenu](#VariablesMenu) is used to access global variables. It is
316316
invoked using the _H_ key, which is labeled _RCL_ on SwissMicros hardware. This
317317
menu is special in the sense that:
318318

@@ -609,11 +609,11 @@ operate on these items when it makes sense. Therefore:
609609
produces a matrix with infinities. DB48X by default produces a `Divide by
610610
zero` error.
611611

612-
* DB48X accept matrices and vectors as input to algebraic functions, and returns
612+
* DB48X accepts matrices and vectors as input to algebraic functions, and returns
613613
a matrix or vector with the function applied to all elements. For example,
614614
`[a b c] sin ` returns `[ 'sin a' 'sin b' 'sin c' ]`.
615615

616-
* Similarly, DB48X accept operations between a constant and a vector or matrix.
616+
* Similarly, DB48X accepts operations between a constant and a vector or matrix.
617617
This applies the same binary operation to all components of the vector or
618618
matrix. `[ a b c ] x +` returns `[ 'a+x' 'b+x' 'c+x' ]`. Consistent with that
619619
logic, `inv` works on vectors, and inverts each component, so that
@@ -733,7 +733,7 @@ To navigate the help on the calculator, use the following keys:
733733
next link respectively. The keys _÷_ and _9_ also select the previous
734734
link, while the keys _×_ and _3_ can also be used to select the next link.
735735

736-
* The _F6_ key correspond to the `←Menu` label, and returns one step back in
736+
* The _F6_ key corresponds to the `←Menu` label, and returns one step back in
737737
the help history. The _←_ key achieves the same effect.
738738

739739
* To follow a highlighted link, click on the _ENTER_ key.
@@ -765,7 +765,7 @@ Additional contributors to the project include (in order of appearance):
765765
* LdBeth (andpuke@foxmail.com) (Bug fixes)
766766
* Thomas Eberhardt (sneakywumpus@gmail.com) (Bug fixes)
767767
* Ed van Gasteren (Ed@vanGasteren.net) (Bug fixes)
768-
- Jerome Ibanes (jibanes@gmail.com) (Dockerfile)
768+
* Jerome Ibanes (jibanes@gmail.com) (Dockerfile)
769769

770770
The authors would like to acknowledge
771771

@@ -783,13 +783,13 @@ This work was placed by Christophe de Dinechin under the patronage of
783783

784784
### Hewlett and Packard
785785

786-
Hand-held scientific calculators changed forever when Hewlett and Packard asked
786+
Hand-held scientific calculators changed forever when Bill Hewlett and Dave Packard asked
787787
their engineers to design and produce the HP35, then again when their company
788788
introduced the first programmable hand-held calculator with the HP65, and
789789
finally when they introduced the RPL programming language with the HP28.
790790

791791
Christophe de Dinechin, the primary author of DB48X, was lucky enough to meet
792-
both Hewlett and Packard in person, and this was a truly inspiring experience.
792+
both Bill Hewlett and Dave Packard in person, and this was a truly inspiring experience.
793793
Launching the Silicon Valley is certainly no small achievement, but this pales
794794
in comparison to bringing RPN and RPL to the world.
795795

@@ -871,7 +871,7 @@ The DB48X took several ideas and some inspiration from the
871871
[WP43](https://gitlab.com/rpncalculators/wp43) and
872872
[C47](https://47calc.com) projects.
873873

874-
Walter Bonin initiated the WP43 firwmare for the DM42 as a "superset of the
874+
Walter Bonin initiated the WP43 firmware for the DM42 as a "superset of the
875875
legendary HP42S RPN Scientific".
876876

877877
C47 (initially called C43) is a variant of that firmware initiated by Jaco
@@ -934,7 +934,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
934934
# Introduction to RPL
935935

936936
The original RPL (*Reverse Polish Lisp*) programming language was designed and
937-
implemented by Hewlett Packard for their calculators from the mid-1980s until
937+
implemented by Hewlett-Packard for their calculators from the mid-1980s until
938938
2015 (the year the HP50g was discontinued). It is based on older calculators
939939
that used RPN (*Reverse Polish Notation*). Whereas RPN had a limited stack size
940940
of 4, RPL has a stack size only limited by memory and also incorporates
@@ -997,7 +997,7 @@ DB48X keyboard overlay, this key is also marked as `=` for that reason.
997997

998998
Since introducing the first scientific pocket calculator, the HP-35, in 1972,
999999
and with it the reverse polish notation (RPN), Hewlett-Packard perfected its
1000-
line-up for decades. This led to such powerhouses pocket computers such as as
1000+
line-up for decades. This led to such powerhouse pocket computers as
10011001
the HP-41C series, or tiny wonders of pocket efficiency such as the HP-15C. Many
10021002
of these calculators, including the models we just cited, were capable of
10031003
advanced mathematics, including dealing with complex numbers, matrix operations,

0 commit comments

Comments
 (0)