This is the projectured Reference Manual, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 04:26:33 2018 GMT+0.
|• Introduction:||What projectured is all about|
|• Systems:||The systems documentation|
|• Modules:||The modules documentation|
|• Files:||The files documentation|
|• Packages:||The packages documentation|
|• Definitions:||The symbols documentation|
|• Indexes:||Concepts, functions, variables and data types|
ProjecturEd is a general purpose projectional editor written in Common Lisp.
It supports the integrated presentation and editing of arbitrary problem domains. These domains potentially include but not limited to: word processing, spreadsheets, markup languages, programming langueges, modelling, graphs, graphics, etc. and any combination of them. The edited data is represented in their natural, domain specific data structures (as opposed to a flat string of characters), which accommodates for the implementation of many interesting, but yet to be explored features of structured editing.
It also supports multiple projections of the same data, and thus it can simultaneously provide different notations, potentially all of them editable. These views can be textual, fully graphical, or in between, and because of the internal architecture of the editor, the various projections combine well. It is expected that users would not only add new documents, but also new projections as needed.
The easiest way to run the editor is to install it using Quicklisp.
For example, on Debian Stretch:
sudo apt-get install sbcl rlwrap git libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-ttf-2.0-0
Otherwise visit the SBCL website for instructions, and make sure you have the right version of libSDL2 libraries installed for the SDL backend.
Once you have SBCL installed, you can continue with installing Quicklisp:
cd ~ wget http://beta.quicklisp.org/quicklisp.lisp sbcl --load quicklisp.lisp --eval "(quicklisp-quickstart:install)" --eval "(ql:add-to-init-file)" --eval "(exit)"
To finish the installation of Quicklisp approve the prompted question.
If you want to play with the latest (and potentially less stable) version of ProjecturEd:
cd ~/quicklisp/local-projects/ git clone https://github.com/projectured/projectured.git
sbcl --eval "(ql-dist:ensure-installed (ql-dist:find-system :projectured.executable))" --eval "(exit)"
Depending on how you got ProjecturEd, run one of the following shell scripts:
Note: The build log will be saved next to the build.sh script.
After the build has been completed you can run the editor from the command line with:
cd ~/quicklisp/local-projects/projectured/ bin/projectured -h
There are a few small example documents that you can promptly start editing:
cd ~/quicklisp/local-projects/projectured/ bin/projectured example/contact-list.json
Alternatively, you can run the editor by loading the project in your lisp. This allows experimentation with the code, changing this and that. Start SBCL with
rlwrap sbcl, and copy these into its REPL:
(ql:quickload :projectured.executable) (projectured::executable-toplevel)
If everything went fine, then you should see a window presenting an empty generic document.
(ql:quickload :projectured.executable) (projectured::executable-toplevel "~/quicklisp/local-projects/projectured/example/contact-list.json")
This last example will show a window presenting an example JSON document. You can always press Control + H to get context sensitive help in the editor.
Start SBCL with
rlwrap sbcl, and copy these into its REPL:
(ql:quickload :projectured.sdl.test) (projectured.test::test)
This will run the automated test suite and print the result in the REPL.
If you have some Common Lisp libraries installed somewhere on your system, then try to make sure that nothing besides what's in quicklisp gets loaded. You can achieve that by adding the following to the beginning of your .sbclrc:
(require :asdf) (funcall (read-from-string "asdf:initialize-source-registry") '(:source-registry :ignore-inherited-configuration))
If you get ASDF realted errors then try to clone the latest ASDF release:
cd ~/quicklisp/local-projects/ git clone https://gitlab.common-lisp.net/asdf/asdf.git --branch release
(ql:quickload '(:projectured.executable :hu.dwim.def+swank)) (projectured::executable-toplevel)
It's an unfunded opensource project, under much slower development than we would like it to be. If you want to help us, either financially or with your patches, then feel free to get in touch at email@example.com or the google group.
The less we need to work to pay our bills, the more we can work on ProjecturEd. Bitcoin donations are welcome to the following address: 15XjRQUnSy8U7j2EFZyGFAi2KFnDnTEwqZ
There's a separate wiki with an increasing number of pages. It gives an overview of the whole idea, and it also allows contributing documentation to the project.
Currently the best thing to do is to look at the source code. Luckily the codebase is relatively small (around 20k LoC).
If you want to try the latest version, then you should git clone the repository into
~/quicklisp/local-projects/ and Quicklisp will automatically use that version instead of the snapshot from its archives.
ProjecturEd is work in progress, and at this stage it's interesting primarily for programmers who are ready to experiment with it.
If you would like to take a look at the editor in action, then look at this page. It contains a couple of screenshots showing various problem domains using different projections. Please note that these screenshots are somewhat outdated.
There are some screencasts on youtube that shows the editor in action and demonstrate certain features.
The printer and the reader are written using a "purely functional" constraint based change propagation algorithm that allows lazy and incremental computation of results. So, the infrastructure is in place to be fast enough to be useful one day...
The main system appears first, followed by any subsystem dependency.
|• The projectured.document system:|
|• The projectured.editor system:|
BSD or Bugroff
Collection of various documents.
BSD or Bugroff
Editor core components.
Modules are listed depth-first from the system components tree.
|• The projectured.document/source module:|
|• The projectured.document/source/document module:|
|• The projectured.editor/source module:|
|• The projectured.editor/source/util module:|
|• The projectured.editor/source/editor module:|
Next: The projectured<dot>document/source/document module, Previous: Modules, Up: Modules [Contents][Index]
Next: The projectured<dot>editor/source/util module, Previous: The projectured<dot>document/source/document module, Up: Modules [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
|• Lisp files:|
|• The projectured.document.asd file:|
|• The projectured.editor.asd file:|
|• The projectured.document/source/document/book.lisp file:|
|• The projectured.document/source/document/color.lisp file:|
|• The projectured.document/source/document/common-lisp.lisp file:|
|• The projectured.document/source/document/document.lisp file:|
|• The projectured.document/source/document/evaluator.lisp file:|
|• The projectured.document/source/document/font.lisp file:|
|• The projectured.document/source/document/graphics.lisp file:|
|• The projectured.document/source/document/help.lisp file:|
|• The projectured.document/source/document/image.lisp file:|
|• The projectured.document/source/document/json.lisp file:|
|• The projectured.document/source/document/lisp-form.lisp file:|
|• The projectured.document/source/document/number.lisp file:|
|• The projectured.document/source/document/output.lisp file:|
|• The projectured.document/source/document/searching.lisp file:|
|• The projectured.document/source/document/sequence.lisp file:|
|• The projectured.document/source/document/string.lisp file:|
|• The projectured.document/source/document/t.lisp file:|
|• The projectured.document/source/document/text.lisp file:|
|• The projectured.document/source/document/tree.lisp file:|
|• The projectured.document/source/document/widget.lisp file:|
|• The projectured.document/source/document/xml.lisp file:|
|• The projectured.document/source/document/versioning.lisp file:|
|• The projectured.editor/source/package.lisp file:|
|• The projectured.editor/source/util/computed.lisp file:|
|• The projectured.editor/source/util/logger.lisp file:|
|• The projectured.editor/source/util/util.lisp file:|
|• The projectured.editor/source/editor/backend.lisp file:|
|• The projectured.editor/source/editor/command.lisp file:|
|• The projectured.editor/source/editor/device.lisp file:|
|• The projectured.editor/source/editor/document.lisp file:|
|• The projectured.editor/source/editor/editor.lisp file:|
|• The projectured.editor/source/editor/event.lisp file:|
|• The projectured.editor/source/editor/gesture.lisp file:|
|• The projectured.editor/source/editor/iomap.lisp file:|
|• The projectured.editor/source/editor/loader.lisp file:|
|• The projectured.editor/source/editor/maker.lisp file:|
|• The projectured.editor/source/editor/mapper.lisp file:|
|• The projectured.editor/source/editor/operation.lisp file:|
|• The projectured.editor/source/editor/printer.lisp file:|
|• The projectured.editor/source/editor/projection.lisp file:|
|• The projectured.editor/source/editor/reader.lisp file:|
|• The projectured.editor/source/editor/reference.lisp file:|
|• The projectured.editor/source/editor/saver.lisp file:|
Packages are listed by definition order.
|• The projectured package:|