We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@sdiehl, having problems getting the parser to work creating LispVal values of strings
gce-work:scheme$ stack build && stack exec scheme Repl> '(a) List [Atom "a"]
Repl> '("a") Parser "<stdin>" (line 1, column 4): unexpected "a" expecting end of "\"" or literal string
Repl> '(\"a\") Parser "<stdin>" (line 1, column 4): unexpected '\\' expecting end of "("
It looks like the Parsec standard lisp parser is taking a different approach: https://hackage.haskell.org/package/lispparser-0.3.1/docs/src/Text-ParserCombinators-Parsec-Lisp.html
any insight on parsing in double quoted strings from the repl into LispVal?
The text was updated successfully, but these errors were encountered:
Use this in your parser
parseString :: Parser LispVal parseString = do x <- strLit return $ String x
Repl> '("a") List [String "a"] Repl> "foo" String "foo" Repl> '("foo \"inner quote\" ") List [String "foo \"inner quote\" "]
Sorry, something went wrong.
that's great! see 05855b1 for working solution.
No branches or pull requests
@sdiehl, having problems getting the parser to work creating LispVal values of strings
It looks like the Parsec standard lisp parser is taking a different approach: https://hackage.haskell.org/package/lispparser-0.3.1/docs/src/Text-ParserCombinators-Parsec-Lisp.html
any insight on parsing in double quoted strings from the repl into LispVal?
The text was updated successfully, but these errors were encountered: