Cool! I've been talking about the 'cut and paste factoring' property of concatenative languages for a while now; it was already very easy to extract sub-expressions into new words. With this command it is even easier, and Factor can finally live up to its namesake!
Slava On Wed, Jan 7, 2009 at 6:33 PM, Jose A. Ortega Ruiz <[email protected]> wrote: > > The patch below adds a new command, fuel-refactor-extract-word, > available in factor source files with key binding C-cC-xw. It takes the > current region, infers its stack effect, ask for a new word name, and > does what you're thinking with all this information. > > -------------- > The following changes since commit 39391fe852f155be054baceffcaa1341184919b3: > Slava Pestov (1): > CGI responder would fail if the CGI script would emit non-ASCII > characters; set encoding to binary > > are available in the git repository at: > > http://git.hacks-galore.org/jao/factor.git emacs > > Jose A. Ortega Ruiz (1): > FUEL: Extract word refactoring. > > extra/fuel/fuel.factor | 2 +- > misc/fuel/README | 2 + > misc/fuel/fuel-mode.el | 2 + > misc/fuel/fuel-refactor.el | 45 > ++++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 50 insertions(+), 1 deletions(-) > create mode 100644 misc/fuel/fuel-refactor.el > > > ------------------------------------------------------------------------------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
