From 6701f1af54131b693124f759e2d0fa07880c0e93 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Tue, 23 Feb 2021 21:24:48 -0500 Subject: [PATCH] Convert cdecl99 project page to use bundled README.md. --- .gitmodules | 3 +++ content/projects/cdecl99.md | 53 +++---------------------------------- gitmodules/cdecl99 | 1 + 3 files changed, 7 insertions(+), 50 deletions(-) create mode 160000 gitmodules/cdecl99 diff --git a/.gitmodules b/.gitmodules index a4fbfc5..d345e88 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "gitmodules/slotifier"] path = gitmodules/slotifier url = https://git.draconx.ca/slotifier.git +[submodule "gitmodules/cdecl99"] + path = gitmodules/cdecl99 + url = https://git.draconx.ca/cdecl99.git diff --git a/content/projects/cdecl99.md b/content/projects/cdecl99.md index b6438ed..b515f2c 100644 --- a/content/projects/cdecl99.md +++ b/content/projects/cdecl99.md @@ -1,55 +1,8 @@ --- title: Cdecl99 -copyright: 2019 Nick Bowler +copyright: 2021 Nick Bowler license: gpl-3 or (at your option) any later version +module: cdecl99 --- -Cdecl99 is a tool to help construct or understand complicated C declarations. -Inspired by the venerable cdecl, which predates C's standardization in 1989, -cdecl99 implements more or less the same concept but for modern C. - -Unlike the original cdecl, cdecl99 supports all relevant C99 keywords, has no -undue restrictions on identifiers, understands features such as complex types, -variadic functions and named parameters, and also has the ability to parse -"plain" type names (which do not declare an identifier). - -At this time there is no support for new declaration syntax introduced in C11, -including atomic types, `_Alignas`, `_Thread_local` or `_Noreturn` specifers. - -The package includes both an executable program (cdecl99) and a library -(libcdecl) which can be used by other programs to provide cdecl-like -functionality. - -# Obtaining cdecl99 - -[cdecl99-gitweb]: //git.draconx.ca/gitweb/cdecl99.git - -There are presently no released versions of cdecl99. The development sources -[may be browsed online][cdecl99-gitweb] or cloned directly using git, e.g., - -git clone https://git.draconx.ca/cdecl99.git - -# Dependencies - -[readline-homepage]: https://www.gnu.org/software/readline/ -[gettext-homepage]: https://www.gnu.org/software/gettext/ - -Cdecl99 is written in C, so a working C compiler is required. All external -library dependencies are optional and provide additional functionality. - -The [GNU readline library][readline-homepage] is used to provide interactive -line-editing and history functionality. - -The [GNU libintl library][gettext-homepage] (included with the GNU C library) -is used to support localized program messages. However, the core functionality -of translating C declarations into pseudo-English is not localizable since the -output is intended to be machine-readable. - -Building from the development sources may require additional build tools. - -# License - -Cdecl99 is free software: you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free Software -Foundation, either version 3 of the License or (at your option) any later -version. +<%= project_readme %> diff --git a/gitmodules/cdecl99 b/gitmodules/cdecl99 new file mode 160000 index 0000000..1b9e87d --- /dev/null +++ b/gitmodules/cdecl99 @@ -0,0 +1 @@ +Subproject commit 1b9e87d8cac4e24034cb4d8f5c42824bac507772 -- 2.43.0