Loading ...
Sorry, an error occurred while loading the content.

RE: Question

Expand Messages
  • mzukowski@xxx.xxx
    Typically you build an AST and then do as many passes across that as you need to generate your code. My AREV to VB translator used 7 passes to do all the
    Message 1 of 2 , Jul 19, 1999
    • 0 Attachment
      Typically you build an AST and then do as many passes across that as you
      need to generate your code. My AREV to VB translator used 7 passes to do
      all the transformations it needed.

      Monty

      -----Original Message-----
      From: Lubos Vrba [mailto:lubos.vrba@...]
      Sent: Monday, July 19, 1999 4:31 AM
      To: antlr-interest@onelist.com
      Subject: [antlr-interest] Question


      From: Lubos Vrba <lubos.vrba@...>

      Hello, I've this small question:
      is it posssible to say to ANTLR that I want to do complilation in two rounds
      and which action'll be taken in first and in second round? ( for example
      GOTO may need two rounds , in first round I find all labels(and propriet
      adresses) and in second I only add adresses of these labels to these labels
      (I know this can be done better, but I need to describe what round means to
      me)).

      Regards,
      Lubos Vrba



      --------------------------- ONElist Sponsor ----------------------------

      The planet's eCenter for health & well-being. PlanetRX.
      <a href=" http://clickme.onelist.com/ad/planetrx1 ">Click Here</a>

      ------------------------------------------------------------------------
    Your message has been successfully submitted and would be delivered to recipients shortly.