ossuminc / riddl

A compiler for the DDD-based design language RIDDL
https://riddl.tech/
Apache License 2.0
21 stars 6 forks source link

Create Pass To Remove Includes #624

Closed reid-spencer closed 3 weeks ago

reid-spencer commented 5 months ago

In the passes module, either create a new pass to remove includes, or just do it during one of the existing paths. This makes querying the AST more straight-forward as Includes don't need to be bothered with.

reid-spencer commented 3 weeks ago

The Prettify pass handles this with "--single-file" which will not emit any includes