diff options
author | rillig <rillig@pkgsrc.org> | 2006-05-20 14:26:00 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-05-20 14:26:00 +0000 |
commit | 095dd123e75eef1afb1bfc793998946611292682 (patch) | |
tree | 452b980aaf4242c6951cd645f2f535cc9aa16125 /pkgtools | |
parent | c085db8cb1f5574fa483c43a865fb9b3da2332e4 (diff) | |
download | pkgsrc-095dd123e75eef1afb1bfc793998946611292682.tar.gz |
Switching pkglint to OCaml looks feasible.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/doc/chap.code.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/doc/chap.code.xml b/pkgtools/pkglint/files/doc/chap.code.xml index dbba5f8989f..85914d66c0f 100644 --- a/pkgtools/pkglint/files/doc/chap.code.xml +++ b/pkgtools/pkglint/files/doc/chap.code.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: chap.code.xml,v 1.3 2006/05/20 08:53:19 rillig Exp $ --> +<!-- $NetBSD: chap.code.xml,v 1.4 2006/05/20 14:26:00 rillig Exp $ --> <chapter id="code"> <title>Code structure</title> @@ -282,9 +282,18 @@ a string representation of the reference and match the regular expression against that.</para> +</sect1> +<sect1 id="code.lang"> +<title>Switching to another language</title> + <para>Switching to C++ is not an option, since the typing overhead would be more than twice the current amount. As a consequence the code would become much less readable.</para> + <para>Switching to OCaml looks nice (because of the type + inference), but the regular expressions that are provided by the + system are by no means sufficient. On the other hand, since + today there is a PCRE package for OCaml in pkgsrc.</para> + </sect1> </chapter> |