skip to main content
Tipo de recurso Mostra resultados com: Mostra resultados com: Índice

A do-it-yourself instant compiler.kit

Abbott, R. J.

SIGCSE bulletin, 1977-02, Vol.9 (1), p.53-58

Texto completo disponível

Citações Citado por
  • Título:
    A do-it-yourself instant compiler.kit
  • Autor: Abbott, R. J.
  • É parte de: SIGCSE bulletin, 1977-02, Vol.9 (1), p.53-58
  • Descrição: The theory of compiler-compilers is well known. Here we present a small collection of SNOBOL subroutines which make the SNOBOL pattern matcher a self-documenting instant compiler. All one need add are the syntax productions (as simple SNOBOL patterns mimicking BNF) and the associated (synthesyzing) semartic transformation in the form of arbitrarily simple SNOBOL programs. The resulting compiler produces a complete (or partial at the usér's discretion) trace of the parse showing how the syntax matches or fails to match the input. After a match is achieved, the semantic rules are executed on the resulting parse tree. The execution of these rules too are optionally traced so that one has a full picture of just which transformations were performed at each node of the tree. Finally the parse tree is printed.
  • Idioma: Inglês

Buscando em bases de dados remotas. Favor aguardar.