Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What Lexical Analyzer and Parser generators are the cool kids using these days?

What Lexical Analyzer and Parser generators are the cool kids using these days?

Scheduled Pinned Locked Moved The Lounge
toolsquestion
13 Posts 9 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Rama Krishna Vavilala

    I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?

    G Offline
    G Offline
    Garth J Lancaster
    wrote on last edited by
    #3

    The other option that you may find worthwhile 'RKV' is 'Irony for .NET' 'g'

    R 1 Reply Last reply
    0
    • R Rama Krishna Vavilala

      I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #4

      this is quite interesting :- http://www.thefreakparade.com/2008/07/evaluating-expressions-at-runtime-in-net-c/[^]

      1 Reply Last reply
      0
      • R Rama Krishna Vavilala

        I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?

        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #5

        Rama Krishna Vavilala wrote:

        I briefly came across ANTLR

        ANTLR was what I used in my compiler construction class about 5-6 years ago.

        [Managing Your JavaScript Library in ASP.NET]

        1 Reply Last reply
        0
        • R Rama Krishna Vavilala

          I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #6

          lex and yacc and their derivatives are still the norm for generating c++, not sure about other languages though.

          1 Reply Last reply
          0
          • R Rama Krishna Vavilala

            I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?

            R Offline
            R Offline
            RC_Sebastien_C
            wrote on last edited by
            #7

            You've had answer for your second question and the first remains unanswered. I'll go with none.

            1 Reply Last reply
            0
            • G Garth J Lancaster

              The other option that you may find worthwhile 'RKV' is 'Irony for .NET' 'g'

              R Offline
              R Offline
              Rama Krishna Vavilala
              wrote on last edited by
              #8

              Ironically, Now I remember coming across it long time back. It appears lot more polished now.

              1 Reply Last reply
              0
              • R Rama Krishna Vavilala

                I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?

                P Offline
                P Offline
                PIEBALDconsult
                wrote on last edited by
                #9

                Rama Krishna Vavilala wrote:

                the cool kids

                Why would you ask that here? :confused:

                1 Reply Last reply
                0
                • R Rama Krishna Vavilala

                  I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?

                  L Offline
                  L Offline
                  LloydA111
                  wrote on last edited by
                  #10

                  Rama Krishna Vavilala wrote:

                  Surely, they are outdated in these days of managed code

                  I don't see the connection between managed code and parsers for custom languages.


                  See if you can crack this: b749f6c269a746243debc6488046e33f
                  So far, no one seems to have cracked this!

                  The unofficial awesome history of Code Project's Bob! "People demand freedom of speech to make up for the freedom of thought which they avoid."

                  1 Reply Last reply
                  0
                  • R Rama Krishna Vavilala

                    I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?

                    R Offline
                    R Offline
                    RugbyLeague
                    wrote on last edited by
                    #11

                    Irony is all managed code http://irony.codeplex.com/[^]

                    1 Reply Last reply
                    0
                    • R Rama Krishna Vavilala

                      I have a need to parse a custom language. The last time I used lexical scanner and parser generators was in the days of lex and yacc or flex and bison. Surely, they are outdated in these days of managed code. I briefly came across ANTLR but surely there might be simple tools. If you used such a tool, can you recommend it?

                      S Offline
                      S Offline
                      S Senthil Kumar
                      wrote on last edited by
                      #12

                      May I know what purpose you need it for? GPPG[^] is pretty much like yacc, but spits out C# code. It can also be asked to generate glue code for integration with a Visual Studio language service. Oh, and ANTLR is a LL parser, which means your grammar is slightly restricted (no left recursion).

                      Regards Senthil _____________________________ My Home Page |My Blog | My Articles | My Flickr | WinMacro

                      R 1 Reply Last reply
                      0
                      • S S Senthil Kumar

                        May I know what purpose you need it for? GPPG[^] is pretty much like yacc, but spits out C# code. It can also be asked to generate glue code for integration with a Visual Studio language service. Oh, and ANTLR is a LL parser, which means your grammar is slightly restricted (no left recursion).

                        Regards Senthil _____________________________ My Home Page |My Blog | My Articles | My Flickr | WinMacro

                        R Offline
                        R Offline
                        Rama Krishna Vavilala
                        wrote on last edited by
                        #13

                        I need it to parse a language similar to SQL.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups