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

ANTLR 2.7.2a1 alpha/test release out!

Expand Messages
  • Terence Parr
    Folks, Go to http://www.antlr.org and grab your copy of antlr-2.7.2a1 to check it out on your grammars :) A couple things to fix and the doc has been be dealt
    Message 1 of 8 , Dec 28, 2001
    • 0 Attachment
      Folks,

      Go to http://www.antlr.org and grab your copy of antlr-2.7.2a1 to check
      it out on your grammars :) A couple things to fix and the doc has been
      be dealt with but getting very close now.

      Please send mail to this list or me to let me know about problems. For
      example, is the antlr.jar runtime jar finally complete/correct?

      Ter
      --
      Chief Scientist & Co-founder, http://www.jguru.com
      Creator, ANTLR Parser Generator: http://www.antlr.org
    • Michael Schmitt
      Hi Terence and Ric, I had a quick glance at 2.7.2a1 and what I can say for the moment is that the C++ sources cannot be compiled with gcc-2.95.3/Linux and
      Message 2 of 8 , Dec 29, 2001
      • 0 Attachment
        Hi Terence and Ric,

        I had a quick glance at 2.7.2a1 and what I can say for the moment is
        that the C++ sources cannot be compiled with gcc-2.95.3/Linux and
        options "-pedantic -ansi".

        Nevertheless, thanks for all the efforts! I will give detailed
        information as soon as I have some :-)

        Michael
      • Michael Schmitt
        Hi Terence, hi Ric, after a second glance I can tell you that my SDL-2000 parser (C++ version) compiles and runs with 2.7.2a1! (Except for the problem with
        Message 3 of 8 , Dec 30, 2001
        • 0 Attachment
          Hi Terence, hi Ric,

          after a second glance I can tell you that my SDL-2000 parser (C++
          version) compiles and runs with 2.7.2a1! (Except for the problem with
          "-pendantic" and "-ansi" reported before, and the need to change a few
          lines concerning AST factory).

          Ric, didn't you say you improved code generation? For my parser, source
          code size has not changed significantly.

          Another simple yet controversial proposal for improving ANTLR: I think
          a lot of newbie problems could be avoided if ":" did not have multiple
          functions in the ANTLR input language. How about replacing ":" after
          rule headers by "::=" or something similar? Then the language would be
          more sensitive to missing ";" at the end of a rule.

          Nevertheless, 2.7.2 looks good!

          Michael
        • Ruslan Zasukhin
          ... I like this idea. ... Sounds good. I am sorry I can t work with ANTLR now, too busy on other tasks... Terence, I hope you will provide good list of NEW
          Message 4 of 8 , Dec 31, 2001
          • 0 Attachment
            on 12/30/01 22:56, Michael Schmitt at Michael.Schmitt@... wrote:

            >
            > Another simple yet controversial proposal for improving ANTLR: I think
            > a lot of newbie problems could be avoided if ":" did not have multiple
            > functions in the ANTLR input language. How about replacing ":" after
            > rule headers by "::=" or something similar? Then the language would be
            > more sensitive to missing ";" at the end of a rule.

            I like this idea.

            > Nevertheless, 2.7.2 looks good!

            Sounds good.

            I am sorry I can't work with ANTLR now, too busy on other tasks...

            Terence, I hope you will provide good list of NEW FEATURES, since 2.7.1
            for ANTLR syntax.
            for Java side.
            for C++ side.

            --
            Best regards,
            Ruslan Zasukhin

            -------------------------
            Paradigma.

            e-mail: ruslan@...
            web : http://www.paradigmasoft.com

            To subscribe to the Valentina mail list
            send a letter to valentina-on@...
          • Terence Parr
            ... A good suggestion; perhaps it can be done in a sensible backward-compatible fashion. ... Great. Keep the testing going folks! Ter -- Chief Scientist &
            Message 5 of 8 , Dec 31, 2001
            • 0 Attachment
              On Sunday, December 30, 2001, at 12:56 PM, Michael Schmitt wrote:

              > Hi Terence, hi Ric,
              >
              > after a second glance I can tell you that my SDL-2000 parser (C++
              > version) compiles and runs with 2.7.2a1! (Except for the problem with
              > "-pendantic" and "-ansi" reported before, and the need to change a few
              > lines concerning AST factory).
              >
              > Ric, didn't you say you improved code generation? For my parser, source
              > code size has not changed significantly.
              >
              > Another simple yet controversial proposal for improving ANTLR: I think
              > a lot of newbie problems could be avoided if ":" did not have multiple
              > functions in the ANTLR input language. How about replacing ":" after
              > rule headers by "::=" or something similar? Then the language would be
              > more sensitive to missing ";" at the end of a rule.

              A good suggestion; perhaps it can be done in a sensible
              backward-compatible fashion.

              >
              > Nevertheless, 2.7.2 looks good!

              Great. Keep the testing going folks!

              Ter
              --
              Chief Scientist & Co-founder, http://www.jguru.com
              Creator, ANTLR Parser Generator: http://www.antlr.org
            • Terence Parr
              ... Me too ;) Ter -- Chief Scientist & Co-founder, http://www.jguru.com Creator, ANTLR Parser Generator: http://www.antlr.org
              Message 6 of 8 , Dec 31, 2001
              • 0 Attachment
                On Monday, December 31, 2001, at 03:09 AM, Ruslan Zasukhin wrote:
                > Terence, I hope you will provide good list of NEW FEATURES, since 2.7.1
                > for ANTLR syntax.
                > for Java side.
                > for C++ side.

                Me too ;)

                Ter
                --
                Chief Scientist & Co-founder, http://www.jguru.com
                Creator, ANTLR Parser Generator: http://www.antlr.org
              • Ric Klaren
                Hi, ... Ack! I ll try with 2.95.3 and those flags here on solaris. Probably some trivial stuff. ... I dropped a lot of those things since they didn t work 100%
                Message 7 of 8 , Jan 3, 2002
                • 0 Attachment
                  Hi,

                  On Sun, Dec 30, 2001 at 09:56:59PM +0100, Michael Schmitt wrote:
                  > after a second glance I can tell you that my SDL-2000 parser (C++
                  > version) compiles and runs with 2.7.2a1! (Except for the problem with
                  > "-pendantic" and "-ansi" reported before, and the need to change a few
                  > lines concerning AST factory).

                  Ack! I'll try with 2.95.3 and those flags here on solaris. Probably some
                  trivial stuff.

                  > Ric, didn't you say you improved code generation? For my parser, source
                  > code size has not changed significantly.

                  I dropped a lot of those things since they didn't work 100% and fixing them
                  took me too much time. I have some thoughts on reimplementing a few bits of
                  the codegenerator (output writing) after that I'll put them back. I give no
                  timeframe for that though...

                  > Nevertheless, 2.7.2 looks good!

                  Good to hear it =)

                  Ric
                  --
                  -----+++++*****************************************************+++++++++-------
                  ---- Ric Klaren ----- klaren@... ----- +31 53 4893722 ----
                  -----+++++*****************************************************+++++++++-------
                  Why don't we just invite them to dinner and massacre them all when they're
                  drunk? You heard the man. There's seven hundred thousand of them. Ah? ..
                  So it'd have to be something simple with pasta, then.
                  From: Interesting Times by Terry Pratchet
                • Ric Klaren
                  ... Fixed in repository. Here s a diff: ==== //depot/code/org.antlr/main/main/lib/cpp/antlr/config.hpp#9 (ktext) ==== @@ -223,10 +223,15 @@ # define
                  Message 8 of 8 , Jan 4, 2002
                  • 0 Attachment
                    On Sat, Dec 29, 2001 at 10:33:09PM +0100, Michael Schmitt wrote:
                    > I had a quick glance at 2.7.2a1 and what I can say for the moment is
                    > that the C++ sources cannot be compiled with gcc-2.95.3/Linux and
                    > options "-pedantic -ansi".

                    Fixed in repository. Here's a diff:

                    ==== //depot/code/org.antlr/main/main/lib/cpp/antlr/config.hpp#9 (ktext) ====

                    @@ -223,10 +223,15 @@
                    # define ANTLR_USING_NAMESPACE(_x_)
                    # undef ANTLR_CXX_SUPPORTS_NAMESPACE
                    # endif
                    -# if (__GNUC_MINOR > 8 && __GNUC_MINOR__ <= 95 )
                    +# if (__GNUC_MINOR__ > 8 && __GNUC_MINOR__ <= 95 )
                    # undef ANTLR_IOS_BASE
                    # define ANTLR_IOS_BASE ios
                    # undef ANTLR_CCTYPE_NEEDS_STD
                    +// compiling with -ansi ?
                    +# ifdef __STRICT_ANSI__
                    +# undef ANTLR_REALLY_NO_STRCASECMP
                    +# define ANTLR_REALLY_NO_STRCASECMP
                    +# endif
                    # else
                    // experimental .96 .97 branches..
                    # undef ANTLR_CCTYPE_NEEDS_STD

                    Ric
                    --
                    -----+++++*****************************************************+++++++++-------
                    ---- Ric Klaren ----- klaren@... ----- +31 53 4893722 ----
                    -----+++++*****************************************************+++++++++-------
                    Wit is cultured insolence. --- Aristotle
                  Your message has been successfully submitted and would be delivered to recipients shortly.