W dniu 26 maja 2011 17:52 użytkownik DJ Delorie <d...@delorie.com> napisał:

>> Maybe we should aim at core gnetlist API being available in libgeda?
>> Or in libgnetlist?
>
> What would this API provide?  Would PCB need/want to use it?

I'm not sure yet - just were trying to think how to provide an option
to use multiple scripting languages.
Currently backend methods are discovered & loaded by the gnetlist core.
That is only possible if scripting language is embedded into executable.
If gnetlist became a library, common low-level code & the driving part
would be kept there.
Backends would then be standalone executables/scripts that would load
gnetlist library, register callbacks and kick gnetlist core to start
processing.

Another way is to provide primitive operations for querying schematics
and other data sources and implement whole netlister flow in the
backend - depends on the level of freedom/burden we want to have in
the scripting layer.

-- 
Krzysztof Kościuszkiewicz
"Simplicity is the ultimate sophistication" -- Leonardo da Vinci


_______________________________________________
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Reply via email to