Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Parsing multiple statements #2

Open
Zelatrix opened this issue Jan 30, 2020 · 1 comment
Open

Parsing multiple statements #2

Zelatrix opened this issue Jan 30, 2020 · 1 comment

Comments

@Zelatrix
Copy link

I'm looking through the code, and also looking through the version in OCaml on the LLVM wiki, and I can't see where you parse multiple program statements. Is it possible to explain how you did it, as I'm trying to parse multiple statements at the moment, and am totally stuck.

@eliben
Copy link
Owner

eliben commented Feb 4, 2020

Each evaluate call parses a single statement with self.parser.parse_toplevel

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants