[Factor-talk] Graphviz

2015-09-17 Thread Alexander Ilin
Hello! Yesterday, while browsing the extra/ folder, I found compiler.graphviz vocabulary. Trying to USE: it, however, produces an error message: "Current operating system not supported by this vocabulary" ... "requires { unix }" Two questions arise. 1. How do I mark a vocabulary to

Re: [Factor-talk] Graphviz

2015-09-17 Thread Alexander Ilin
Hello! Thanks for the explanation. 17.09.2015, 14:22, "John Benediktsson" : > 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

Re: [Factor-talk] Graphviz

2015-09-17 Thread John Benediktsson
Hi Alexander, 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.

Re: [Factor-talk] Graphviz

2015-09-17 Thread Alex Vondrak
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

Re: [Factor-talk] Graphviz

2015-09-17 Thread Alex Vondrak
> > 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

Re: [Factor-talk] Graphviz

2015-09-17 Thread Alexander Ilin
Hello, Alex! 17.09.2015, 17:26, "Alex Vondrak" : > 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 >

Re: [Factor-talk] Graphviz unit tests

2011-09-18 Thread John Benediktsson
- The current tests pass on my machine. But then, my machine = a Debian box with Graphviz 2.26.3 installed (since I guess 2.28 is too bleeding-edge for Debian) and erg's plugin-list fix reverted (which I'm certainly thankful for, but 2.26 doesn't have the gvPluginList function; ugh).

Re: [Factor-talk] Graphviz unit tests

2011-09-18 Thread Alexander James Vondrak
I get a kernel-error trying to run the first smoke-test (5 K_n), with Graphviz 2.28.0 on Mac OS X 10.7.1 x86_64. And running graphviz test causes Factor to quit unexpectedly... which might be a different bug? I hate Graphviz. I really, really do. I'm not sure about the kernel-error, but if

Re: [Factor-talk] Graphviz unit tests

2011-09-18 Thread John Benediktsson
Unfortunately, this is all I get from the command-line. I'll need to do more debugging at some point: ( scratchpad ) USE: graphviz ( scratchpad ) graphviz test Unit Test: { { t } [ 5 K_n smoke-test ] } factor(53761,0x7fff7512c960) malloc: *** error for object 0xc000: pointer being

[Factor-talk] Graphviz gvplugin_list and dlls for Windows

2011-09-07 Thread Doug Coleman
Graphviz is one of the libraries currently holding up binary release on Windows and Mac. If we can find a fix for these problems, we can release Factor .95 soon. 1) graphviz.render is calling supported-engines as a top-level form, but my dlls don't have a gvplugin_list() call in gvc.dll. I

Re: [Factor-talk] Graphviz gvplugin_list and dlls for Windows

2011-09-07 Thread Alexander James Vondrak
Graphviz is one of the libraries currently holding up binary release on Windows and Mac. If we can find a fix for these problems, we can release Factor .95 soon. Well, that seems like a trivial library to block a release for... but my dlls don't have a gvplugin_list() call in gvc.dll. Hm.

Re: [Factor-talk] Graphviz gvplugin_list and dlls for Windows

2011-09-07 Thread Slava Pestov
Hi Alexander, On Wed, Sep 7, 2011 at 5:32 PM, Alexander James Vondrak ajvond...@csupomona.edu wrote: on Windows and Mac. If we can find a fix for these problems, we can release Factor .95 soon. Well, that seems like a trivial library to block a release for... We can't make a release until

Re: [Factor-talk] Graphviz vocab

2011-05-23 Thread Dmitry Sh.
Hi, Alexander. You can take a look at my (far from complete) library and try to merge/reuse some code if you find it useful. https://github.com/dmsh/factor/tree/graphviz On 5/22/11, Alexander J. Vondrak ajvond...@csupomona.edu wrote: Hey, I just pushed a graphviz vocab to

[Factor-talk] Graphviz vocab

2011-05-22 Thread Alexander J. Vondrak
Hey, I just pushed a graphviz vocab to https://github.com/ajvondrak/factor (the 'graphviz' branch). If it looks like a good addition, any code review / testing / proofreading the docs would be welcome. Regards, --Alex Vondrak