-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
13,315 additions
and
11,665 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
break-infix = fit-or-vertical | ||
break-infix-before-func = false | ||
break-fun-decl = fit-or-vertical | ||
break-separators = before | ||
break-sequences = true | ||
cases-exp-indent = 2 | ||
dock-collection-brackets = false | ||
field-space = loose | ||
if-then-else = keyword-first | ||
indicate-multiline-delimiters = no | ||
infix-precedence = parens | ||
leading-nested-match-parens = true | ||
let-and = sparse | ||
let-module = sparse | ||
ocp-indent-compat = true | ||
parens-tuple = multi-line-only | ||
parse-docstrings = true | ||
sequence-blank-line = preserve-one | ||
sequence-style = terminator | ||
single-case = sparse | ||
space-around-arrays= true | ||
space-around-lists= true | ||
space-around-records= true | ||
space-around-variants= true | ||
type-decl = sparse | ||
wrap-comments = true | ||
wrap-fun-args = false |
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,6 @@ | ||
src/vendored-omp/** | ||
src/reason-parser/vendor/** | ||
test/**.cppo.ml | ||
src/**.cppo.ml | ||
src/**.cppo.mli | ||
rtop/**.cppo.ml |
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
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 |
---|---|---|
@@ -1,25 +1,24 @@ | ||
let () = UTop.require ["reason.ocaml-migrate-parsetree"; "menhirLib";] | ||
let () = UTop.require [ "reason.ocaml-migrate-parsetree"; "menhirLib" ] | ||
|
||
let () = try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") with | Not_found -> ();; | ||
|
||
let () = UTop.require ["reason.easy_format"; "reason";] | ||
let () = | ||
try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") with | ||
| Not_found -> () | ||
|
||
let () = UTop.require [ "reason.easy_format"; "reason" ] | ||
let () = Reason_toploop.main () | ||
|
||
let () = Reason_utop.init_reason () | ||
|
||
let () = print_string | ||
" | ||
___ _______ ________ _ __ | ||
/ _ \\/ __/ _ | / __/ __ \\/ |/ / | ||
/ , _/ _// __ |_\\ \\/ /_/ / / | ||
/_/|_/___/_/ |_/___/\\____/_/|_/ | ||
Execute statements/let bindings. Hit <enter> after the semicolon. Ctrl-d to quit. | ||
> let myVar = \"Hello Reason!\"; | ||
> let myList: list(string) = [\"first\", \"second\"]; | ||
> #use \"./src/myFile.re\"; /* loads the file into here */ | ||
" | ||
|
||
let () = UTop_main.main () | ||
let () = | ||
print_string | ||
"\n\ | ||
\ ___ _______ ________ _ __\n\ | ||
\ / _ \\/ __/ _ | / __/ __ \\/ |/ /\n\ | ||
\ / , _/ _// __ |_\\ \\/ /_/ / /\n\ | ||
\ /_/|_/___/_/ |_/___/\\____/_/|_/\n\n\ | ||
\ Execute statements/let bindings. Hit <enter> after the semicolon. \ | ||
Ctrl-d to quit.\n\n\ | ||
\ > let myVar = \"Hello Reason!\";\n\ | ||
\ > let myList: list(string) = [\"first\", \"second\"];\n\ | ||
\ > #use \"./src/myFile.re\"; /* loads the file into here */\n" | ||
|
||
let () = UTop_main.main () |
Oops, something went wrong.