Skip to content

Commit

Permalink
Americanize endings of words in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hirrolot committed Jun 29, 2024
1 parent 680d393 commit 124b847
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- `ML99_assignInitializerList(Stmt)` as `ML99_assign(Stmt)` counterparts for initialiser lists.
- `ML99_assignInitializerList(Stmt)` as `ML99_assign(Stmt)` counterparts for initializer lists.

## 1.4.1 - 2021-08-05

Expand Down Expand Up @@ -255,7 +255,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- `assert.h`:
- Parenthesise expressions passed to `ML99_ASSERT`, `ML99_ASSERT_EQ`.
- Parenthesize expressions passed to `ML99_ASSERT`, `ML99_ASSERT_EQ`.

### Changed

Expand Down Expand Up @@ -371,7 +371,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Initialise variables produced by `M_semicolon` and `M_assertPlain` to suppress warnings.
- Initialize variables produced by `M_semicolon` and `M_assertPlain` to suppress warnings.

## 0.4.0 - 2021-02-26

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ See [`ARCHITECTURE.md`](ARCHITECTURE.md).

See [`idioms.md`](idioms.md).

## Optimisation tips
## Optimization tips

See [`optimization_tips.md`](optimization_tips.md).

Expand Down
2 changes: 1 addition & 1 deletion include/metalang99/eval/eval.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
~)

/*
* In this subroutine, we employ the following optimisation:
* In this subroutine, we employ the following optimization:
*
* - If `evaluated_op` expands to many terms, we first evaluate these terms and accumulate them
* (`ML99_PRIV_EVAL_0callUneval_K_1`).
Expand Down
2 changes: 1 addition & 1 deletion include/metalang99/lang.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
#define ML99_abort(...) (0abort, __VA_ARGS__)

/**
* A convenience macro to emphasise that your metafunction expands to more than one term.
* A convenience macro to emphasize that your metafunction expands to more than one term.
*
* This macro just expands to provided arguments.
*
Expand Down
2 changes: 1 addition & 1 deletion include/metalang99/stmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
* The same as #ML99_INTRODUCE_VAR_TO_STMT but deals with a single non-`NULL` pointer.
*
* In comparison with #ML99_INTRODUCE_VAR_TO_STMT, this macro generates a little less code. It
* introduces a pointer to @p ty identified by @p name and initialised to @p init.
* introduces a pointer to @p ty identified by @p name and initialized to @p init.
*
* Top-level `break`/`continue` inside a user-provided statement are prohibited.
*
Expand Down
4 changes: 2 additions & 2 deletions optimization_tips.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Optimization tips

_This document describes a few optimisation tips when using Metalang99._
_This document describes a few optimization tips when using Metalang99._

Generally speaking, the fewer reduction steps you perform, the faster you become. A reduction step is a concept defined formally by the [specification]. Here is its informal (and imprecise) description:

Expand All @@ -11,7 +11,7 @@ To perform fewer reduction steps, you can:

- use `ML99_callUneval`,
- use plain macros (e.g., `ML99_CAT` instead of `ML99_cat`),
- use optimised versions (e.g., `ML99_listMapInPlace`),
- use optimized versions (e.g., `ML99_listMapInPlace`),
- use tuples/variadics instead of lists,
- call a macro as `<X>_IMPL(...)`, if all the arguments are already evaluated.

Expand Down

0 comments on commit 124b847

Please sign in to comment.