Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge pull request #1585 from alainfrisch/optim_ocamllex_ml | Gabriel Scherer | 2018-01-30 | 6 | -144/+557 | |
|\ \ | | | | | | | Optimize "ocamllex -ml" | |||||
| * | | Changelog. | alainfrisch | 2018-01-30 | 1 | -0/+3 | |
| | | | ||||||
| * | | Refactor. | alainfrisch | 2018-01-30 | 1 | -9/+16 | |
| | | | ||||||
| * | | Move inlining decision to its own function. | alainfrisch | 2018-01-30 | 1 | -14/+17 | |
| | | | ||||||
| * | | Avoid quoted strings, better indentation, limit scope of internal variables. | alainfrisch | 2018-01-30 | 1 | -84/+89 | |
| | | | ||||||
| * | | Emit indented code (patch from Frederic Bour) | alainfrisch | 2018-01-30 | 1 | -91/+86 | |
| | | | ||||||
| * | | Update benchmark and results. | alainfrisch | 2018-01-26 | 2 | -1/+14 | |
| | | | ||||||
| * | | Do not update lex_start_p/lex_curr_p when lex_curr_p == Lexing.dummy_pos. | alainfrisch | 2018-01-26 | 1 | -5/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the client code to disable update of those fields, which accounts for a significant amount of time spend in the generated code. Perhaps this should rather be controlled more statically (to avoid a runtime check -- but it is very cheap), by some directive in the lexer specification itself (global, or on each rule). | |||||
| * | | Benchmark results. | alainfrisch | 2018-01-26 | 1 | -0/+98 | |
| | | | ||||||
| * | | Also test a simpler lexer with trivial actions. | alainfrisch | 2018-01-26 | 2 | -0/+90 | |
| | | | ||||||
| * | | Optimize output of ocamllex -ml | alainfrisch | 2018-01-26 | 1 | -134/+258 | |
| | | | ||||||
| * | | Add benchmark for ocamllex-generated lexers. | alainfrisch | 2018-01-26 | 2 | -0/+71 | |
| |/ | ||||||
* | | Fix MPR#7711 (constraint hides object fields and causes assertion) (#1581) | Jacques Garrigue | 2018-01-30 | 4 | -1/+29 | |
|/ | | | | * fix by checking for self type in Ctype.unify3 | |||||
* | Merge pull request #1545 from jfehrle/improve_doc | Florian Angeletti | 2018-01-25 | 4 | -44/+59 | |
|\ | | | | | Improvements to OCaml manual | |||||
| * | Merge pull request #1 from Octachron/pr/1545 | Jim Fehrle | 2018-01-25 | 0 | -0/+0 | |
| |\ | | | | | | | manual: last minute fixes | |||||
| | * | manual: small fixes | octachron | 2018-01-25 | 2 | -2/+2 | |
| | | | ||||||
| | * | Improve wording in several places in the OCaml manual, mostly in chapter | Jim | 2018-01-24 | 4 | -45/+60 | |
| | | | | | | | | | | | | | | | 1. PR#7698 | |||||
| * | | Improve wording in several places in the OCaml manual, mostly in chapter | Jim | 2018-01-25 | 4 | -44/+59 | |
| |/ | | | | | | | | | 1. PR#7698 | |||||
* | | Merge pull request #1577 from gasche/pattern-matching-3 | Gabriel Scherer | 2018-01-23 | 2 | -33/+41 | |
|\ \ | | | | | | | parmatch.ml refactoring: make the simplify_head_pat functions more generic | |||||
| * | | parmatch.ml refactoring: make the simplify_head_pat functions more generic | Gabriel Scherer | 2018-01-19 | 2 | -33/+41 | |
| | | | ||||||
* | | | Merge pull request #1576 from trefis/pr7712 | Thomas Refis | 2018-01-23 | 3 | -1/+24 | |
|\ \ \ | | | | | | | | | forget_abbrev: do not assert when no abbrevs | |||||
| * | | | Changes | Thomas Refis | 2018-01-23 | 1 | -0/+3 | |
| | | | | ||||||
| * | | | pr7712: add a test | Thomas Refis | 2018-01-23 | 1 | -0/+20 | |
| | | | | ||||||
| * | | | forget_abbrev: do not assert when no abbrevs | Thomas Refis | 2018-01-23 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | ocamltest: enhance communication with hooks | Sébastien Hinderer | 2018-01-22 | 4 | -12/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, ocamltest hooks could modify environment when they succeded, but they were not able to report a reason when they returned a skip or falure result. This commit removes this limitation. To do so, the ocamltest_env variable has been renamed to ocamltest_response. When the hook returns a PASS result, the content of the ${ocamltest_response} file is interpreted as a list of environment modifiers, as was the case for the content of ${ocamltest_env} before this commit. However, from now on, the content of ${ocamltest_response} is also read (as a string, which is trimmed), when the hook returns a skip or failure result. This string should describe why the hook returned the skip or fail result. | |||||
* | | | ocamltest: add the OCaml-specific shared-libraries action | Sébastien Hinderer | 2018-01-22 | 8 | -32/+36 | |
| | | | | | | | | | | | | | | | This action passes when support for shared libraries has been configured. Otherwise, it skips. | |||||
* | | | Update Changes | Pierre Chambart | 2018-01-21 | 1 | -0/+5 | |
| | | | ||||||
* | | | Avoid generating initialization code for init symbol of constants | Pierre Chambart | 2018-01-21 | 6 | -31/+74 | |
| |/ |/| | ||||||
* | | Merge pull request #1575 from dra27/docs-typo-uchar | Gabriel Scherer | 2018-01-19 | 2 | -5/+5 | |
|\ \ | | | | | | | Minor docs correction | |||||
| * | | s/an Unicode/a Unicode/ | David Allsopp | 2018-01-19 | 2 | -5/+5 | |
|/ / | ||||||
* | | Follow up to #1559 : have the name of unknown missing tag depend on the row ↵ | Jacques Garrigue | 2018-01-18 | 6 | -59/+77 | |
| | | | | | | | | | | | | (#1564) Print `AnyOtherTag (with possible extra apostrophes to avoid conflicts) it there is a row variable, or `<some private tag> if this is a private row. | |||||
* | | Update changes | Sébastien Hinderer | 2018-01-17 | 1 | -1/+1 | |
| | | ||||||
* | | Migrate tests/typing-warnings tests to ocamltest | Sébastien Hinderer | 2018-01-17 | 33 | -273/+324 | |
| | | ||||||
* | | Migrate tests/typing-unboxed-types test to ocamltest | Sébastien Hinderer | 2018-01-17 | 5 | -123/+110 | |
| | | ||||||
* | | Migrate typing-short-paths tests to ocamltest | Sébastien Hinderer | 2018-01-17 | 14 | -68/+70 | |
| | | ||||||
* | | Migrate typing-private tests to ocamltest | Sébastien Hinderer | 2018-01-17 | 5 | -106/+92 | |
| | | ||||||
* | | Migrate typing-objects tests to ocamltest | Sébastien Hinderer | 2018-01-17 | 22 | -242/+259 | |
| | | ||||||
* | | Migrate typing-fstclassmod tests to ocamltest | Sébastien Hinderer | 2018-01-17 | 3 | -22/+5 | |
| | | ||||||
* | | Migrate tool-toplevel tests to ocamltest | Sébastien Hinderer | 2018-01-17 | 11 | -57/+54 | |
| | | ||||||
* | | Migrate gc-roots test to ocamltest | Sébastien Hinderer | 2018-01-17 | 3 | -23/+6 | |
| | | ||||||
* | | ocamltest: the ocaml action should include the toplevel directory | Sébastien Hinderer | 2018-01-17 | 1 | -0/+7 | |
| | | ||||||
* | | ocamltest: use values of variables if defined in toplevel test | Sébastien Hinderer | 2018-01-16 | 1 | -17/+24 | |
| | | ||||||
* | | ocamltest: let toplevel test use auxiliary modules | Sébastien Hinderer | 2018-01-16 | 3 | -28/+126 | |
| | | ||||||
* | | byterun/interp: simplified implementation of LSRINT and ASRINT (#1563) | Max Mouratov | 2018-01-14 | 2 | -3/+5 | |
| | | | | | | | | | | | | Clearing the tag bit of the first argument is redundant. The formulas are now the same as in cmmgen. | |||||
* | | Add reference to Cygwin64 rebase issue in flexlink | David Allsopp | 2018-01-11 | 1 | -0/+1 | |
|/ | ||||||
* | MPR#7702: refresh raise counts when inlining a function (#1553) | Xavier Clerc | 2018-01-09 | 7 | -36/+79 | |
| | ||||||
* | Merge pull request #1560 from gasche/pattern-matching | Gabriel Scherer | 2018-01-09 | 2 | -45/+43 | |
|\ | | | | | Pattern matching refactoring | |||||
| * | Changes | Gabriel Scherer | 2018-01-09 | 1 | -1/+1 | |
| | | ||||||
| * | parmatch.ml refactoring: make (full_constrs cond []) return false | Gabriel Scherer | 2018-01-09 | 1 | -21/+18 | |
| | | ||||||
| * | parmatch.ml refactor: minor style change | Gabriel Scherer | 2018-01-09 | 1 | -23/+24 | |
|/ |