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 条
  • [1] TOUR OF PROLOG.
    Cortesi, David E.
    1985, (10):
  • [2] LOGIC AND KNOWLEDGE REPRESENTATION IN PROLOG.
    Butrick, Richard
    Dr. Dobb's journal of software tools for the professional programmer, 1987, 12 (07): : 30 - 32
  • [3] A Declarative Semantics for Bousi∼Prolog.
    Julian-Iranzo, Pascual
    Rubio-Manzano, Clemente
    PPDP'09: PROCEEDINGS OF THE 11TH INTERNATIONAL ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, 2009, : 149 - 160
  • [4] CONSTRUCTION OF A FAULT TREE USING PROLOG.
    Fukuda, Shuichi
    Transactions of JWRI (Japanese Welding Research Institute), 1984, 13 (01): : 115 - 119
  • [5] GKS BASED GRAPHIS PROGRAMMING IN PROLOG.
    Huebner, W.
    Markov, Z.I.
    1600, (05):
  • [6] PROCEDURALLY ORIENTED PROGRAMMING TECHNIQUES IN PROLOG.
    Munakata, Toshinori
    IEEE Expert, 1986, 1 (02): : 41 - 47
  • [7] ASSERT, RETRACT AND EXTERNAL PROCESSES IN PROLOG.
    Colomb, Robert M.
    Software - Practice and Experience, 1988, 18 (03) : 205 - 220
  • [8] GNU prolog: Beyond compiling Prolog to C
    Diaz, D
    Codognet, P
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2000, 1753 : 81 - 92
  • [9] Artificial Intelligence Techniques in Prolog. Yoav Shoham
    Mark Lee
    Artificial Intelligence Review, 1999, 13 (2) : 173 - 174
  • [10] COMPILING FORTH FOR PERFORMANCE.
    Almy, Thomas
    1600, (04):