Commit Graph

  • fd1a05cc21 Fix jsx lexing problem relating to <div><span>. >< was picked up as infix operator instead of jsx. Fixes the problem in the lexing phase. Iwan 2018-01-21 07:30:04 +01:00
  • 5dad9331dc [Docs] Fix last stale docs link Cheng Lou 2018-01-24 22:11:04 -08:00
  • 55d368d768 Update the Community link in the readme (#1764) Hector Garcia 2018-01-25 07:09:18 +01:00
  • d0cb1a6c7d Add trailing comma for JS objects, and all record-like structures. Jordan Walke 2018-01-24 04:00:22 -08:00
  • a0ad953ab7 Remove useless intermediate representation WithEOLComment in Reason layout. Jordan Walke 2018-01-20 21:48:08 -08:00
  • f325505916 Actually enable final separators Jordan Walke 2018-01-20 21:47:45 -08:00
  • d1a303eb70 Add ability to specify the final separator in Reason printer. Jordan Walke 2018-01-18 01:23:00 -08:00
  • c76811052c Allow Many More Trailing Commas at Parse Time. Jordan Walke 2018-01-22 22:51:32 -08:00
  • 43146a22f9 Add extra test case for multiple inheritance. Mark Bradley 2018-01-24 15:24:51 +11:00
  • 46409b03b1 Fix idempotency of polymorphic variant inheritance. Mark Bradley 2018-01-23 20:30:58 +11:00
  • 7dff00c681 Reason Printer (make debug printing of tree more readable) Jordan Walke 2018-01-20 00:19:23 -08:00
  • 28a15f9112 add more test cases for end of line comments Jordan Walke 2018-01-21 22:26:40 -08:00
  • 1f29ab55b1 Don't include semicolon in structure item loc. Makes it consistent with other separators like tuples. Jordan Walke 2018-01-21 22:14:09 -08:00
  • 5151f3b2f3 Fix interleaving of comments imperative structures. Jordan Walke 2018-01-23 00:09:42 -08:00
  • fc84b082ce Consider two adjacent comments at end of line to both be EOL comments. Jordan Walke 2018-01-21 22:29:54 -08:00
  • 21483b6953 Add locations for tuple-looking function arguments Jordan Walke 2018-01-21 22:17:54 -08:00
  • 68faabb965 Reason Printer: Add more location source maps at print time. Jordan Walke 2018-01-20 20:32:52 -08:00
  • 4fd61f7afc Make 'rebuild' package testable w esy workflow Jordan Walke 2018-01-16 22:20:58 -08:00
  • a86c43105f [Docs] Update links Cheng Lou 2018-01-19 14:48:29 -08:00
  • d2a38cb892 Update link in getting started section of readme (#1758) mikaello 2018-01-19 23:47:05 +01:00
  • 198d794878 Add missing space to class type field constraint Mark Bradley 2018-01-19 10:46:42 +11:00
  • 94a58f072b Fix #1746 - class_instance_type call ordering. Mark Bradley 2018-01-18 22:50:45 +11:00
  • dbadff3312 Fix PSig (#1734) Frédéric Bour 2018-01-18 16:24:08 +09:00
  • 765d47b9a6 Fix1736 (#1745) Iwan 2018-01-18 08:22:16 +01:00
  • f93164f561 Fix printing of fun_expr as only argument of a function application. (#1744) Iwan 2018-01-18 07:37:44 +01:00
  • adacd01750 Merge pull request #1747 from cristianoc/inline_comments Cristiano Calcagno 2018-01-16 09:09:21 +01:00
  • a816fd48a6 Make lexer not crash on //. Cristiano Calcagno 2018-01-15 19:31:58 +01:00
  • 5457093e7c Temporarily revert #1720 (#1733) Cheng Lou 2018-01-06 05:16:59 -08:00
  • 03e256490b parser/pprint_ast: force parentheses around switch (...)/try (...) Frédéric Bour 2017-12-23 23:16:34 +09:00
  • acd5a06953 Remove reason.opam.in Rudi Grinberg 2017-12-28 16:32:54 +08:00
  • 80a5ee7953 Move rebuild to own opam package Rudi Grinberg 2017-12-28 16:26:23 +08:00
  • 07b8865f4e Add missing Unix dep to menhir_error_processor Rudi Grinberg 2017-12-28 16:20:03 +08:00
  • b622e8f40c Improve docs for contributing via esy workflow. Jordan W 2018-01-01 16:39:15 -08:00
  • f17d39aca5 Document alternate build workflow using esy (#1590) Zach Ploskey 2018-01-01 16:31:07 -08:00
  • 28a8922ed2 Merge pull request #1703 from let-def/pretty-print-extensions Jordan W 2017-12-26 03:07:50 -08:00
  • bfac541817 Use with-stdout-to instead of bash to redirect ncihnegn 2017-12-15 20:44:55 -08:00
  • 0763b7de97 Move the conditional part out of reason_lexer.mll ncihnegn 2017-12-15 16:16:12 -08:00
  • cb839f4eb5 Replace String.split_on_char with Str.split for pre-4.04 compatibility ncihnegn 2017-12-15 02:41:42 -08:00
  • a5b9f0edea Better way to support OCaml 4.06 by using janestreet/ppx_ast/generate ncihnegn 2017-12-15 02:03:51 -08:00
  • f5ba79673b stress extensions sugar a little bit more Frédéric Bour 2017-12-18 22:42:41 +09:00
  • 2f421fdc25 update extensions test Frédéric Bour 2017-12-18 22:30:57 +09:00
  • 2bf54e93f1 implement pretty-printing of the new sugar Frédéric Bour 2017-12-18 22:24:41 +09:00
  • 2381648421 fix parsing extension sugar in a sequence (%extend bla; bla) Frédéric Bour 2017-12-18 22:24:05 +09:00
  • ae029d4edc reason-parser: add {let,if,try,while,for,switch,fun}%ext Frédéric Bour 2017-12-18 19:54:35 +09:00
  • 47d1331554 simplify item_extension_sugar Frédéric Bour 2017-12-18 19:41:09 +09:00
  • 0536667665 reason-parser: fix raiseSyntaxErrorFromSyntaxUtils Frédéric Bour 2017-12-18 19:39:24 +09:00
  • e74b906bc2 add if, switch, try to extensions test Frédéric Bour 2017-12-14 14:04:08 +09:00
  • 933b9f5095 test extensions pretty printer Frédéric Bour 2017-12-13 17:58:33 +09:00
  • af2d02e787 pretty-print extensions Frédéric Bour 2017-12-13 17:58:18 +09:00
  • 576aed734d don't install menhir_error_processor Frédéric Bour 2017-12-08 15:55:57 +09:00
  • e8fb73ec6f Convert Reason to MIT license. Jordan Walke 2017-12-11 14:54:32 -08:00
  • 0e5e83f6c2 Not throw Location.Error in the parser (#1695) Cheng Lou 2017-12-10 19:13:26 -08:00
  • 18a279930a Regenerate lockfile (#1699) Jordan W 2017-12-10 18:48:50 -08:00
  • dfda0df57c [Docs] Correct paragraph on what refmt throws Cheng Lou 2017-12-09 03:18:38 -08:00
  • 775a7b140b Document the latest release Cheng Lou 2017-12-09 02:53:34 -08:00
  • 5497cb1c07 Version 3.0.4 3.0.4 Jordan Walke 2017-12-09 02:26:35 -08:00
  • 731e605870 Version 3.0.4 Jordan Walke 2017-12-09 02:23:08 -08:00
  • 6432e1e97c [Reason] Ensure final semi in callbacks. Jordan Walke 2017-12-09 00:33:46 -08:00
  • 1d5a991c19 [Docs] #1692 Cheng Lou 2017-12-09 00:40:59 -08:00
  • 192248e145 Make identifier lambdas parenless (#1692) Jordan W 2017-12-09 00:39:50 -08:00
  • 5d4488c960 Oprint: print Js.t({. foo: bar}) as {. "foo": bar} (#1688) Cheng Lou 2017-12-08 17:28:19 -08:00
  • 2fdab87e47 [Docs] #1664 Cheng Lou 2017-12-06 23:53:09 -08:00
  • 3527f81cb7 Refactor heuristic that estimates if the print width is exceeded by a function expression and its args. Iwan 2017-12-02 19:56:28 +01:00
  • c56b54912c Add support smooth callback printing with named args. + clean up code + add extra tests Iwan 2017-12-02 13:50:03 +01:00
  • 52c24c73c9 Better formatting for fun applications with a callback as last argument. Iwan 2017-11-27 19:20:28 +01:00
  • aa0c2d0e5d [Docs] #1675 Cheng Lou 2017-12-04 20:50:45 -08:00
  • 1e1a5fc726 change print-width default from 100 to 80 (#1675) Kennet Postigo 2017-12-04 23:49:28 -05:00
  • 595db4c5a0 [Docs] #1678 Cheng Lou 2017-12-03 23:32:47 -08:00
  • cd089bdf8d Make exponentiation operator print with right associativity. (#1678) Iwan 2017-12-04 08:29:19 +01:00
  • 7ad6e37f3c [Docs] #1677 Cheng Lou 2017-12-01 20:36:12 -08:00
  • 456a228e65 Allow parsing & printing of attributes after the bar on (#1677) Iwan 2017-12-02 05:35:44 +01:00
  • d84f03253f Continuation of d9103f8397 Cheng Lou 2017-11-29 22:13:57 -08:00
  • d9103f8397 Add comments to some meta menhir files Cheng Lou 2017-11-29 22:10:59 -08:00
  • 94fb2c3f32 Fixes #1668 (#1670) Cheng Lou 2017-11-29 17:57:22 -08:00
  • 441cbd9940 Make travis say yes to opam (#1671) Jordan W 2017-11-29 14:17:47 -08:00
  • bf28bd5aa1 Make test diff output show actual on the right (#1669) Cheng Lou 2017-11-29 01:36:12 -08:00
  • 2cc2d384d2 Version 3.0.3 3.0.3 RELEASE303OPAM Jordan Walke 2017-11-27 22:32:49 -08:00
  • 31f614c48a Also bump opam ranges for menhir Jordan Walke 2017-11-27 22:29:50 -08:00
  • d70ad62434 More liberal menhir version constraint. Jordan Walke 2017-11-27 22:00:42 -08:00
  • 396269f32b git add reason.opam not opam Jordan W 2017-11-27 14:01:28 -08:00
  • b98a8e4c9c Bump to 3.03 in package.json Jordan W 2017-11-27 13:53:33 -08:00
  • 8582f9c2b8 Bump to 3.0.3 in opam Jordan W 2017-11-27 13:53:03 -08:00
  • fc5a2eeff6 Bump to 3.03 for new ocaml 4.06 support. Jordan W 2017-11-27 13:48:11 -08:00
  • 5586f04932 [Reason] Support OCaml 4.06 Jordan Walke 2017-11-27 00:38:10 -08:00
  • 9c4133326f Fixes #1611 (#1659) Cheng Lou 2017-11-22 15:53:30 -08:00
  • ec0ecd2781 Prepare for new npm release v3.0.2 Cheng Lou 2017-11-22 11:22:35 -08:00
  • f4f714a4e0 Suggest using npm 4.4.2 Jordan Walke 2017-11-19 03:21:33 -08:00
  • 1afffcd943 Add instructions on testing 4.04 with esy, update tests for 4.04 Jordan Walke 2017-11-19 00:10:08 -08:00
  • ec1ab665e6 Actually enforce the final semi Jordan Walke 2017-11-18 21:12:01 -08:00
  • 30b0519d2b Simplify detection of M.(P.(foo)) Jordan Walke 2017-11-18 21:00:43 -08:00
  • d0d18a4794 [Docs] Fix paths to reason_parser files (#1656) Zach Ploskey 2017-11-20 14:08:08 -08:00
  • 2d4145c52e Missing dot (#1655) Dusta 2017-11-20 23:07:35 +01:00
  • d032b83d9c [Docs] #1654 Cheng Lou 2017-11-20 11:01:22 -08:00
  • a5cbc71fbb Fix incorrect error reporting in recoverable mode (#1654) Frédéric Bour 2017-11-20 19:59:46 +01:00
  • 9eaf45a965 Update rtop_init.ml Jiayu Liu 2017-11-20 17:03:25 +08:00
  • 57f98c7e77 Speed up rebuilds when using esy Jordan Walke 2017-11-18 20:59:05 -08:00
  • f2a6c904a0 [Docs] JSX fixes Cheng Lou 2017-11-18 19:07:42 -08:00
  • 4b80f30563 simplify '=<' check Iwan 2017-11-17 07:47:09 +01:00
  • c8ee33fc36 Add tests for edge case infix operators Iwan 2017-11-16 18:23:09 +01:00
  • 8926be86b3 Fix ambigous jsx in list parsing Iwan 2017-11-15 21:09:52 +01:00