Skip to content

Using gomme for round-trip parsing of YAML? #1

Description

@marco-m

Hello,

I have two questions:

  • Is gomme suited to parse indentation-based non context-free languages like YAML ?
  • The round-trip refers to the fact that I would like to keep full layout information in the AST, so that if I change a node or a comment or whitespace, the resulting diff is minimal. The use case would be to present the diff to a human being, who wants to keep the file "hand formatted".

thanks!

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions