Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions compiler/flow_parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ call uses an empty-list comparison to retain OCaml 5.0 compatibility. The
Sedlex PPX uses `Ast_helper.Exp.fun_` to generate single-argument functions
with newer ppxlib versions.

Only modules in the dependency closure of ReScript's expression and program
parser entry points are retained. Upstream ESTree translation, JSDoc parsing,
location translation, token translation, and unused collection helpers are
omitted. The core statement, declaration, type, JSX, pattern, comment, and AST
modules remain because the parser connects them transitively and `%raw`
validates both complete JavaScript programs and individual expressions.

Vendored sources are excluded from the repository-wide OCamlformat check so
that they remain comparable with their upstream versions.

Expand Down
1 change: 1 addition & 0 deletions compiler/flow_parser/collections/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
(library
(name collections)
(wrapped false)
(modules Flow_map Flow_set SSet StringKey)
(libraries base))
13 changes: 0 additions & 13 deletions compiler/flow_parser/collections/iMap.ml

This file was deleted.

14 changes: 0 additions & 14 deletions compiler/flow_parser/collections/iSet.ml

This file was deleted.

54 changes: 0 additions & 54 deletions compiler/flow_parser/collections/immQueue.ml

This file was deleted.

37 changes: 0 additions & 37 deletions compiler/flow_parser/collections/immQueue.mli

This file was deleted.

12 changes: 0 additions & 12 deletions compiler/flow_parser/collections/intKey.ml

This file was deleted.

101 changes: 0 additions & 101 deletions compiler/flow_parser/collections/priorityQueue.ml

This file was deleted.

13 changes: 0 additions & 13 deletions compiler/flow_parser/collections/sMap.ml

This file was deleted.

90 changes: 0 additions & 90 deletions compiler/flow_parser/collections/union_find.ml

This file was deleted.

Loading
Loading