Notice
This item was automatically migrated from a legacy system. It's data has not been checked and might not meet the quality criteria of the present system.
E194-05 - Forschungsbereich Compilers and Languages
-
Published in:
35th EuroForth Conference
-
Date (published):
2019
-
Event name:
35th EuroForth Conference
-
Event date:
13-Sep-2019 - 15-Sep-2019
-
Event place:
Edinburgh, United Kingdom of Great Britain and Northern Ireland (the)
-
Number of Pages:
16
-
Peer reviewed:
Yes
-
Keywords:
Forth; programming language
-
Abstract:
The new Gforth header is designed to directly
implement the requirements of Forth-94 and
Forth-2012. Every header is an object with a fixed
set of fields (code, parameter, count, name, link)
and methods (execute, compile, ,
(to), defer@, does,
name>interpret, name>compile,
name>string, name>link). The
implementation of each method can be changed
per-word (prototype-based object-oriented
programming). We demonstrate how to use these
features to implement optimization of constants,
fvalue, defer, immediate,
to and other dual-semantics words, and
synonym.