Re: [Factor-talk] Linter for Factor USING: ... ; forms

2018-02-07 Thread CW Alston
Much improved version of a USING linter here (gist) . Tracing through the fuel vocabs, I found that by using `vocab-uses`, defined IN: tools.crossref, I could get the job done without a temporary file, & the linter code dropped from

Re: [Factor-talk] Linter for Factor USING: ... ; forms

2018-02-07 Thread CW Alston
Thanks for the tip, Björn - Being one of those non-emacs users, I never thought to look there. I'll check out how it's done in fuel. ~cw On Wed, Feb 7, 2018 at 8:33 AM, Björn Lindqvist wrote: > Hi guys, > > I haven't tested it but it looks pretty good! But note that FUEL has a > very similar f

Re: [Factor-talk] Linter for Factor USING: ... ; forms

2018-02-07 Thread Björn Lindqvist
Hi guys, I haven't tested it but it looks pretty good! But note that FUEL has a very similar feature. You press C-c C-eu and it finds a minimal using list, using restarts. So to make a free-standing one (which would be useful because then non-emacs users can use it), you probably want to look in f

[Factor-talk] Linter for Factor USING: ... ; forms

2018-02-07 Thread CW Alston
Hi again - Posted a cleaned-up, working gist of a USING linter . See what you think of it. Cheers, ~cw P.S. - cat, I didn't notice your comments until I posted this. I'll take a good look at your suggestions. Thanks! ~cw -- *~ Mem