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

Convert string line to Lexing.lexbuf?

Expand Messages
  • jchristner1
    Hi all, Is there a way to take a string line and turn it into a Lexing.lexbuf? Thanks!
    Message 1 of 3 , May 14, 2009
    • 0 Attachment
      Hi all,

      Is there a way to take a string line and turn it into a Lexing.lexbuf?

      Thanks!
    • jchristner1
      ... Cancel again (sorry...) let lexbuf = Lexing.from_string programline in
      Message 2 of 3 , May 14, 2009
      • 0 Attachment
        --- In ocaml_beginners@yahoogroups.com, "jchristner1" <joel.christner@...> wrote:
        >
        > Hi all,
        >
        > Is there a way to take a string line and turn it into a Lexing.lexbuf?
        >
        > Thanks!
        >

        Cancel again (sorry...)

        let lexbuf = Lexing.from_string programline in
      • Ashish Agarwal
        Lexing.from_string ... [Non-text portions of this message have been removed]
        Message 3 of 3 , May 14, 2009
        • 0 Attachment
          Lexing.from_string

          On Thu, May 14, 2009 at 4:25 PM, jchristner1 <joel.christner@...>wrote:

          >
          >
          > Hi all,
          >
          > Is there a way to take a string line and turn it into a Lexing.lexbuf?
          >
          > Thanks!
          >
          >
          >


          [Non-text portions of this message have been removed]
        Your message has been successfully submitted and would be delivered to recipients shortly.