mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 19:21:54 +03:00
744 B
744 B
layout | title | category | tags | order | ||
---|---|---|---|---|---|---|
developer-doc | Parser Driver | parser |
|
8 |
Parser Driver
The parser driver component is responsible for orchestrating the entire action of the parser. It handles the following duties:
- Consuming input text using a provided reader in a lazy fashion.
- Lexing and then parsing the input text.
- Writing the output AST to the client of the parser.
Driver Clients
The parser is going to be employed in two contexts, both running in-process:
- In the IDE codebase as a rust dependency.
- In the engine as a native code dependency used via JNI.