Anyone can help me declaration data structures?

sinan@u.washington.edu (Sinan Karasu)
Sat, 15 Apr 1995 03:56:33 GMT

          From comp.compilers

Related articles
Anyone can help me declaration data structures? sinan@u.washington.edu (1995-04-15)
Re: Anyone can help me declaration data structures? thutt@clark.net (1995-04-20)
Re: Anyone can help me declaration data structures? gdevivo@CONICIT.VE.) (1995-04-28)
| List of all articles for this month |

Newsgroups: comp.compilers
From: sinan@u.washington.edu (Sinan Karasu)
Keywords: design, question
Organization: University of Washington, Seattle
Date: Sat, 15 Apr 1995 03:56:33 GMT

I am writing an ATLAS Interpreter. It has Pascal like declarations.
kind of like:


DECLARE, VARIABLE 'PATTERN' IS RECORD OF
          [ 'PART1' IS STRING OF CHAR; 'PART2' IS INTEGER] $


DECLARE, VARIABLE 'PAT-ARRAY' IS ARRAY (1 THRU 3, 2 THRU 8) OF
                                RECORD OF ['AA' IS INTEGER;'BB' IS CHAR]
                                      INITIAL = (3 OF ( 7 OF (1,C'A'))) $


  The question I have is , does anyone know any interpreters I can
    look at that creates data structures for this kind of definitions
(C++ and Abstract class types are preferred).Also I am using
Lex and Yacc.


Thanx


Sinan
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.