Skip to content

Convert OCaml stdlib sources to .res syntax #6340

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

Merged
merged 9 commits into from
Aug 8, 2023
Merged
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
30 changes: 0 additions & 30 deletions jscomp/stdlib-406/Compflags

This file was deleted.

16 changes: 0 additions & 16 deletions jscomp/stdlib-406/Makefile.nt

This file was deleted.

72 changes: 0 additions & 72 deletions jscomp/stdlib-406/StdlibModules

This file was deleted.

10 changes: 5 additions & 5 deletions jscomp/stdlib-406/arg.resi
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
Examples ([cmd] is assumed to be the command name):
- [cmd -flag ](a unit option)
- [cmd -int 1 ](an int option with argument [1])
- [cmd -string foobar ](a string option with argument [\"foobar\"])
- [cmd -string foobar ](a string option with argument ["foobar"])
- [cmd -float 12.34 ](a float option with argument [12.34])
- [cmd a b c ](three anonymous arguments: [\"a\"], [\"b\"], and [\"c\"])
- [cmd a b c ](three anonymous arguments: ["a"], ["b"], and ["c"])
- [cmd a b -- c d ](two anonymous arguments and a rest option with
two arguments)
*/
Expand Down Expand Up @@ -53,9 +53,9 @@ type rec spec =

| /** If the remaining arguments to process
are of the form
[[\"-foo\"; \"arg\"] @ rest] where \"foo\" is
[["-foo"; "arg"] @ rest] where "foo" is
registered as [Expand f], then the
arguments [f \"arg\" @ rest] are
arguments [f "arg" @ rest] are
processed. Only allowed in
[parse_and_expand_argv_dynamic]. */
Expand(string => array<string>)
Expand Down Expand Up @@ -84,7 +84,7 @@ type anon_fun = string => unit
list.

For the user to be able to specify anonymous arguments starting with a
[-], include for example [(\"-\", String anon_fun, doc)] in [speclist].
[-], include for example [("-", String anon_fun, doc)] in [speclist].

By default, [parse] recognizes two unit options, [-help] and [--help],
which will print to standard output [usage_msg] and the list of
Expand Down
Loading