<?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="definedataset" level="system" file="core-dat.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupdataset"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupdataset" level="system" file="core-dat.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="delay">
                    <cd:constant type="yes"/>
                    <cd:constant type="no" default="yes"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setdataset" level="system" file="core-dat.mkiv">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:resolve name="assignment-userdata-list"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="datasetvariable" level="system" file="core-dat.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:keywords delimiters="braces">
                <cd:constant type="cd:name"/>
                <cd:constant type="cd:number"/>
            </cd:keywords>
            <cd:keywords delimiters="braces">
                <cd:constant type="cd:key"/>
                <cd:constant type="realpage"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

</cd:interface>