Linux repositories inspector

cdecl - Turn English phrases to C or C++ declarations

Turn English phrases to C or C++ declarations Cdecl is a program which will turn English-like phrases such as "declare foo as array 5 of pointer to function returning int" into C declarations such as "int (*foo[5])()". It can also translate the C into the pseudo-English. And it handles typecasts, too. Plus C++. And in this version it has command line editing and history with the GNU readline library.
6.9
OpenSUSE iconOpenSUSE Tumbleweed
2.5
Debian iconDebian 10.0
Debian iconDebian 9.0
OpenSUSE iconOpenSUSE Leap 15.0
OpenSUSE iconOpenSUSE Leap 15.1
OpenSUSE iconOpenSUSE Leap 15.2
OpenSUSE iconOpenSUSE Leap 42.3
Ubuntu iconUbuntu 17.10
Ubuntu iconUbuntu 18.04 LTS
Ubuntu iconUbuntu 18.10
Ubuntu iconUbuntu 19.04
Ubuntu iconUbuntu 19.10
Ubuntu iconUbuntu 20.04
Ubuntu iconUbuntu 16.04 LTS
DistributionVersionSincePackageInstalledPackager
Debian iconDebian 10.0 buster/maindeb2.5-13+b22017-11-1024.8 kiB67 kiB
Debian iconDebian 9.0 stretch/maindeb2.5-13+b22017-11-1024.8 kiB67 kiB
OpenSUSE iconOpenSUSE Leap 15.0 ossrpm2.5-lp150.1.32019-01-1731.5 kiB52.9 kiBhttps://bugs.opensuse.org
OpenSUSE iconOpenSUSE Leap 15.1 ossrpm2.5-lp151.2.32019-01-2331.5 kiB52.9 kiBhttps://bugs.opensuse.org
OpenSUSE iconOpenSUSE Leap 15.2 ossrpm2.5-lp152.3.42020-01-0731.5 kiB52.9 kiBhttps://bugs.opensuse.org
OpenSUSE iconOpenSUSE Leap 42.3 ossrpm2.5-20.12019-01-1725.9 kiB49 kiBhttp://bugs.opensuse.org
OpenSUSE iconOpenSUSE Tumbleweed ossrpm6.9-1.12020-03-08116 kiB285 kiBhttps://bugs.opensuse.org
Ubuntu iconUbuntu 17.10 artful/universedeb2.5-13build12017-11-1025 kiB66 kiB
Ubuntu iconUbuntu 18.04 LTS bionic/universedeb2.5-13build12017-11-1025 kiB66 kiB
Ubuntu iconUbuntu 18.10 cosmic/universedeb2.5-13build12019-01-1425 kiB66 kiB
Ubuntu iconUbuntu 19.04 disco/universedeb2.5-13build22019-01-2725.6 kiB70 kiB
Ubuntu iconUbuntu 19.10 eoan/universedeb2.5-13build22019-06-1725.6 kiB70 kiB
Ubuntu iconUbuntu 20.04 focal/universedeb2.5-13build22020-01-0725.6 kiB70 kiB
Ubuntu iconUbuntu 16.04 LTS xenial/universedeb2.5-132017-11-1023.6 kiB88 kiB

Manual pages

cdecl(1)

cdecl, c++decl - compose and decipher C & C++ declarations and casts

Latest updates

OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 6.8.2-1.1 to 6.9-1.1

2020-03-08
  • Update to release 6.9
    • The `cast` command now accepts `as` and `to` in addition to `into`.
    • Autocomplete was missing `explain-by-default;`.
OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 6.8.1-1.1 to 6.8.2-1.1

2020-01-26
  • Update to release 6.8.2
    • When in explain-by-default mode, a special case has to be made for `const` and `static` keywords, since the `explain` command is implied only when not followed by the `cast` keyword.
OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 6.8-1.1 to 6.8.1-1.1

2020-01-24
  • Update to release 6.8.1
    • Reset lexer start-state
OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 6.6.2-1.1 to 6.8-1.1

2020-01-15
  • Update to release 6.8
    • Since the set explicit-int option was added (an option that takes a value), a set lang=lang option was added.
OpenSUSE icon

OpenSUSE Leap 15.2 oss: Version 2.5-lp152.3.4 introduced

2020-01-07
  • keyword-identifier.patch: rename identifier conflicting with keyword
Ubuntu icon

Ubuntu 20.04 focal/universe: Version 2.5-13build2 introduced

2020-01-07
  • No-change rebuild for readline soname change.
OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 2.5-15.19 to 6.6.2-1.1

2019-12-24
  • Update to release 6.6.2
    • Command-line long-options.
    • Distinguishes among K&R C, C89, C95, C99, C11, C18, C++98, C++03, C++11, C++14, C++17, and C++20.
    • Support for C89 const, restrict, and volatile declarations.
    • Support for the standard C95 type wchar_t.
    • Support for the standard C99 types _Bool, _Complex,
      _Imaginary, int8_t, int16_t, ptrdiff_t, size_t, etc.
    • Support for C99 static, type-qualified, and variable length array function arguments.
    • Support for the standard C11 atomic types atomic_bool, atomic_char, etc.
    • Support for the standard C11 and C++11 types char16_t, char32_t, and thread_local.
    • Support for inline function and variable declarations.
    • Support for typedef declarations.
    • Support for variadic function arguments.
    • Support for C and C++ alternative tokens (and, and_eq, etc.).
    • Support for C++ mutable data members, namespaces and scoped names, new-style casts, throw, overloaded operators, and friend, virtual and pure virtual member function declarations, and user-defined conversion operators.
    • Support for C++11 constexpr, enum class, final, noexcept, override, rvalue references, user-defined literals, using (as a typedef synonym), the function trailing return-type syntax, and ref-qualified member function declarations.
    • Support for C++ [[carries_dependency]], [[deprecated]],
      [maybe_unused], [[nodiscard]], and [[noreturn]] attribute
      specifiers.
    • Better warning and error messages complete with location information and color.
  • Drop cdecl-2.5-deb11.diff
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 reintroduced

2019-10-10
  • No-change rebuild for readline soname change.
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 removed

2019-10-10
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 reintroduced

2019-10-10
  • No-change rebuild for readline soname change.
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 removed

2019-10-10
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 reintroduced

2019-09-25
  • No-change rebuild for readline soname change.
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 removed

2019-09-25
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 reintroduced

2019-09-25
  • No-change rebuild for readline soname change.
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 removed

2019-09-25
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 reintroduced

2019-09-06
  • No-change rebuild for readline soname change.
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 removed

2019-09-06
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 reintroduced

2019-09-06
  • No-change rebuild for readline soname change.
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 removed

2019-09-06
Ubuntu icon

Ubuntu 19.10 eoan/universe: Version 2.5-13build2 reintroduced

2019-09-06
  • No-change rebuild for readline soname change.

Related packages

cdecl-debuginfo - Debug information for package cdecl
cdecl-debugsource - Debug sources for package cdecl
⇧ Top