summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-20 14:26:00 +0000
committerrillig <rillig@pkgsrc.org>2006-05-20 14:26:00 +0000
commit230833c18066e55aaabcac53a6d6718f385ed6fd (patch)
tree452b980aaf4242c6951cd645f2f535cc9aa16125 /pkgtools
parent23a355e93ab0aee96398d5001762a7ab929c6ef8 (diff)
downloadpkgsrc-230833c18066e55aaabcac53a6d6718f385ed6fd.tar.gz
Switching pkglint to OCaml looks feasible.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/doc/chap.code.xml11
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>