# DCG pack for the ninja build system - Reply 1

**URL:** <https://swi-prolog.discourse.group/t/dcg-pack-for-the-ninja-build-system-reply-1/6678>\
**Category:** General\
**Created:** [June 12, 2023, 9:49am UTC](https://swi-prolog.discourse.group/t/dcg-pack-for-the-ninja-build-system-reply-1/6678 "2023-06-12T09:49:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kwon-young](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/kwon-young/32/4841_2.png) [@kwon-young](https://swi-prolog.discourse.group/u/kwon-young)\
**Post date:** [June 12, 2023, 3:53pm UTC](https://swi-prolog.discourse.group/t/dcg-pack-for-the-ninja-build-system-reply-1/6678/2 "2023-06-12T15:53:37Z")

</div>

> I did not look at your code in detail but from the description it might be related to code Jan W. has created for building [SWI-Prolog](https://www.swi-prolog.org/pldoc/doc_for?object=manual), e.g. library/build

It seems that Jan code is to manage build systems like CMake or Make.  
Ce pack I have written is to help generate a ninja build file, much like what CMake does when generating a ninja build file or makefile.

By the way, I’ve recently stumbled across one of your comment [here](https://swi-prolog.discourse.group/t/wiki-discussion-dcg-and-phrase-3/735/2) about a dcg to parse postscript.  
However, you only posted test case for the grammar and not the grammar itself.  
Would it be possible to share the grammar ?  
I would be very interested in a DCG that can parse postscript/pdf files.

---

_[View the full topic](https://swi-prolog.discourse.group/t/dcg-pack-for-the-ninja-build-system-reply-1/6678)._
