C -code for converting regular expression to quadruples and triples

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nuzhatjahan
    New Member
    • Oct 2007
    • 2

    C -code for converting regular expression to quadruples and triples

    Hello,
    please help me .I want program written in c language or c++ to conver regular expression to quadruples
    and regular expression to triples.
    also program related with compiler construction
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by nuzhatjahan
    Hello,
    please help me .I want program written in c language or c++ to conver regular expression to quadruples
    and regular expression to triples.
    also program related with compiler construction
    Do you want to convert a regular expression to a DFA? (Deterministic Finite Automaton)

    kind regards,

    Jos

    Comment

    • nuzhatjahan
      New Member
      • Oct 2007
      • 2

      #3
      Originally posted by JosAH
      Do you want to convert a regular expression to a DFA? (Deterministic Finite Automaton)

      kind regards,

      Jos
      please send me the code in c language.

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by nuzhatjahan
        please send me the code in c language.
        No I won't (read the forum guidelines in the 'Help' link near the top right of this page).
        Google for 'Henry Spencer' instead; he open sourced his implementation of regexes
        years ago (the Posix model of regexes was modeled after his implementation,
        what more do you want?).

        kind regards,

        Jos

        Comment

        Working...