<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ocaml.git/parsing/printast.ml, branch pr8908</title>
<subtitle>github.com: ocaml/ocaml
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/'/>
<entry>
<title>PR#8908: used as a base for other PRs.</title>
<updated>2019-09-11T17:44:31+00:00</updated>
<author>
<name>Thomas Refis</name>
<email>thomas.refis@gmail.com</email>
</author>
<published>2019-09-02T10:43:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=6f492fdbd9c352c0502c118a80d451b8867b1dae'/>
<id>6f492fdbd9c352c0502c118a80d451b8867b1dae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Misc.may_map and similar</title>
<updated>2019-05-23T15:27:58+00:00</updated>
<author>
<name>Leo White</name>
<email>leo@lpw25.net</email>
</author>
<published>2019-05-23T15:27:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=acd06f1eff2f560f7a5b652915322007995e02f0'/>
<id>acd06f1eff2f560f7a5b652915322007995e02f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for "let" operators</title>
<updated>2018-11-27T13:30:55+00:00</updated>
<author>
<name>Leo White</name>
<email>leo@lpw25.net</email>
</author>
<published>2018-07-29T21:29:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=403003cad57fe1b9515dbe0a1bae4012d9132270'/>
<id>403003cad57fe1b9515dbe0a1bae4012d9132270</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend `open` to arbritrary module expressions in structures and to</title>
<updated>2018-11-26T16:20:37+00:00</updated>
<author>
<name>Runhang Li</name>
<email>rli@twitter.com</email>
</author>
<published>2018-04-08T08:51:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=97329f30edcf94f98621a200c33e332cef2761e4'/>
<id>97329f30edcf94f98621a200c33e332cef2761e4</id>
<content type='text'>
applicative module paths in signatures
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
applicative module paths in signatures
</pre>
</div>
</content>
</entry>
<entry>
<title>introduce local substitutions in signatures</title>
<updated>2018-11-09T16:43:43+00:00</updated>
<author>
<name>Thomas Refis</name>
<email>thomas.refis@gmail.com</email>
</author>
<published>2018-10-26T14:47:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=6805595f579e163249186b7b8824d5cbaa9a0136'/>
<id>6805595f579e163249186b7b8824d5cbaa9a0136</id>
<content type='text'>
    type [params] id := type_expr { and [params] id := type_expr }
    module Uid := extended-module-path
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    type [params] id := type_expr { and [params] id := type_expr }
    module Uid := extended-module-path
</pre>
</div>
</content>
</entry>
<entry>
<title>Move variable printer to Pprintast</title>
<updated>2018-11-06T12:12:54+00:00</updated>
<author>
<name>alainfrisch</name>
<email>alain@frisch.fr</email>
</author>
<published>2018-11-05T16:37:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=0d968e357bcfcdc69d3a4ac5daca159edcc662b6'/>
<id>0d968e357bcfcdc69d3a4ac5daca159edcc662b6</id>
<content type='text'>
- The code responsible for printing Syntaxerr errors is moved to the
  Parse module (so that it can depend on the variable printer in
  Pprintast).

- Pprintast becomes a dependency for a few tools that link some
  compiler modules in an ad hoc way (they would better be implemented
  in terms of compiler-libs).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- The code responsible for printing Syntaxerr errors is moved to the
  Parse module (so that it can depend on the variable printer in
  Pprintast).

- Pprintast becomes a dependency for a few tools that link some
  compiler modules in an ad hoc way (they would better be implemented
  in terms of compiler-libs).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix printing of type variables with a quote on 2nd character</title>
<updated>2018-11-06T12:12:54+00:00</updated>
<author>
<name>alainfrisch</name>
<email>alain@frisch.fr</email>
</author>
<published>2018-11-02T09:41:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=74b24580ca18782bc1fb2d0b0744e19a1ec984b6'/>
<id>74b24580ca18782bc1fb2d0b0744e19a1ec984b6</id>
<content type='text'>
Type variables whose name has a single quote as the second character
(such as ' a' or ' a'b) need to be printed with a whitespace after the
initial quote symbol, in order not to be confused with a character
literal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Type variables whose name has a single quote as the second character
(such as ' a' or ' a'b) need to be printed with a whitespace after the
initial quote symbol, in order not to be confused with a character
literal.
</pre>
</div>
</content>
</entry>
<entry>
<title>parsetree.{row,object}_field: move attributes in the wrapper record</title>
<updated>2018-08-20T17:57:47+00:00</updated>
<author>
<name>Gabriel Scherer</name>
<email>gabriel.scherer@gmail.com</email>
</author>
<published>2018-08-17T06:36:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=e348103ab8f234ca71cc7980d7ce656f2f26ef1b'/>
<id>e348103ab8f234ca71cc7980d7ce656f2f26ef1b</id>
<content type='text'>
The concrete syntax only allows attributes on tags/constructors/fields
(Rtag, Otag), not on inherited subtypes (Rinherit, Oinherit); we add
this as new enforced invariant in ast_invariants.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The concrete syntax only allows attributes on tags/constructors/fields
(Rtag, Otag), not on inherited subtypes (Rinherit, Oinherit); we add
this as new enforced invariant in ast_invariants.
</pre>
</div>
</content>
</entry>
<entry>
<title>parsetree: make sure that all nodes that store attributes also store a location</title>
<updated>2018-08-20T17:57:47+00:00</updated>
<author>
<name>Gabriel Scherer</name>
<email>gabriel.scherer@gmail.com</email>
</author>
<published>2018-07-14T21:10:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=85785b173ab1083472998bd1255b73843f536e57'/>
<id>85785b173ab1083472998bd1255b73843f536e57</id>
<content type='text'>
Florian Angeletti and myself ran into a problem when trying to use attributes
for ellision of parts of manual example. We wanted to be turn any ast-node
marked with the [@ellipsis] attribute into "..." in the rendering of the
corresponding code block, but for this we need the location of the
attributed node, and it turns out that some constructions supported
attributes without carrying a location:
- Rtag in row_field
- Otag in object_field
- type_exception record
- type_extension record

We added locations in all those positions, guaranteeing the invariant
that all nodes to which attributes can be attached have a precise
position.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Florian Angeletti and myself ran into a problem when trying to use attributes
for ellision of parts of manual example. We wanted to be turn any ast-node
marked with the [@ellipsis] attribute into "..." in the rendering of the
corresponding code block, but for this we need the location of the
attributed node, and it turns out that some constructions supported
attributes without carrying a location:
- Rtag in row_field
- Otag in object_field
- type_exception record
- type_extension record

We added locations in all those positions, guaranteeing the invariant
that all nodes to which attributes can be attached have a precise
position.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add locations to attributes</title>
<updated>2018-08-06T12:19:28+00:00</updated>
<author>
<name>Hugo Heuzard</name>
<email>hugo.heuzard@gmail.com</email>
</author>
<published>2018-07-21T12:04:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ocaml.git/commit/?id=80431444941fc722a4aaabcf36ca13e818ef5ade'/>
<id>80431444941fc722a4aaabcf36ca13e818ef5ade</id>
<content type='text'>
Changes

fix typo
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes

fix typo
</pre>
</div>
</content>
</entry>
</feed>
