Closed tajmone closed 2 years ago
does this [text node really exist
Yes. It is an internal node used to store inline text in the AST.
For example, this PML code:
[p [i foo1] foo2]
is internally converted into a p
block node containing two inline nodes (i
and text
), like this:
[p [i foo1][text foo2]]
is it just undocumented?
Yes. It is currently undocumented. But it should actually be documented, as it can be useful in some situations, such as machine-generated PML code.
Which one is wrong, the JSON file or the Ref.Man?
The JSON file is correct.
Fixed in version 3.0.0.
The generated
pml_tags.json
file of PML 2.3.0 contains a reference to the[text
tag which has no corresponding entry in the PML Reference Manual:Its docs links point to a non-existing anchor:
https://www.pml-lang.dev/docs/reference_manual/index.html#node_text
Which one is wrong, the JSON file or the Ref.Man? i.e. does this
[text
node really exist, or is it just undocumented?