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

Rewrote EO parser with cats-parse #10

Merged
merged 58 commits into from
Dec 27, 2021
Merged

Conversation

nikololiahim
Copy link
Member

  • EO Parser has been rewritten to cats-parse.
  • In addition, Java and Unicode escape sequences (\n, \u0416) are now recognized and unescaped in both char and string literals.
  • In addition to existing handcrafted tests, parser is now validated against a valid EO program generator created with scalacheck.

# Conflicts:
#	project/Dependencies.scala
# Conflicts:
#	parser/src/test/scala/org/polystat/odin/parser/SingleLineExamples.scala
#	parser/src/test/scala/org/polystat/odin/parser/TestUtils.scala
#	parser/src/test/scala/org/polystat/odin/parser/fastparse/ParserTests.scala
#	project/Dependencies.scala
@fizruk fizruk merged commit 85bd393 into polystat:master Dec 27, 2021
@nikololiahim nikololiahim deleted the cats_parse branch January 3, 2022 16:44
@fizruk fizruk mentioned this pull request Jan 17, 2022
nikololiahim pushed a commit to nikololiahim/odin that referenced this pull request Jan 18, 2022
nikololiahim pushed a commit to nikololiahim/odin that referenced this pull request Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants