Skip to content
New issue

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

Parse character literals #2

Open
oppiliappan opened this issue Oct 12, 2020 · 0 comments
Open

Parse character literals #2

oppiliappan opened this issue Oct 12, 2020 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@oppiliappan
Copy link
Member

  • Add a character literal data type to Expr in src/Parser.hs
  • Parse character literals

See R5RS standard for character literal syntax in Scheme. Examples:

#\a ; lower case letter
#\A ; upper case letter
#\( ; left parenthesis
#\space ; the preferred way to write a space
#\newline ; the newline character
@oppiliappan oppiliappan added the good first issue Good for newcomers label Oct 12, 2020
@chrisvrose chrisvrose self-assigned this Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants