Skip to contentSkip to conversation

new release, 1.3

cocci Julia Lawall 2 participants 3 messages Nov 15, 2024

lore
Share & tools
lore
#0 lore raw

Hello,

There is a new release of Coccinelle, version 1.3. The most important change is that OCaml 5.1.1 is now supported. However this has led to needing to drop support for some older versions.

Some more user-facing changes are described below.

julia

Language:
- Improve support for floats
- Add partial support for C++ struct access specifiers
- Add support for braced init lists
- Add support for matching of multiline pragma info

Features:
- Officially supported OCaml versions are now 4.08.0.-5.1.1
- Improve support for C++ test suite
- Allow changing pragmainfo in ocaml or python code
- Use cmi_format to allow clean parsing of .mli files

Bugfix:
- Fix type deduction of decimal constants
- Fix some C tests

#2 lore raw
Quoted 11 lines · Derek M Jones

Julia,

Quoted 1 line

There is a new release of Coccinelle, version 1.3. The most important

Yay!

Quoted 1 line

- Fix some C tests

If you are looking to produce lots of detailed C tests, ChatGPT is surprisingly good
https://shape-of-code.com/2024/10/27/c-compiler-conformance-testing-with-chatgpt-assistance/

Thanks for the suggestion!

julia

Quoted 6 lines

--
Derek M. Jones Evidence-based software engineering
blog:https://shape-of-code.com