mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
Make documentation about -split-pgf clearer
This commit is contained in:
@@ -1034,9 +1034,16 @@ This is done by using the option <tt>-split-pgf</tt> in the compiler:
|
|||||||
<pre class="java">
|
<pre class="java">
|
||||||
$ gf -make -split-pgf App12.pgf
|
$ gf -make -split-pgf App12.pgf
|
||||||
</pre>
|
</pre>
|
||||||
|
This creates the following files:
|
||||||
|
<pre class="java">
|
||||||
|
Writing App.pgf...
|
||||||
|
Writing AppEng.pgf_c...
|
||||||
|
Writing AppSwe.pgf_c...
|
||||||
|
...
|
||||||
|
</pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
Now you can load the grammar as usual but this time only the
|
Now you can load the grammar <tt>App.pgf</tt> as usual but this time only the
|
||||||
abstract syntax will be loaded. You can still use the <tt>languages</tt>
|
abstract syntax will be loaded. You can still use the <tt>languages</tt>
|
||||||
property to get the list of languages and the corresponding
|
property to get the list of languages and the corresponding
|
||||||
concrete syntax objects:
|
concrete syntax objects:
|
||||||
|
|||||||
Reference in New Issue
Block a user