<?xml version="1.0"?>

<!--
	description:

		"Geyacc Tasks"

	library: "Gobo Eiffel Ant"
	copyright: "Copyright (c) 2002-2016, Sven Ehrke and others"
	license: "MIT License"
-->

<chapter xmlns="https://www.gobosoft.com/eiffel/gobo/documentation" id="geyacc_task">
<chapterinfo>
	<copyright>
		<year>2002-2016</year>
		<holder>Sven Ehrke</holder>
	</copyright>
	<author>
		<firstname>Sven</firstname><surname>Ehrke</surname>
	</author>
	<email>ericb@gobosoft.com</email>
	<date>22 April 2016</date>
</chapterinfo>

	<title>geyacc</title>

	<section id="geyacc_description">
		<title>Description</title>
		<para>
			Execute geyacc.
		</para>
	</section>

	<section id="geyacc_parameters">
		<title>Parameters</title>

		<variablelist>
			<varlistentry>
				<term>input</term>
				<listitem>
					<para><emphasis>Description: </emphasis>input</para>
				</listitem>
				<listitem>
					<para><emphasis>Domain: </emphasis>Valid filename pointing to existing file</para>
				</listitem>
				<listitem>
					<para><emphasis>Default: </emphasis>-</para>
				</listitem>
			</varlistentry>

			<varlistentry>
				<term>output</term>
				<listitem>
					<para><emphasis>Description: </emphasis>output</para>
				</listitem>
				<listitem>
					<para><emphasis>Domain: </emphasis>Valid filename</para>
				</listitem>
				<listitem>
					<para><emphasis>Default: </emphasis>-</para>
				</listitem>
			</varlistentry>

			<varlistentry>
				<term>tokens</term>
				<listitem>
					<para><emphasis>Description: </emphasis>tokens</para>
				</listitem>
				<listitem>
					<para><emphasis>Domain: </emphasis>-</para>
				</listitem>
				<listitem>
					<para><emphasis>Default: </emphasis>-</para>
				</listitem>
			</varlistentry>

			<varlistentry>
				<term>rescue_on_abort</term>
				<listitem>
					<para><emphasis>Description: </emphasis>rescue_on_abort</para>
				</listitem>
				<listitem>
					<para><emphasis>Domain: </emphasis>-</para>
				</listitem>
				<listitem>
					<para><emphasis>Default: </emphasis>-</para>
				</listitem>
			</varlistentry>
			
			<varlistentry>
				<term>separate_actions</term>
				<listitem>
					<para><emphasis>Description: </emphasis>separate_actions</para>
				</listitem>
				<listitem>
					<para><emphasis>Domain: </emphasis>-</para>
				</listitem>
				<listitem>
					<para><emphasis>Default: </emphasis>False</para>
				</listitem>
			</varlistentry>
			
			<varlistentry>
				<term>array_size</term>
				<listitem>
					<para><emphasis>Description: </emphasis>array_size</para>
				</listitem>
				<listitem>
					<para><emphasis>Domain: </emphasis>Integer</para>
				</listitem>
				<listitem>
					<para><emphasis>Default: </emphasis>200</para>
				</listitem>
			</varlistentry>
			
			<varlistentry>
				<term>verbose</term>
				<listitem>
					<para><emphasis>Description: </emphasis>verbose</para>
				</listitem>
				<listitem>
					<para><emphasis>Domain: </emphasis>Valid filename</para>
				</listitem>
				<listitem>
					<para><emphasis>Default: </emphasis>-</para>
				</listitem>
			</varlistentry>

		</variablelist>
	</section>

	<section id="geyacc_specification">
		<title>RNG Specification</title>

		<programlisting><![CDATA[
  <define name="geyacc">
    <element name="geyacc">
      <ref name="dir_if_unless"/>
      <attribute name="input"/>
        <optional>
          <attribute name="output"/>
        </optional>
        <optional>
          <attribute name="tokens"/>
        </optional>
        <optional>
          <attribute name="array_size"/>
        </optional>
        <optional>
          <attribute name="separate_actions"/>
        </optional>
        <optional>
          <attribute name="rescue_on_abort"/>
        </optional>
        <optional>
          <attribute name="verbose"/>
        </optional>
      </element>
  </define>
]]>
	</programlisting>

	</section>

	<section id="geyacc_examples">
		<title>Examples</title>
	<programlisting><![CDATA[
  <geyacc input="calc.y" output="calc.e"/>

  <geyacc input="eiffel_parser.y" tokens="EIFFEL_TOKENS" output="eiffel_parser.e"/>
]]>
	</programlisting>
	</section>

</chapter>
