Skip to content

Releases: Hejsil/mecha

0.10.0

05 Mar 17:02
Compare
Choose a tag to compare

mecha release 0.10.0 which compiles and works for zig 0.14.0

Features

  • Add mecha.unionInit

Changes

  • The result of parsers have changed
    • Whether a parser succeeded in parsing the string is now returned in Result instead of as error.ParserFailed
      • To get out the result, you now have to unwrap the value union, which is either ok: T or err
    • Result now also contains an index instead of rest which contains the amount of progress made into the string
      • For success, this is the end of how much was parsed
      • For error, this is where parsing failed
  • Allow mecha.toStruct to wrap a single value T in a struct with one field of type T (struct { field: T })

0.9.0

19 Jun 19:23
Compare
Choose a tag to compare

mecha release 0.9.0 which compiles and works for zig 0.13.0

0.8.0

21 Apr 08:54
Compare
Choose a tag to compare

mecha release 0.8.0 which compiles and works for zig 0.12.0

Changes

  • Remove support for unofficial package managers gyro and zigmod

0.7.0

02 Feb 13:52
Compare
Choose a tag to compare

mecha release 0.7.0 which compiles and works for zig 0.11.0

0.6.0

21 Dec 22:35
Compare
Choose a tag to compare

mecha release 0.6.0 which compiles and works for zig 0.9.0

0.5.0

05 Jun 13:25
Compare
Choose a tag to compare

The first release of mecha, a library for constructing parsers at comptime using parser combinators.