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. Now what was it called...

Now what was it called...

Scheduled Pinned Locked Moved The Lounge
csharpjsonquestion
9 Posts 6 Posters 0 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.
  • E Offline
    E Offline
    Ed Poore
    wrote on last edited by
    #1

    About 4 months ago I came across a parsing / compiler framework completely written in C#.  You didn't have to faff around with ANTLR, lex/yacc or anything like that.  Does anyone know what it's called?  One of the main features was that you could define the language in C# itself in something very similar to BNF. Does anybody know which one I'm talking about? :sigh:

    M H B L 4 Replies Last reply
    0
    • E Ed Poore

      About 4 months ago I came across a parsing / compiler framework completely written in C#.  You didn't have to faff around with ANTLR, lex/yacc or anything like that.  Does anyone know what it's called?  One of the main features was that you could define the language in C# itself in something very similar to BNF. Does anybody know which one I'm talking about? :sigh:

      M Offline
      M Offline
      martin_hughes
      wrote on last edited by
      #2

      Irony.net?

      Ahoy! Martin Hughes

      E 1 Reply Last reply
      0
      • M martin_hughes

        Irony.net?

        Ahoy! Martin Hughes

        E Offline
        E Offline
        Ed Poore
        wrote on last edited by
        #3

        You are the man! I've been digging through a few thousand emails, backups etc trying to find some hit of what it was called.  Have a :beer: on me (I'll actually pay for it if you're around London :rolleyes:).

        M 1 Reply Last reply
        0
        • E Ed Poore

          About 4 months ago I came across a parsing / compiler framework completely written in C#.  You didn't have to faff around with ANTLR, lex/yacc or anything like that.  Does anyone know what it's called?  One of the main features was that you could define the language in C# itself in something very similar to BNF. Does anybody know which one I'm talking about? :sigh:

          H Offline
          H Offline
          Henry Minute
          wrote on last edited by
          #4

          You might also want to take a look at CoCo/R, which seems to do what you are looking for, although I am not sure that it is in C#.

          Henry Minute If you open a can of worms, any viable solution *MUST* involve larger can.

          R 1 Reply Last reply
          0
          • E Ed Poore

            About 4 months ago I came across a parsing / compiler framework completely written in C#.  You didn't have to faff around with ANTLR, lex/yacc or anything like that.  Does anyone know what it's called?  One of the main features was that you could define the language in C# itself in something very similar to BNF. Does anybody know which one I'm talking about? :sigh:

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #5

            Something about gold?

            Q: What is the difference between a pigeon and a merchant banker? A: A pigeon can still put a deposit on a Ferrari.

            1 Reply Last reply
            0
            • E Ed Poore

              About 4 months ago I came across a parsing / compiler framework completely written in C#.  You didn't have to faff around with ANTLR, lex/yacc or anything like that.  Does anyone know what it's called?  One of the main features was that you could define the language in C# itself in something very similar to BNF. Does anybody know which one I'm talking about? :sigh:

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

              Just posting the link for you :-) http://www.codeproject.com/KB/recipes/Irony.aspx[^]

              Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns

              E 1 Reply Last reply
              0
              • L Lost User

                Just posting the link for you :-) http://www.codeproject.com/KB/recipes/Irony.aspx[^]

                Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns

                E Offline
                E Offline
                Ed Poore
                wrote on last edited by
                #7

                My thanks, I found the links though.

                1 Reply Last reply
                0
                • E Ed Poore

                  You are the man! I've been digging through a few thousand emails, backups etc trying to find some hit of what it was called.  Have a :beer: on me (I'll actually pay for it if you're around London :rolleyes:).

                  M Offline
                  M Offline
                  martin_hughes
                  wrote on last edited by
                  #8

                  You're welcome :)

                  Ahoy! Martin Hughes

                  1 Reply Last reply
                  0
                  • H Henry Minute

                    You might also want to take a look at CoCo/R, which seems to do what you are looking for, although I am not sure that it is in C#.

                    Henry Minute If you open a can of worms, any viable solution *MUST* involve larger can.

                    R Offline
                    R Offline
                    RichardM1
                    wrote on last edited by
                    #9

                    Yes, there is a C# version of it. It is pretty interesting tool. I've been working with it lately. We have a tool that transliterated from another language into C#. Then there are a bunch of issues that need to be resolved where the scoping and namespace rules are different. So I took Coco and their CS2 parser definition and using it to build a syntax tree. Now I'm building a pattern matching system (sounds better than it is) to find error that meet certain criteria and than modify the tree to fix the problem. But I had to modify the Coco parser definition to make changes in the CS2 parser. It was two levels of indirection, keeping track of how the changes in the Coco parser definition would effect the syntax tree of the CS2 parser. It hurts my head. X|

                    Silver member by constant and unflinching longevity.

                    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