Albeit not still related to Proloxy, I decided to show the Collectdcp
prototype I was speaking of...
It's simple application to make an AST editable.
The AST, parsed with a DCG (
parse_conf.pl), retains the comments as source of 'configured but disabled' reference data.
Nothing so fancy, anyway, some effort is quite 'low level'...
The GUI is designed with Glade - for sure I'm not an experienced UI designer... hints welcome !
There is some Prolog scripts to web scrape semi-formalized editable configurations from Collectd wiki.
Yet to be completed, will generate Gtk/Glade forms for detailed configuration editing...
Notably, SWI-Prolog IDE is quite usable to debug/develop the application. Thanks Keri !
The gtkmm (i.e. C++) counterpart is still under way, and I think will change a lot, but so far, could be useful to compare different Gnome languages 'at work'.
It's not a direct rewrite, most of a learning from scratch process about Gtk,Glib,PLGI,gtkmm,Glade, etc... I surely hit some rough points.
Gnome platform it's nice, and rather big... but I feel a little Gnome adept by now !
To run a test, PLGI is requested, as well as
$ sudo apt-get install libgtksourceviewmm-3.0-dev
$ cd collectdcp/swipl-plgi
$ swipl -g "[editapp],editapp"
Carlo