More information on the Factor to Javascript compiler can be found at these blog posts:

The terminal emulation code for the Factor REPL is provided by the awesome termlib library by Norbert Landsteiner. Documentation for termlib is available here. Please note the license of 'termlib':

This JavaScript-library is free for private and academic use. Please include a readable copyright statement and a backlink to in the web page. The library should always be accompanied by the "readme.txt" and the sample HTML-documents. The term "private use" includes any personal or non-commercial use, which is not related to commercial activites, but excludes intranet, extranet and/or public net applications that are related to any kind of commercial or profit oriented activity. For commercial use see http://www.masswerk.at for contact information.

Stack

Playground

Compiled Code

Some useful words:

vocabs ( -- seq )
Return a sequence of available vocabularies
words ( string -- seq )
Return a sequence of words in the given vocabulary
all-words ( -- seq )
Return a sequence of all words

The contents of bootstrap.factor have been loaded on startup.