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
안녕하세요,
프로젝트의 파서가 ENil을 잘 인식하지 못하는 경우가 있는 것 같습니다. 다음과 같이 입력할 경우 ENil이 아니라 EName으로 인식합니다.
ENil
EName
nil
nil 뒤에 whitespace가 있는 경우에는 잘 인식합니다.
ExprParser.scala의 SELiteral을 보면 다음과 같이 구현돼있는데, 이 때문에 nil 다음에 whitespace나 )가 아닌 EOI가 들어올 때 파싱하지 못하는 것으로 보입니다.
SELiteral
)
(atomic("nil") ~ &(SP | ')') ~ push(ENil)) |
The text was updated successfully, but these errors were encountered:
저희 프로그램 스펙상 전체 코드가 nil 하나만 있을때만 문제가 일어나기 때문에 딱히 문제는 없어보입니다.
큰 문제는 아니니 채점시에 수정하도록 하겠습니다.
Sorry, something went wrong.
No branches or pull requests
안녕하세요,
프로젝트의 파서가 ENil을 잘 인식하지 못하는 경우가 있는 것 같습니다.
다음과 같이 입력할 경우
ENil
이 아니라EName
으로 인식합니다.nil
뒤에 whitespace가 있는 경우에는 잘 인식합니다.ExprParser.scala의
SELiteral
을 보면 다음과 같이 구현돼있는데, 이 때문에nil
다음에 whitespace나)
가 아닌 EOI가 들어올 때 파싱하지 못하는 것으로 보입니다.The text was updated successfully, but these errors were encountered: