<?xml version="1.0" encoding="UTF-8"?>

<?context-directive job ctxfile x-setups.ctx ?>

<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">

    <cd:command name="definescript" file="scrp-ini.mkvi">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupscript"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupscript" file="scrp-ini.mkvi">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="method">
                    <cd:constant type="hangul"/>
                    <cd:constant type="hanzi"/>
                    <cd:constant type="nihongo"/>
                    <cd:constant type="ethiopic"/>
                    <cd:constant type="thai"/>
                    <cd:constant type="test"/>
                </cd:parameter>
                <cd:parameter name="preset">
                    <cd:constant type="cd:name"/>
                </cd:parameter>
                <cd:parameter name="features">
                    <cd:constant type="auto"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupscripts" file="scrp-ini.mkvi">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:inherit name="setupscript"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setscript" file="scrp-ini.mkvi">
        <cd:arguments>
            <cd:keywords>
                <cd:constant type="hangul"/>
                <cd:constant type="hanzi"/>
                <cd:constant type="nihongo"/>
                <cd:constant type="ethiopic"/>
                <cd:constant type="thai"/>
                <cd:constant type="test"/>
                <cd:constant type="cd:name"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="resetscript" file="scrp-ini.mkvi"/>

    <cd:command name="script" type="environment" file="scrp-ini.mkvi">
        <cd:arguments>
            <cd:keywords>
                <cd:constant type="hangul"/>
                <cd:constant type="hanzi"/>
                <cd:constant type="nihongo"/>
                <cd:constant type="ethiopic"/>
                <cd:constant type="thai"/>
                <cd:constant type="test"/>
                <cd:constant type="cd:name"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="script" generated="yes" varianet="instance" file="scrp-ini.mkvi">
        <cd:sequence>
            <cd:instance value="script"/>
        </cd:sequence>
        <cd:instances>
            <cd:resolve name="instance-script"/>
        </cd:instances>
    </cd:command>

    <!--

        <cd:command name="hangul" file="scrp-ini.mkvi"/>

        <cd:command name="hanzi" file="scrp-ini.mkvi"/>

        <cd:command name="nihongo" file="scrp-ini.mkvi"/>

        <cd:command name="ethiopic" file="scrp-ini.mkvi"/>

        <cd:command name="thai" file="scrp-ini.mkvi"/>

        <cd:command name="latin" file="scrp-ini.mkvi"/>

        <cd:command name="test" file="scrp-ini.mkvi"/>

    -->

</cd:interface>
