[Pipet Devel] man to man^H^H^Hnode parameters

Jean-Marc Valin jean-marc.valin at hermes.usherb.ca
Thu Jul 13 15:32:33 EDT 2000


"J.W. Bizzaro" a écrit :
> 
> I just wanted to re-introduce Brad's very cool idea of parsing Unix man pages
> for the purpose of automatically determining the parameters to be used with
> command-line programs imported to run under Piper (as nodes).
> 
> We should develop a parser that can grab both the OPTIONS and their
> descriptions and XML-ize them.  Descriptions can then be used by the UI as
> tooltips or the equivalent.

This actually gives me an idea for Overflow:
parse all the headers in /usr/include, and automatically generate Overflow Nodes
for all the functions (and maybe Overflow types for all teh structs). I'm not
yet sure how to make that work for all cases (especially when values are
returned from pointers), but for functions like 'sin', 'cos', ... I think it
wouldn't be hard. For those who have tried VisualWorks (Smalltalk), this could
be similar to the DLL/C Connect process.

	Jean-Marc

-- 
Jean-Marc Valin
Universite de Sherbrooke - Genie Electrique
valj01 at gel.usherb.ca





More information about the Pipet-Devel mailing list