AN INTRODUCTION TO THE BEETLE FORTH VIRTUAL PROCESSOR

Authors
Citation
Rr. Thomas, AN INTRODUCTION TO THE BEETLE FORTH VIRTUAL PROCESSOR, ACM SIGPLAN NOTICES, 32(2), 1997, pp. 22-25
Citations number
8
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
Journal title
Volume
32
Issue
2
Year of publication
1997
Pages
22 - 25
Database
ISI
SICI code
Abstract
Beetle is a virtual processor designed for the Forth language. It uses a modified, byte-stream code designed for efficient execution which i s binary portable between implementations. It has been implemented in C and assembler. The C implementation is completely machine-independen t with the exception of interactive input and output; the assembler ve rsion runs the supplied Forth compiler at up to half the speed of the corresponding native code compiler and generates more compact code. Be etle is designed to be embedded in other programs; a simple debugger h as been written to demonstrate this ability. Beetle can be configured to perform bounds checking on all memory references. A standard librar y is implemented; access to native code routines is also possible, all owing Forth and C programs to call each other.