On 10/27/2016 02:47 AM, andy pugh wrote: > On 27 October 2016 at 01:59, Jeff Epler <jep...@unpythonic.net> wrote: >> I'm totally open to 'comp' gaining a new output format that describes the >> component. that beats parsing manpage markup by a factor of about a billion. >> but somebody needs to design that format and implement it in comp. > > It's also likely to be rather difficult, look at > https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/components/bldc.comp > for a rather pathological example. > > That component calculates its own "personality" parameter from a config > string.
Good point, Andy - the pins available can depend on comp load-time arguments. It might make sense for the HAL gui viewer/editor to just load the comp (with the user's chosen command-line arguments) and look, rather than try to guess what pins *would* be available if it *were* loaded. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers