octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl for DOCSTRINGs


From: John W. Eaton
Subject: Re: Perl for DOCSTRINGs
Date: Fri, 29 Apr 2016 14:25:10 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 04/28/2016 10:06 PM, Daniel J Sebald wrote:

Another alternative is to write an Octave script to do the same thing as
the Perl script.  Once Octave is built, run a script that descends into
the directory tree and extracts the C strings.  I'm recalling some
Octave commands that process escape sequences, so maybe the C-string
escape-sequence work intended to avoid is already built into some simply
Octave command.  Commands like "dir", etc. give a list of directories,
file names.  The advantage is that the Octave script is by default
portable across systems.  The drawback is that Octave has to build and
run properly to get the documentation, if that is a problem.

It is a problem for a cross compiling situation, because it would mean that to complete a cross build, you'd also have to do a native build. I don't see the point of that if it can be easily avoided by doing the job with other scripting language tools that are already expected to exist on the build system.

jwe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]