Skip to content

Commit

Permalink
Tweak capitalization in URL links
Browse files Browse the repository at this point in the history
  • Loading branch information
hirrolot committed Oct 1, 2024
1 parent 0b5c778 commit 02e0b87
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fix the `DOWNLOAD_EXTRACT_TIMESTAMP` CMake warning ([issue #15](https://github.com/Hirrolot/datatype99/issues/15)).
- Fix the `DOWNLOAD_EXTRACT_TIMESTAMP` CMake warning ([issue #15](https://github.com/hirrolot/datatype99/issues/15)).

## 1.6.3 - 2022-05-15

### Fixed

- Generation of binding variables when compiling on C++ ([issue #14](https://github.com/Hirrolot/datatype99/issues/14)).
- Generation of binding variables when compiling on C++ ([issue #14](https://github.com/hirrolot/datatype99/issues/14)).

## 1.6.2 - 2022-01-02

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

### Fixed

- The `derive` attribute was made into a macro (see [issue #12](https://github.com/Hirrolot/datatype99/issues/12)).
- The `derive` attribute was made into a macro (see [issue #12](https://github.com/hirrolot/datatype99/issues/12)).

## 1.5.1 - 2021-10-06

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

- Add the missing arity specifier for `DATATYPE99_datatype`.
- Make Datatype99 work on TCC (see [issue #10](https://github.com/Hirrolot/datatype99/issues/10)).
- Make Datatype99 work on TCC (see [issue #10](https://github.com/hirrolot/datatype99/issues/10)).

## 1.1.0 - 2021-04-24

Expand All @@ -112,8 +112,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- `#pragma GCC diagnostic` inside functions error on GCC older than 4.6 ([issue #8](https://github.com/Hirrolot/datatype99/issues/8)).
- Inconsistent suppression of `-Wreturn-type` ([issue #9](https://github.com/Hirrolot/datatype99/issues/9)).
- `#pragma GCC diagnostic` inside functions error on GCC older than 4.6 ([issue #8](https://github.com/hirrolot/datatype99/issues/8)).
- Inconsistent suppression of `-Wreturn-type` ([issue #9](https://github.com/hirrolot/datatype99/issues/9)).
- Suppress Clang's `-Wcast-qual` in `ifLet`.

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

### Fixed

- Avoid using `METALANG99_semicolon` because it turned out to be [dangerous](https://github.com/Hirrolot/metalang99/commit/f17f06adf1a747a8897bbc90c598b2be21c945c8).
- Avoid using `METALANG99_semicolon` because it turned out to be [dangerous](https://github.com/hirrolot/metalang99/commit/f17f06adf1a747a8897bbc90c598b2be21c945c8).
- Clang's `-Wused-but-marked-unused` in `of`.
- The specification now requires an lvalue for `match`.

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include(FetchContent)

FetchContent_Declare(
metalang99
URL https://github.com/Hirrolot/metalang99/archive/refs/tags/v1.13.2.tar.gz
URL https://github.com/hirrolot/metalang99/archive/refs/tags/v1.13.2.tar.gz
)

FetchContent_MakeAvailable(metalang99)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020-2024 Hirrolot
Copyright (c) 2020-2024 hirrolot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="center">
<a href="examples/binary_tree.c"><img src="images/preview.png" width="600" /></a>
<h1>Datatype99</h1>
<a href="https://github.com/Hirrolot/datatype99/actions">
<img src="https://github.com/Hirrolot/datatype99/workflows/C/C++%20CI/badge.svg">
<a href="https://github.com/hirrolot/datatype99/actions">
<img src="https://github.com/hirrolot/datatype99/workflows/C/C++%20CI/badge.svg">
</a>
<a href="https://lists.sr.ht/~hirrolot/metalang99">
<img src="https://img.shields.io/badge/mailing%20list-lists.sr.ht-orange">
Expand Down Expand Up @@ -33,7 +33,7 @@

Datatype99 consists of one header file `datatype99.h` and one dependency [Metalang99]. To use it in your project, you need to:

[Metalang99]: https://github.com/Hirrolot/metalang99
[Metalang99]: https://github.com/hirrolot/metalang99

1. Add `datatype99` and `metalang99/include` to your include directories.
2. Specify [`-ftrack-macro-expansion=0`] (GCC) or [`-fmacro-backtrace-limit=1`] (Clang) to avoid useless macro expansion errors.
Expand All @@ -50,7 +50,7 @@ include(FetchContent)
FetchContent_Declare(
datatype99
URL https://github.com/Hirrolot/datatype99/archive/refs/tags/v1.2.3.tar.gz # v1.2.3
URL https://github.com/hirrolot/datatype99/archive/refs/tags/v1.2.3.tar.gz # v1.2.3
)
FetchContent_MakeAvailable(datatype99)
Expand All @@ -65,7 +65,7 @@ elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU")
endif()
```

(By default, `datatype99/CMakeLists.txt` downloads Metalang99 [v1.13.2](https://github.com/Hirrolot/metalang99/releases/tag/v1.13.2) from the GitHub releases; if you want to override this behaviour, you can do so by invoking [`FetchContent_Declare`] earlier.)
(By default, `datatype99/CMakeLists.txt` downloads Metalang99 [v1.13.2](https://github.com/hirrolot/metalang99/releases/tag/v1.13.2) from the GitHub releases; if you want to override this behaviour, you can do so by invoking [`FetchContent_Declare`] earlier.)

[`FetchContent_Declare`]: https://cmake.org/cmake/help/latest/module/FetchContent.html#command:fetchcontent_declare

Expand Down Expand Up @@ -304,7 +304,7 @@ typedef struct <record-name> {
`char dummy;` is needed to make the structure contain at least one item, according to the standard. Such `record(Foo)` can be used to implement interfaces for it (see [Interface99]).
</details>

[Interface99]: https://github.com/Hirrolot/interface99
[Interface99]: https://github.com/hirrolot/interface99

2. Each deriver taken from `derive(...)` is invoked sequentially, from left to right, as

Expand Down Expand Up @@ -544,7 +544,7 @@ Thanks to Rust and ML for their implementations of sum types.
2. Update `CHANGELOG.md`.
3. Release the project in [GitHub Releases].

[GitHub Releases]: https://github.com/Hirrolot/datatype99/releases
[GitHub Releases]: https://github.com/hirrolot/datatype99/releases

## FAQ

Expand Down Expand Up @@ -576,7 +576,7 @@ Overall, if you can afford a more modern/high-level language, I encourage you to

### Q: Why not third-party code generators?

A: See [Metalang99's README >>](https://github.com/Hirrolot/metalang99#q-why-not-third-party-code-generators).
A: See [Metalang99's README >>](https://github.com/hirrolot/metalang99#q-why-not-third-party-code-generators).

### Q: How does it work?

Expand Down Expand Up @@ -817,4 +817,4 @@ int handle(MyType val) {
}
```
See [issue #9](https://github.com/Hirrolot/datatype99/issues/9).
See [issue #9](https://github.com/hirrolot/datatype99/issues/9).
6 changes: 3 additions & 3 deletions datatype99.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
MIT License
Copyright (c) 2020-2024 Hirrolot
Copyright (c) 2020-2024 hirrolot
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

// The official repository: <https://github.com/Hirrolot/datatype99>.
// The official repository: <https://github.com/hirrolot/datatype99>.

#ifndef DATATYPE99_H
#define DATATYPE99_H
Expand Down Expand Up @@ -95,7 +95,7 @@ SOFTWARE.

#define derive99(...) \
0derive(__VA_ARGS__) /* 0 is used as a prefix to cancel macro expansion; see \
<https://github.com/Hirrolot/datatype99/issues/12>. */
<https://github.com/hirrolot/datatype99/issues/12>. */

#define DATATYPE99_MAJOR 1
#define DATATYPE99_MINOR 6
Expand Down

0 comments on commit 02e0b87

Please sign in to comment.