-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the dune grammar and add more filenames
Includes `dune` and `dune-workspace`.
- Loading branch information
Showing
9 changed files
with
136 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
(ocamllex | ||
(modules reason_declarative_lexer)) | ||
|
||
; Use select.exe from janestreet/ppx_ast to choose ocaml_util.ml based on ocaml version | ||
|
||
(rule | ||
(targets ocaml_util.ml) | ||
(deps ocaml_util.cppo.ml) | ||
(action | ||
(run %{bin:cppo} -V OCAML:%{ocaml_version} %{deps} -o %{targets}))) | ||
|
||
(menhir | ||
(flags --strict --inspection --unused-tokens --table --cmly) | ||
(modules reason_parser)) | ||
|
||
; Previously, make preprocess. | ||
; (rule | ||
; (targets reason_parser.cmly reason_parser.ml reason_parser.mli) | ||
; (deps reason_parser.mly) | ||
; (action | ||
; (run menhir --strict --inspection --infer | ||
; --unused-tokens | ||
; --fixed-exception | ||
; --table | ||
; --cmly reason_parser.mly))) | ||
|
||
(executables | ||
(names menhir_error_processor) | ||
(modules menhir_error_processor) | ||
(libraries unix menhirSdk)) | ||
|
||
(rule | ||
(targets reason_parser_explain_raw.ml) | ||
(deps reason_parser.cmly) | ||
(action | ||
(with-stdout-to | ||
%{targets} | ||
(run ./menhir_error_processor.exe reason_parser.cmly)))) | ||
|
||
(rule | ||
(targets reason_parser_recover.ml) | ||
(deps reason_parser.cmly) | ||
(action | ||
(with-stdout-to | ||
%{targets} | ||
(run ../menhir-recover/main.exe reason_parser.cmly)))) | ||
|
||
(rule | ||
(targets reason_syntax_util.ml) | ||
(deps reason_syntax_util.cppo.ml) | ||
(action | ||
(run %{bin:cppo} -V OCAML:%{ocaml_version} %{deps} -o %{targets}))) | ||
|
||
(rule | ||
(targets reason_syntax_util.mli) | ||
(deps reason_syntax_util.cppo.mli) | ||
(action | ||
(run %{bin:cppo} -V OCAML:%{ocaml_version} %{deps} -o %{targets}))) | ||
|
||
(library | ||
(name reason) | ||
; Uncomment to allow make coverage target to work | ||
; requires you to have run $ opam install bisect_ppx | ||
; (preprocess (pps (bisect_ppx))) | ||
(public_name reason) | ||
(wrapped false) | ||
(flags | ||
(:standard -w -9-52 -safe-string)) | ||
(modules | ||
ocaml_util | ||
reason_syntax_util | ||
reason_comment | ||
reason_attributes | ||
reason_layout | ||
reason_heuristics | ||
reason_location | ||
reason_toolchain_conf | ||
reason_toolchain_reason | ||
reason_toolchain_ocaml | ||
reason_toolchain | ||
reason_config | ||
reason_pprint_ast | ||
reason_errors | ||
reason_parser_def | ||
reason_parser | ||
reason_single_parser | ||
reason_multi_parser | ||
merlin_recovery | ||
reason_recover_parser | ||
reason_declarative_lexer | ||
reason_lexer | ||
reason_oprint | ||
reason_parser_explain_raw | ||
reason_parser_explain | ||
reason_parser_recover) | ||
(modules_without_implementation reason_parser_def) | ||
(libraries | ||
reason.ocaml-migrate-parsetree | ||
menhirLib | ||
reason.easy_format | ||
ppxlib)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(lang dune 3.2) | ||
(context default) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule vscode-ocaml-platform
added at
1113a5
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
vendor/licenses/git_submodule/vscode-ocaml-platform.dep.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
name: vscode-ocaml-platform | ||
version: 1113a5dde0282f074a53f865c9d2a99f8cd5b9ea | ||
type: git_submodule | ||
homepage: https://github.com/ocamllabs/vscode-ocaml-platform.git | ||
license: isc | ||
licenses: | ||
- sources: LICENSE | ||
text: | | ||
ISC License | ||
Copyright (c) 2019 OCaml Labs | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
notices: [] |