Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eilvelia committed Dec 27, 2024
1 parent ead5ed2 commit 99c4a88
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
6 changes: 5 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 0.2.0 (2024-12-27)

- Updated to KDL v2.0 (many breaking changes, see the KDL changelog).
- Reworked numbers: added the `Kdl.Num` module, including
Expand All @@ -9,6 +9,10 @@
versions of `(.@())` and `(.@()<-)`, added `KDL.L.first_arg`.
- `interpret` now raises `Invalid_annotation` instead of `Failure`.
- `i8`, `i16`, etc. wrappers over `interpret` have been removed.
- Added `of_chunk_gen{,exn}`. Removed the `show`, `show_error`,
`from_string{,exn}` aliases. Renamed `from_channel{,exn}` to
`of_channel{,exn}`.
- Added `pp_error`, `pp_typed_value`.
- Dropped support for OCaml < 4.14.0.

## 0.1.0 (2022-10-01)
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ OCaml implementation of the [KDL Document Language][kdl] v2.
$ opam install kdl
```

**Note**: This is the working version for KDL v2. For the published version of
ocaml-kdl for KDL v1, see the `v0.1.0` tag.

## Features

- [x] Parsing
Expand Down Expand Up @@ -91,7 +88,7 @@ Additionaly, type-annotated values can be "interpreted":

```ocaml
# let parsed = Kdl.of_string_exn "- (u8)220"
# Kdl.interpret Kdl.L.(parsed.@!(node "-" // arg 0))
# Kdl.interpret Kdl.L.(parsed.@!(node "-" // first_arg))
- : [> Kdl.typed_value ] = `U8 220
```

Expand Down
2 changes: 1 addition & 1 deletion kdl.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
name: "kdl"
version: "0.1.0"
version: "0.2.0"
synopsis: "OCaml implementation of the KDL Document Language"
maintainer: "eilvelia <[email protected]>"
authors: "eilvelia <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion kdl.opam.locked
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
name: "kdl"
version: "0.1.0"
version: "0.2.0"
synopsis: "OCaml implementation of the KDL Document Language"
maintainer: "eilvelia <[email protected]>"
authors: "eilvelia <[email protected]>"
Expand Down

0 comments on commit 99c4a88

Please sign in to comment.