Skip to content

Commit

Permalink
chore: add note to readme about js modules
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeMasen committed Nov 24, 2022
1 parent fa1f26d commit fc3ccae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ The two major pieces that users will interact with are the `Parser` struct and t

The parser struct will be the main way to convert text into an `AST`.
Conveniently `Parser` implements `Iterator` over `Result<ProgramPart, Error>`,
this means that you can evaluate your JS in pieces from top to bottom.
this means that you can evaluate your JS in pieces from top to bottom.

> Note: By default the `Parser` will not be able to handle js module features,
> [see the module example](./examples/simple_module.rs) for details on how to parse js modules
### Iterator Example

Expand Down

0 comments on commit fc3ccae

Please sign in to comment.