language-c99-simple

C-like AST to simplify writing C99 programs.

LTS Haskell 23.1:0.3.0
Stackage Nightly 2024-12-22:0.3.0
Latest on Hackage:0.3.0

See all snapshots language-c99-simple appears in

MIT licensed by Frank Dedden
Maintained by Frank Dedden
This version can be pinned in stack with:language-c99-simple-0.3.0@sha256:aaf6893044db15a8379cc90af7ca4c579c5325f151ec69dc38bfcbdf50cc4847,1542
Used by 1 package in nightly-2024-06-20(full list with versions):

This package is a wrapper on top of 'language-c99'. It provides a simpler interface more suited for writing C99 programs. It achieves this by implementing its own C-like AST, supporting the most used C features. In turn, this AST is translated into actual C99 one, showing that it is an actual subset.

Changes

Revision history for language-c99-simple

0.3.0 – 2024-01-03

  • Use https instead of git:// for source url (thanks felixonmars) (#24).
  • Extend FunDef with an optional StorageSpec. (thanks ivanperez-keera) (#23).

0.2.3 – 2023-08-30

  • Allow building with mtl-2.3.1 (thanks RyanGlScott) (#15).

0.2.2 – 2022-08-28

  • Added support for sizeof (#12).

0.2.1 – 2022-08-15

  • Bump version number for release (#10).
  • Fixed a bug where the order of init list was reversed (thanks RyanGlScott!). (#9)

0.2.0 – 2022-05-21

  • Added support for initializers with designators.
  • Added support for enum and union.

0.1.2 – 2019-05-12

  • Added support for storagespec.

0.1.1 – 2019-04-01

  • Implemented transtypename, used in typecasts.
  • Fixed version bounds on dependencies.

0.1.0.0 – 2019-03-30

  • First version. Initial version supporting features needed for copilot. Contains no comments yet.