Also worth noting again that compiler.graphviz isn't the most interesting
library. Like John said, you're probably looking for just `graphviz` (in
extra/graphviz). compiler.graphviz was some quickie utility written by
Slava to show the overall shape of the control flow graph. The reason it's
marked Unix-only was indeed because of its association with the busted
graphviz vocabulary (
https://github.com/slavapestov/factor/commit/ece7a4177ad519ed2d88d33b97116e1c80ed5040)
even though it doesn't really *use* the graphviz vocab (it does now in a
minor way, but not when that platforms.txt was added). It just manually
constructs DOT files and makes calls to system binaries. Indeed, it's
"Unix-only" in another way, since it hard-codes a call to `open`, an OSX
command---pretty sure Slava was basically just whipping up the library for
personal development on his Mac.
I wrote compiler.cfg.graphviz using the graphviz vocab to generate graphs
that actually show the intermediate representation's instructions (e.g.,
https://github.com/ajvondrak/thesis/blob/master/examples/gvn/0-build-cfg.svg).
Also not the most interesting, unless you're working with the compiler. Fun
story: tried to `USE: compiler.cfg.graphviz` just now, got some endless
loop of error windows that crashed my X11 session. But that's debugging for
another day, I'm afraid. :)
On Thu, Sep 17, 2015 at 7:25 AM, Alex Vondrak <ajvond...@gmail.com> wrote:
> Is Alex Vondrak on the list?
>
>
> Am I ever! Though you couldn't tell by looking... ;)
>
> Would he be able to comment on how important that function is, and if we
>> could work without it?
>>
>
> Looks like you're running a very old version of the graphviz library that
> used the Graphviz API through Factor's FFI. That turned out to have
> headaches, so the library was reworked to instead spit out DOT code & call
> your platform's graphviz executable:
> https://github.com/slavapestov/factor/issues/724
>
>
> On Thu, Sep 17, 2015 at 4:49 AM, Alexander Ilin <ajs...@yandex.ru> wrote:
>
>> Hello!
>>
>> Thanks for the explanation.
>>
>> 17.09.2015, 14:22, "John Benediktsson" <mrj...@gmail.com>:
>> > Vocabularies can have a platforms.txt file that has a list of OS that
>> it supports. If the platforms.txt file is not specified, we assume it runs
>> everywhere.
>>
>> > The "graphviz" vocabulary is probably the one you want and does work on
>> Windows and does not specify a platforms.txt.
>>
>> Ignoring the platform restriction errors (by clicking Continue) works
>> up to a point.
>> Unfortunately, I found this comment in the source:
>> ! This function doesn't exist on the Windows mason in Graphviz 2.28
>>
>> And, indeed, gvplugin_list is not present in gvc.dll.
>> Not sure how to proceed from here. Is Alex Vondrak on the list? Would
>> he be able to comment on how important that function is, and if we could
>> work without it?
>>
>> ---=====---
>> Александр
>>
>>
>> ------------------------------------------------------------------------------
>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>> Get real-time metrics from all of your servers, apps and tools
>> in one place.
>> SourceForge users - Click here to start your Free Trial of Datadog now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>> _______________________________________________
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>
>
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk