Front Page All Articles Recent Changes Random Article

Contents

Concatenative language

  • ACL
  • Ait
  • Aocla
  • Breeze
  • Callisto
  • Cat
  • Cognate
  • colorForth
  • Concata
  • CoSy
  • Deque
  • DSSP
  • dt
  • Elymas
  • Enchilada
  • ETAC
  • F
  • Factor
  • Fiveth
  • Forth
  • Fourth
  • Freelang
  • Gershwin
  • hex
  • iNet
  • Joy
  • Joy of Postfix App
  • kcats
  • Kitten
  • lang5
  • Listack
  • LSE64
  • Lviv
  • Meow5
  • min
  • Mirth
  • mjoy
  • Mlatu
  • Ode
  • OForth
  • Om
  • Onyx
  • Plorth
  • Popr
  • Porth
  • PostScript
  • Prowl
  • Quest32
  • Quackery
  • r3
  • Raven
  • Retro
  • RPL
  • SPL
  • Staapl
  • Stabel
  • Tal
  • Titan
  • Trith
  • Uiua
  • Worst
  • xs
  • XY
  • 5th
  • 8th

Concatenative topics

  • Compilers
  • Interpreters
  • Type systems
  • Object systems
  • Quotations
  • Variables
  • Garbage collection
  • Example programs

Concatenative meta

  • People
  • Communities

Other languages

  • APL
  • C++
  • Erlang
  • FP trivia
  • Haskell
  • Io
  • Java
  • JavaScript
  • Lisp
  • ML
  • Oberon
  • RPL
  • Self
  • Slate
  • Smalltalk

Meta

  • Search
  • Farkup wiki format
  • Etiquette
  • Sandbox

Factor/Interactive development

Factor has good support for Interactive development.

  • Code can be loaded into a listener session
  • Code can be reloaded: http://docs.factorcode.org/content/article-vocabs.refresh.html
  • Tuple classes can be redefined, which updates instances: http://docs.factorcode.org/content/article-tuple-redefinition.html

A typical workflow with Factor involves an editor running concurrently with the UI.

After making changes to a source file in the editor, you switch to the UI listener, and press F2, which runs the refresh-all word. This word reloads changed source files, at which point the changes can be tested interactively in the listener, or by running unit tests. Since user code runs in the same Factor instance as the development environment, you can also use the inspector and other tools to view and modify application state. The listener instance can remain running for a long time, with many such edit-reload cycles taking place in a single listener session.

Factor can also be used in a more conventional, scripting-language-like manner. If Factor is given a source file name on the command line, it will run the source file instead of starting the UI environment:

  • http://docs.factorcode.org/content/article-cli.html

Finally, stand-alone applications can be deployed, without including the interactive environment.

  • Deployment

This revision created on Mon, 25 Jan 2010 11:02:08 by slava

Latest Revisions Edit

All content is © 2008-2024 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.