COMPILING AND ANALYZING FORTH IN PROLOG.

被引:0
|
作者
Dixon, R.D. [1 ]
Hemmendinger, David [1 ]
机构
[1] Wright State Univ, Dayton, OH, USA, Wright State Univ, Dayton, OH, USA
来源
关键词
COMPUTER OPERATING SYSTEMS - Program Compilers;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A parser, a code generator, a semantic evaluator and an interpreter for Forth are written in Prolog. This is an investigative tool only and the semantic model includes a stack, input and output streams and segmented memory. The structure follows the usual Forth models but the somewhat more concise description emphasizes the exact manner in which Forth words control their environment. Compilers of this type together with Prolog compilers that generate Forth code make an interesting package that might be used to port both languages to a new machine, particularly a Forth machine. The abstraction of the Forth process in this manner may also make the environment more understandable to people inside and outside the Forth user community and thus allow both the wider acceptance of Forth and the generalization of Forth techniques to new languages.
引用
收藏
页码:535 / 554
相关论文
共 43 条
  • [21] Compiling multi-paradigm declarative programs into Prolog
    Antoy, S
    Hanus, M
    FRONTIERS OF COMBINING SYSTEMS, 2000, 1794 : 171 - 185
  • [22] COMPILING EXTENDED CONCURRENT PROLOG - SINGLE QUEUE COMPILATION
    TANAKA, J
    KISHISHITA, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1986, 213 : 301 - 313
  • [23] Compiling constraint handling rules into prolog with attributed variables
    Holzbaur, C
    Frühwirth, T
    PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PROCEEDINGS, 1999, 1702 : 117 - 133
  • [24] M. 1 LANGUAGE OFFERS A BETTER REPRESENTATION OF KNOWLEDGE THAN PROLOG.
    Hardy, Steven
    Computer Technology Review, 1987, 7 (05): : 12 - 15
  • [25] EXPERT-U: A KNOWLEDGE-BASED MANAGEMENT SYSTEM BASED ON PROLOG.
    Doi, Yasutsugu
    Yokohara, Takashi
    Matsuo, Masanobu
    Arima, Ko
    Tachibana, Nobutoshi
    Sumitomo Electric Technical Review, 1987, (26): : 157 - 161
  • [26] USE OF A FORTH-BASED PROLOG FOR REAL-TIME EXPERT SYSTEMS. II. A FULL PROLOG INTERPRETER EMBEDDED IN FORTH.
    Odette, L.L.
    Paloski, W.H.
    The Journal of Forth application and research, 1987, 4 (04): : 477 - 486
  • [27] ANALYZING NOVICES ANALYZING PROLOG - WHAT STORIES DO NOVICES TELL THEMSELVES ABOUT PROLOG
    TAYLOR, J
    INSTRUCTIONAL SCIENCE, 1990, 19 (4-5) : 283 - 309
  • [28] EXPERIENCE IN THE PROBLEMS OF COMPILING AND ANALYZING EXPOSURE DATA
    HUGHES, JS
    SHAW, KB
    RADIATION PROTECTION DOSIMETRY, 1991, 36 (2-4) : 289 - 293
  • [29] Compiling and Analyzing Open Source Malware for Research Purposes
    Judt, Daniel
    Kochberger, Patrick
    Kieseberg, Peter
    Schrittwieser, Sebastian
    2020 INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND ASSURANCE (ICSSA 2020), 2020, : 32 - 37
  • [30] A Scalable and Efficient Approach for Compiling and Analyzing Commit History
    Behnamghader, Pooyan
    Meemeng, Patavee
    Fostiropoulos, Iordanis
    Huang, Di
    Srisopha, Kamonphop
    Boehm, Barry
    PROCEEDINGS OF THE 12TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2018), 2018,