summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2006-05-20 14:26:00 +0000
committerrillig <rillig>2006-05-20 14:26:00 +0000
commit74ae3112e03ebab50b314188c159d0662c31201c (patch)
tree452b980aaf4242c6951cd645f2f535cc9aa16125 /pkgtools
parent3661ddbda29ac45e9570b946a8dcaba123d0bc2e (diff)
downloadpkgsrc-74ae3112e03ebab50b314188c159d0662c31201c.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>