Link here

Forth Language

Forth is an alternative to the C software language, and delivers a compiler and debugger right on the microcontroller board

Forth is ideal for real-time control, instrumentation, and data analysis. Its simple yet powerful structure allows the interpreter and compiler to reside on the target microcontroller hardware, giving you the ability to interactively define new routines and immediately execute and debug them. This leads to an iterative programming style involving rapid definition, testing, and redefinition of small, modular routines tailored to your application. Using the Mosaic IDE (Integrated Development Environment), you edit your code on your PC and download it to the microcontroller board.

QED-Forth is a powerful superset of the Forth language, developed by Mosaic Industries. It provides an interactive compiler, in-line assembler and symbolic debugger right on the Mosaic Controller. So as soon as you receive the controller of your choice you can plug it into the serial port of any PC or terminal and start programming.

In QED-Forth, parameters are passed between routines on a data stack. Stack-based parameter passing speeds program execution and unifies Forth syntax. All arithmetic, logical, I/O, and decision operators remove required data from the stack and leave their results on the stack. This leads to "postfix" syntax, with the operation being called after the data is placed on the stack.

QED-Forth includes familiar program flow and control structures to simplify the coding of your program. These include:

DO ... LOOP
BEGIN ... WHILE ... REPEAT
BEGIN ... UNTIL
CASE ... ENDCASE
FOR ... NEXT
IF ... ELSE ... ENDIF

These flexible program flow structures make it easy to implement any mathematical or logical algorithm.

 

Forth tutorials

You can find excellent introductions to Forth on the following sites:

 

Versions of Forth

QED-Forth comes in two main versions 4.xx and 6.xx.

 

Kernel Version 4

The version 4 kernel is used on the following products:

There are two separate flavors of Forth running on the version 4 kernel:

 

Kernel Version 6

The version 6 Kernel is our latest and greatest software. It has a simplified memory map, and runs on our newest product the PDQ Board Users Guide.

 

Using Forth

This namespace contains the following pages to help get you started using the QED-Forth.

This namespace contains:




—-

See also → Single Board Computers

 
 
Page title: Forth Language
This page is about interactive forth compiler | in-line assembler | multitasker | and symbolic debugger | forth compiler is on the controller board | interactively define new routines and immediately execute and debug them | microcontrollers | forth language | c ide software development | qed-forth provides an interactive forth compiler | in-line assembler and symbolic debugger right on the mosaic controller. forth is ideal for real-time control | instrumentation | and data analysis
DocWeb Contents
 
Navigation
 
Registration on or use of this site constitutes acceptance of our User Agreement and Privacy Policy. Purchase of Mosaic's products constitutes acceptance of the End User License Agreement, Sales Terms and Conditions, and Life Support policy. Mosaic’s products are not authorized for use as components in life support or medical devices. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Mosaic Industries, Inc. Mosaic and other product names are trademarked and should be capitalized when reproduced. You are encouraged to link to pages of this site.
© Mosaic Industries, Inc. All rights reserved.