Refactor prose · syntax-tree/unist@b446921 (original) (raw)

`` @@ -25,7 +25,7 @@ The latest released version is [2.0.0][release].

``

25

25

`* Glossary

`

26

26

`* Tree traversal

`

27

27

`* Utilities

`

28

``

`-

`

``

28

`+

`

29

29

`* References

`

30

30

`* Contribute

`

31

31

`* Acknowledgments

`

`@@ -40,10 +40,10 @@ This specification is written in a [Web IDL][webidl]-like grammar.

`

40

40

`### Syntax tree

`

41

41

``

42

42

`Syntax trees are representations of source code or even natural language.

`

43

``

`-

These trees are abstractions that make it possible to analyse, transform, and

`

``

43

`+

These trees are abstractions that make it possible to analyze, transform, and

`

44

44

`generate code.

`

45

45

``

46

``

`-

Syntax trees [come in two flavours][abstract-vs-concrete-trees]:

`

``

46

`+

Syntax trees [come in two flavors][abstract-vs-concrete-trees]:

`

47

47

``

48

48

`* concrete syntax trees: structures that represent every detail (such as

`

49

49

` white-space in white-space insensitive languages)

`

`@@ -425,12 +425,12 @@ sibling (F) is traversed and then finally its only child (G).

`

425

425

`There are several projects that deal with nodes from specifications implementing

`

426

426

`unist:

`

427

427

``

428

``

`-

`

429

428

`* hast utilities

`

430

``

`-

`

``

429

`+

`

431

430

`* nlcst utilities

`

``

431

`+

`

432

432

``

433

``

`-

List of Utilities

`

``

433

`+

List of utilities

`

434

434

``

435

435

`` * unist-util-assert

``

436

436

` — Assert nodes

`

`` @@ -524,8 +524,8 @@ Ideas for new utilities and tools can be posted in [syntax-tree/ideas][ideas].

``

524

524

`A curated list of awesome syntax-tree, unist, hast, xast, mdast, and nlcst

`

525

525

`resources can be found in [awesome syntax-tree][awesome].

`

526

526

``

527

``

`-

This project has a [Code of Conduct][coc].

`

528

``

`-

By interacting with this repository, organisation, or community you agree to

`

``

527

`+

This project has a [code of conduct][coc].

`

``

528

`+

By interacting with this repository, organization, or community you agree to

`

529

529

`abide by its terms.

`

530

530

``

531

531

`## Acknowledgments

`