Manual
From RevaWiki
(Redirected from Reva Documentation)
Contents |
[edit]
What is Reva? -- רבע
Reva is based on RetroForth, with many ideas fom HelFORTH. It is a Forth language compiler/interpreter, which has goals which are not necessarily in keeping with the ANS Forth standard.
Reva is...
- Tiny: binaries are about 30k for both Windows and Linux
- Fast: many of the core functions are written in assembly-language, and it benchmarks close to native C code in practice.
- Cross-platform: Almost all words are available for both Windows and Linux.
- Public domain: You are free to modify Reva for your own use. I would appreciate it if you credited Reva as the source, however.
- Documented: Besides all the online material here on the wiki, there is interactive help available within Reva itself (simply type help). In addition, there is a very active and helpful online forum.
- Practical: designed to accomplish real-world goals quickly and easily.
- Actively developed: a new dev release is made every 2-4 weeks, with the input of the user community.
... but is not:
- ANS compliant: There are loads of ANS-compliant Forths. This is not one of them, though there is an attempt at a compatibility layer. If you wish, you can start Reva with the -a command-line switch -- this will load the ANS compatibility layer (which is incomplete).
- Complete: There is no attempt to add every possible feature. Rather, the idea is that it should be possible to build whatever is required from the core set, in a simple manner.
For tutorial information see below...
[edit]
Getting started
[edit]
Tutorial material
- The basic tutorial for Reva
- A more advanced tutorial for Reva
- Tutorial - for the intermediate Forther (PDF)
- Gotchas - things to be aware of
- Reva Tips and Tricks
[edit]
Reva compared to other Forths
[edit]
Concepts
[edit]
Forth
[edit]
Reva
- Numbers: input, printing, types
- Strings
- Contexts: Reva's improved version of "VOCABULARY"
- Libraries: Adding functionality to Reva's core
- Turnkey: create a standalone application
- Sandbox: how to avoid screwing things up
- Files & File Handling
[edit]
Advanced
[edit]
Reva internals
[edit]
Further resources
- How to report a bug, problem, or feature-request
- The Reva forum - a place to discuss Reva with others, and get advice
- The ANS Forth standard in text format (about 700K big)
[edit]
Appendices
Have a comment or question? Post it on the forum!
