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

Improve the parser to match the spec more closely #14

Open
2 tasks
jaseemabid opened this issue May 11, 2019 · 1 comment
Open
2 tasks

Improve the parser to match the spec more closely #14

jaseemabid opened this issue May 11, 2019 · 1 comment

Comments

@jaseemabid
Copy link
Owner

jaseemabid commented May 11, 2019

A short list of programs that should parse but wont at the moment.

  • Functions without args (f)
  • Simple letrec.
(letrec ((e (lambda (x) (if (zero? x) #t (o (dec x)))))
         (o (lambda (x) (if (zero? x) #f (e (dec x))))))
  (e 25))
@vigneshsarma
Copy link
Collaborator

We probably close this,

  1. works now
  2. Error looks like
thread 'main' panicked at 'Failed to parse input program `(inc 42`: Error { message: "Error((\"\", Char))" }', src/libcore/result.rs:999:5

@jaseemabid jaseemabid changed the title Quick list of things to do Improve the parser Aug 10, 2019
@jaseemabid jaseemabid changed the title Improve the parser Improve the parser to match the spec more closely Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants