Re: [Factor-talk] Factor Code Analysis Tools

2016-05-26 Thread Alexander Ilin
Hello, Alex! Thank you, it looks nice, I'll give it a try, although it's not something I need at the moment.It's good to know such a thing exists. 25.05.2016, 18:41, "Alex Vondrak" :In case it helps, here's an ancient gist of mine where I did some basic vocab dependency

Re: [Factor-talk] Factor Code Analysis Tools

2016-05-26 Thread Alexander Ilin
Hello, Doug! I've read the lint vocab and I must say I'm impressed yet again by how simple things are in Factor.Thanks for the great tool! ---=---Александр  -- Mobile security can be enabling, not merely restricting.

Re: [Factor-talk] Factor Code Analysis Tools

2016-05-25 Thread Alexander Ilin
Hello, Andrea! 25.05.2016, 19:00, "Andrea Ferretti" : >> Also, I seem to remember from somewhere (help system? a blog post?) about a >> tool that can analyze a word and find similar code elsewhere > > I think you refer to

Re: [Factor-talk] Factor Code Analysis Tools

2016-05-25 Thread Alex Vondrak
In case it helps, here's an ancient gist of mine where I did some basic vocab dependency analysis: https://gist.github.com/ajvondrak/4158963 This was to find circular dependencies, where loading the vocab would go into an infinite loop. Thus I couldn't use the loaded vocab objects themselves, so

Re: [Factor-talk] Factor Code Analysis Tools

2016-05-25 Thread Alexander Ilin
Hello! That's great, John, thanks for the pointer! 25.05.2016, 00:57, "John Benediktsson" :You can easily get usage information, for example all (loaded) words that call ``+``:     \ + usage. There are some graphviz libraries that have been built to visualize various parts of the

Re: [Factor-talk] Factor Code Analysis Tools

2016-05-24 Thread John Benediktsson
You can easily get usage information, for example all (loaded) words that call ``+``: \ + usage. There are some graphviz libraries that have been built to visualize various parts of the compiler and either already can, or with some work, use the tools.crossref vocabulary to look at word and

[Factor-talk] Factor Code Analysis Tools

2016-05-24 Thread Alexander Ilin
Hello! Are there any tools that can produce/visualize a graph of vocabulary dependencies and/or call graphs (which words use which other words)? It would be particularly interesting to see cases when two large vocab groups depend on each other, where making a small common ground would