move sci_gateway/<module> --> sci_gateway/<module>_gateway.xml
Allan Cornet [Tue, 10 Apr 2007 19:31:35 +0000 (19:31 +0000)]
add check_gateways

TO DO update loadhashtable (tomorrow :p )

35 files changed:
scilab/modules/arnoldi/sci_gateway/arnoldi_gateway.xml [new file with mode: 0644]
scilab/modules/boolean/sci_gateway/boolean_gateway.xml [new file with mode: 0644]
scilab/modules/cacsd/sci_gateway/cacsd_gateway.xml [new file with mode: 0644]
scilab/modules/core/sci_gateway/core_gateway.xml [new file with mode: 0644]
scilab/modules/data_structures/sci_gateway/data_structures_gateway.xml [new file with mode: 0644]
scilab/modules/differential_equations/sci_gateway/differential_equations_gateway.xml [new file with mode: 0644]
scilab/modules/elementaries_functions/sci_gateway/elementaries_functions_gateway.xml [new file with mode: 0644]
scilab/modules/fftw/sci_gateway/fftw_gateway.xml [new file with mode: 0644]
scilab/modules/fileio/sci_gateway/fileio_gateway.xml [new file with mode: 0644]
scilab/modules/functions/macros/check_gateways.sci [new file with mode: 0644]
scilab/modules/functions/xml/gateway.dtd [new file with mode: 0644]
scilab/modules/graphics/sci_gateway/graphics_gateway.xml [new file with mode: 0644]
scilab/modules/gui/sci_gateway/gui_gateway.xml [new file with mode: 0644]
scilab/modules/integer/sci_gateway/integer_gateway.xml [new file with mode: 0644]
scilab/modules/interpolation/sci_gateway/interpolation_gateway.xml [new file with mode: 0644]
scilab/modules/io/sci_gateway/io_gateway.xml [new file with mode: 0644]
scilab/modules/linear_algebra/sci_gateway/linear_algebra_gateway.xml [new file with mode: 0644]
scilab/modules/localization/sci_gateway/localization_gateway.xml [new file with mode: 0644]
scilab/modules/metanet/sci_gateway/metanet_gateway.xml [new file with mode: 0644]
scilab/modules/optimization/sci_gateway/optimization_gateway.xml [new file with mode: 0644]
scilab/modules/polynomials/sci_gateway/polynomials_gateway.xml [new file with mode: 0644]
scilab/modules/pvm/sci_gateway/pvm_gateway.xml [new file with mode: 0644]
scilab/modules/randlib/sci_gateway/randlib_gateway.xml [new file with mode: 0644]
scilab/modules/scicos/sci_gateway/scicos_gateway.xml [new file with mode: 0644]
scilab/modules/signal_processing/sci_gateway/signal_processing_gateway.xml [new file with mode: 0644]
scilab/modules/sound/sci_gateway/sound_gateway.xml [new file with mode: 0644]
scilab/modules/sparse/sci_gateway/sparse_gateway.xml [new file with mode: 0644]
scilab/modules/special_functions/sci_gateway/special_functions_gateway.xml [new file with mode: 0644]
scilab/modules/statistics/sci_gateway/statistics_gateway.xml [new file with mode: 0644]
scilab/modules/string/sci_gateway/string_gateway.xml [new file with mode: 0644]
scilab/modules/string_V2/sci_gateway/string_V2_gateway.xml [new file with mode: 0644]
scilab/modules/symbolic/sci_gateway/symbolic_gateway.xml [new file with mode: 0644]
scilab/modules/tclsci/sci_gateway/tclsci_gateway.xml [new file with mode: 0644]
scilab/modules/time/sci_gateway/time_gateway.xml [new file with mode: 0644]
scilab/modules/wintools/sci_gateway/wintools_gateway.xml [new file with mode: 0644]

diff --git a/scilab/modules/arnoldi/sci_gateway/arnoldi_gateway.xml b/scilab/modules/arnoldi/sci_gateway/arnoldi_gateway.xml
new file mode 100644 (file)
index 0000000..ca97575
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>35</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dsaupd</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>35</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dnaupd</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>35</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>znaupd</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>35</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>znaupd</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>35</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dseupd</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>35</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>zneupd</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/boolean/sci_gateway/boolean_gateway.xml b/scilab/modules/boolean/sci_gateway/boolean_gateway.xml
new file mode 100644 (file)
index 0000000..bf191d8
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>23</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>find</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>23</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>bool2s</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>23</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>or</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>23</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>and</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/cacsd/sci_gateway/cacsd_gateway.xml b/scilab/modules/cacsd/sci_gateway/cacsd_gateway.xml
new file mode 100644 (file)
index 0000000..139f14b
--- /dev/null
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+<!-- =================== -->\r
+<!-- 1 gschur obsolete -->\r
+<!-- 2 gspec obsolete -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>8</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ereduc</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>8</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fstair</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>9</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ricc_old</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<!-- 1 not used -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>10</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ppol</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>10</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>tr_zer</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>10</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>freq</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>10</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ltitr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>10</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>rtitr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>20</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>arl2_ius</PRIMITIVE_NAME>\r
+       <!-- ius means internal ugly stuff arl2 is the function -->\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>20</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>residu</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>20</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ldiv</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sident</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sorder</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>findBD</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>rankqr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>contr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mucomp</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ricc</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>hinf</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dhinf</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>28</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>linmeq</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<!-- =================== -->\r
+</GATEWAY>\r
diff --git a/scilab/modules/core/sci_gateway/core_gateway.xml b/scilab/modules/core/sci_gateway/core_gateway.xml
new file mode 100644 (file)
index 0000000..eb82a45
--- /dev/null
@@ -0,0 +1,417 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>debug</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>who</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lines</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>argn</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fort</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>comp</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>call</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mode</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>type</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>error</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>resume</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>return</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>format</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>isdef</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>exists</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>errcatch</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>errclear</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>iserror</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>predef</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>newfun</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>clearfun</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>funptr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>23</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>macr2lst</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>24</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>setbpt</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>25</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>delbpt</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>26</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dispbpt</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>27</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>funcprot</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>28</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>whereis</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>29</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>where</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>30</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>havewindow</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>31</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>stacksize</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>32</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mtlb_mode</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>33</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>link</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>34</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ulink</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>35</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>c_link</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>36</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>addinter</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>37</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>clear</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>38</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>what</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>39</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sciargs</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>40</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>chdir</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>41</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ieee</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>42</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>typename</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>43</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>global</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>44</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pwd</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>45</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>clearglobal</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>46</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>isglobal</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>47</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>gstacksize</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>48</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>intppty</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>49</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lasterror</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>50</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getversion</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>51</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>loadhistory</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>52</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>savehistory</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>53</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>gethistory</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>54</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>resethistory</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>55</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>macr2tree</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>56</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getos</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>57</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>banner</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>58</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fromjava</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>59</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getmemory</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>60</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fromc</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>61</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getmd5</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>62</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>warning</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>63</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getcwd</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>64</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getmodules</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>65</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>with_module</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>13</GATEWAY_ID>\r
+  <PRIMITIVE_ID>66</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getdynlibext</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>14</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>user</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/data_structures/sci_gateway/data_structures_gateway.xml b/scilab/modules/data_structures/sci_gateway/data_structures_gateway.xml
new file mode 100644 (file)
index 0000000..b474247
--- /dev/null
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>17</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>list</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>17</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>tlist</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>17</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>rlist</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>17</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lsslist</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>17</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>glist</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>17</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lstcat</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>17</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mlist</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>17</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>definedfields</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>17</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lstsize</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>41</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getfield</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>41</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>setfield</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+</GATEWAY>\r
+\r
diff --git a/scilab/modules/differential_equations/sci_gateway/differential_equations_gateway.xml b/scilab/modules/differential_equations/sci_gateway/differential_equations_gateway.xml
new file mode 100644 (file)
index 0000000..2bb3d0f
--- /dev/null
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>12</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ode</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>26</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>impl</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>26</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dassl</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>26</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dasrt</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>29</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>odedc</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>30</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>intg</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>30</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>int2d</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>30</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>int3d</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>31</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>feval</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>32</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>bvode</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/elementaries_functions/sci_gateway/elementaries_functions_gateway.xml b/scilab/modules/elementaries_functions/sci_gateway/elementaries_functions_gateway.xml
new file mode 100644 (file)
index 0000000..524f91a
--- /dev/null
@@ -0,0 +1,317 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>abs</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>real</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>imag</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>conj</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>round</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>int</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>size</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sum</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>prod</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>diag</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>triu</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>tril</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>eye</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>rand</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ones</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>max</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>maxi</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>min</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mini</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sort</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>kron</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<!-- 20 kron -->\r
+<!-- 21 kron -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>matrix</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>23</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sin</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>24</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cos</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>25</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>atan</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>26</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>exp</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>27</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sqrt</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>28</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>log</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<!-- 29 " ^ " -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>30</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sign</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>31</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>clean</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>32</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>floor</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>33</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ceil</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>34</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>expm</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>35</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cumsum</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>36</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cumprod</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>37</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>testmatrix</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>38</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>isreal</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>39</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>frexp</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>40</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>zeros</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>41</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>tan</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>42</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>log1p</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>43</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>imult</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>44</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>asin</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>45</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>acos</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>46</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>number_properties</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>47</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>nearfloat</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>48</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dsearch</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>49</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>isequal</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>6</GATEWAY_ID>\r
+  <PRIMITIVE_ID>50</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>spones</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+\r
+</GATEWAY>\r
+\r
+\r
diff --git a/scilab/modules/fftw/sci_gateway/fftw_gateway.xml b/scilab/modules/fftw/sci_gateway/fftw_gateway.xml
new file mode 100644 (file)
index 0000000..aa144e2
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>51</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>loadfftwlibrary</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>51</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>disposefftwlibrary</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>51</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fftwlibraryisloaded</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>51</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fftw</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>51</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fftw_flags</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>51</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fftw_inplace</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>51</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fftw_norm</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>51</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pushfftw_plan</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>51</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>freefftw_plan</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/fileio/sci_gateway/fileio_gateway.xml b/scilab/modules/fileio/sci_gateway/fileio_gateway.xml
new file mode 100644 (file)
index 0000000..a735d90
--- /dev/null
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mopen</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mputstr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mclose</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mput</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mget</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mgetstr</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>meof</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mseek</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mtell</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mclearerr</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mprintf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mfprintf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>msprintf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mscanf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mfscanf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>msscanf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fscanfMat</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fprintfMat</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>NumTokens</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>merror</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xls_open</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>34</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xls_read</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
+\r
diff --git a/scilab/modules/functions/macros/check_gateways.sci b/scilab/modules/functions/macros/check_gateways.sci
new file mode 100644 (file)
index 0000000..c000918
--- /dev/null
@@ -0,0 +1,30 @@
+//------------------------------------\r
+// Allan CORNET INRIA 2007\r
+//------------------------------------\r
+function ret=check_gateways(varargin)\r
+  [lhs,rhs]=argn(0);\r
+  ret=%T;\r
+  modules=getmodules();\r
+  szmodules=size(modules);\r
+\r
+  for i=1:1:szmodules(1)\r
+    file_to_check=SCI+'/modules/'+modules(i)+'/sci_gateway/'+modules(i)+'_gateway.xml';\r
+    printf('checking : '+modules(i)+'\n');\r
+    if (fileinfo(file_to_check)<>[]) then\r
+      try\r
+        if MSDOS then\r
+          stat = unix_w(SCI+"\modules\helptools\bin\xmllint\xmllint --noout --valid "+file_to_check);\r
+        else\r
+           stat = unix_w("xmllint --noout --valid "+file_to_check);\r
+        end\r
+      catch\r
+        ret=%F;\r
+        printf('\n Please check : '+file_to_check+'\n\n');\r
+      end\r
+    else\r
+      printf('\n file doesn''t exist : '+file_to_check+'\n\n');\r
+    end\r
+  end\r
+  \r
+endfunction \r
\ No newline at end of file
diff --git a/scilab/modules/functions/xml/gateway.dtd b/scilab/modules/functions/xml/gateway.dtd
new file mode 100644 (file)
index 0000000..c010d63
--- /dev/null
@@ -0,0 +1,16 @@
+<!ELEMENT GATEWAY (META?,PRIMITIVE*)>\r
+\r
+<!ELEMENT META (#PCDATA)>\r
+\r
+<!ATTLIST META \r
+CATEGORY       CDATA   "Scilab Gateway"         \r
+VERSION_SCI    CDATA   "5.0"    \r
+VERSION_DOC    CDATA   "1.0"    \r
+AUTHOR         CDATA   "Allan CORNET INRIA 2007"        \r
+ >\r
+\r
+<!ELEMENT PRIMITIVE (GATEWAY_ID,PRIMITIVE_ID,PRIMITIVE_NAME)>\r
+\r
+<!ELEMENT GATEWAY_ID (#PCDATA)>\r
+<!ELEMENT PRIMITIVE_ID (#PCDATA)>\r
+<!ELEMENT PRIMITIVE_NAME (#PCDATA)>\r
diff --git a/scilab/modules/graphics/sci_gateway/graphics_gateway.xml b/scilab/modules/graphics/sci_gateway/graphics_gateway.xml
new file mode 100644 (file)
index 0000000..1d0e12f
--- /dev/null
@@ -0,0 +1,549 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>champ</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>champ1</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>driver</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fec</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>geom3d</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>grayplot</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>Matplot</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>Matplot1</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>contour2di</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>param3d</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>param3d1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xstringb</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>plot2d</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>plot2d1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>plot2d2</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>plot2d3</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>plot2d4</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>plot3d</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>plot3d1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>winsid</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xarc</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xarcs</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>23</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xarrows</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>24</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>drawaxis</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>25</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xchange</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>26</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xclea</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>27</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>oldxclear</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>28</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xclick</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>29</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xdel</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>30</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xend</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>31</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xfarc</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>32</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xfarcs</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>33</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xfpoly</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>34</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xfpolys</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>35</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xfrect</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>36</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xg2ps</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>37</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xget</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>38</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xgetech</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>39</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xgetmouse</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>40</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xgrid</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>41</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xinit</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>42</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xlfont</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>43</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xpoly</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>44</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xpolys</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>45</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xrect</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>46</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xrects</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>47</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xs2fig</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>48</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xsegs</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>49</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>show_window</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>50</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xset</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>51</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xsetech</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>52</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xstring</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>53</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xstringl</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>54</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xtape</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>55</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xtitle</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>56</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xgraduate</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>57</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xname</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>58</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xaxis</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>59</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xs2gif</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>60</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xs2ppm</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>61</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xs2ps</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>62</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xs2bmp</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>63</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xs2emf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>64</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>set_posfig_dim</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>65</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xsnative</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>66</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>zoom_rect</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>67</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>unzoom</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>68</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>StringBox</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>69</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>move</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>70</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>glue</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>71</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>unglue</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>72</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>drawnow</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>73</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>drawlater</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>74</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>draw</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>75</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>addcb</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>76</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>copy</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>77</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>delete</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>78</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>get</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>79</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>set</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>80</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>newaxes</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>81</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>relocate_handle</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>82</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>swap_handles</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>83</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>gsort</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>84</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>help_gtk</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>85</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>UImenu</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>85</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>UImenu</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>86</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>showalluimenushandles</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>87</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>readxbm</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>7</GATEWAY_ID>\r
+  <PRIMITIVE_ID>88</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>readgif</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/gui/sci_gateway/gui_gateway.xml b/scilab/modules/gui/sci_gateway/gui_gateway.xml
new file mode 100644 (file)
index 0000000..444e8ab
--- /dev/null
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>x_dialog</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>x_message</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>x_choose</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>x_mdialog</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xchoicesi</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>addmenu_old</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>delmenu_old</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>setmenu_old</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>unsetmenu_old</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xgetfile</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>x_message_modeless</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>clc</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>raise_window</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>25</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>tohome</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/integer/sci_gateway/integer_gateway.xml b/scilab/modules/integer/sci_gateway/integer_gateway.xml
new file mode 100644 (file)
index 0000000..113ce53
--- /dev/null
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>int32</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>int16</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>int8</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>inttype</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>double</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>uint32</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>uint16</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>uint8</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mgeti</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<!-- 10 not used -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_mput</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>iconvert</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_abs</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_diag</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_triu</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_tril</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_sum</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_cumsum</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_max</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_maxi</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_min</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_mini</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_p</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>iconvert</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>23</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_matrix</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>24</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_prod</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>43</GATEWAY_ID>\r
+  <PRIMITIVE_ID>25</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%i_cumprod</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/interpolation/sci_gateway/interpolation_gateway.xml b/scilab/modules/interpolation/sci_gateway/interpolation_gateway.xml
new file mode 100644 (file)
index 0000000..4683106
--- /dev/null
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>splin</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lsq_splin</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>interp</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>linear_interpn</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>splin2d</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>interp2d</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cshep2d</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>eval_cshep2d</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>splin3d</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>interp3d</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>19</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>bsplin3val</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/io/sci_gateway/io_gateway.xml b/scilab/modules/io/sci_gateway/io_gateway.xml
new file mode 100644 (file)
index 0000000..fa5ba14
--- /dev/null
@@ -0,0 +1,195 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>oldload</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>read</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getf</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>exec</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lib</PRIMITIVE_NAME>\r
+</PRIMITIVE>           \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>diary</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>oldsave</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>write</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>print</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>rat</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>deff</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>file</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>host</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>unix</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>readb</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>writb</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>execstr</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>disp</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getpid</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getenv</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>read4b</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>write4b</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>23</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>save</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>24</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>load</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>25</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mgetl</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>26</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fileinfo</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>27</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getio</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>28</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>setenv</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>29</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getrelativefilename</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>5</GATEWAY_ID>\r
+  <PRIMITIVE_ID>30</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>newest</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/linear_algebra/sci_gateway/linear_algebra_gateway.xml b/scilab/modules/linear_algebra/sci_gateway/linear_algebra_gateway.xml
new file mode 100644 (file)
index 0000000..ebe3657
--- /dev/null
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>2</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>bdiag</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+<!-- =================== -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>qr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>svd</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lsq</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>spec</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>inv</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>rcond</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>chol</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lu</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>slash</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>backslash</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>schur</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>hess</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>det</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>44</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>balanc</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
+\r
diff --git a/scilab/modules/localization/sci_gateway/localization_gateway.xml b/scilab/modules/localization/sci_gateway/localization_gateway.xml
new file mode 100644 (file)
index 0000000..74c6e8f
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>50</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>setlanguage</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>50</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getlanguage</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>50</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getlanguagealias</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>50</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getlanguagestable</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>50</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>gettext</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>50</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>addtext</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>50</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>removetext</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/metanet/sci_gateway/metanet_gateway.xml b/scilab/modules/metanet/sci_gateway/metanet_gateway.xml
new file mode 100644 (file)
index 0000000..b3cc1f9
--- /dev/null
@@ -0,0 +1,316 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6loadg</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6saveg</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6prevn2p</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6ns2p</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6p2ns</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6edge2st</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6prevn2st</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6compc</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6concom</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6compfc</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6sconcom</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6pcchna</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6fordfulk</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6johns</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6dijkst</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6frang</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6chcm</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6transc</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6dfs</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6umtree</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6umtree1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6dmtree</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>23</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6tconex</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>24</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6flomax</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>25</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6kilter</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>26</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6busack</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>27</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6floqua</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>28</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6relax</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>29</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6findiso</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>30</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6ta2lpd</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>31</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6ta2lpu</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>32</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6lp2tad</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>33</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6lp2tau</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>34</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6dfs2</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>35</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6diam</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>36</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6cent</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>37</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6hullcvex</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>38</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6clique</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>39</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6clique1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>40</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6hamil</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>41</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6visitor</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>42</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6bmatch</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>43</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6knapsk</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>44</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6prfmatch</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>45</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6permuto</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>46</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6mesh2b</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>47</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6deumesh</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>48</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6bandred</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>49</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6meshmesh</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>15</GATEWAY_ID>\r
+  <PRIMITIVE_ID>50</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>m6ford</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
+\r
diff --git a/scilab/modules/optimization/sci_gateway/optimization_gateway.xml b/scilab/modules/optimization/sci_gateway/optimization_gateway.xml
new file mode 100644 (file)
index 0000000..cfe17c4
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>11</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>optim</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<!-- qpqpqp primitive non documentee utilisee par quapro macro -->\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>11</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>qpqpqp</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>11</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>semidef</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>11</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fsolve</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>11</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lsqrsolve</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>11</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>qld</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/polynomials/sci_gateway/polynomials_gateway.xml b/scilab/modules/polynomials/sci_gateway/polynomials_gateway.xml
new file mode 100644 (file)
index 0000000..b861a20
--- /dev/null
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>poly</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>roots</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>degree</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>coeff</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<!-- 5 eval implicit -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pppdiv</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>simp</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<!-- 8 sum implicit -->\r
+<!-- 9 prod implicit -->\r
+<!-- 10 diag implicit -->\r
+<!-- 11 triu implicit -->\r
+<!-- 12 tril implicit -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>bezout</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sfact</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>simp_mode</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>16</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>varn</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<!-- 17 cleanp implicit -->\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/pvm/sci_gateway/pvm_gateway.xml b/scilab/modules/pvm/sci_gateway/pvm_gateway.xml
new file mode 100644 (file)
index 0000000..b5264ab
--- /dev/null
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_joingroup</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_lvgroup</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_gsize</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_gettid</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_getinst</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_barrier</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_bcast</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_tasks</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_config</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_addhosts</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_delhosts</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_parent</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_tidtohost</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_set_timer</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_get_timer</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_mytid</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_exit</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_kill</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_spawn</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_spawn_independent</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_recv</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_send</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>23</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_recv_var</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>24</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_send_var</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>25</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_reduce</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>26</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_start</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>27</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_halt</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>28</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_error</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>29</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_sci2f77</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>30</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_f772sci</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>31</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_probe</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>32</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_bufinfo</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>42</GATEWAY_ID>\r
+  <PRIMITIVE_ID>33</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pvm_error_mode</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
+     \r
diff --git a/scilab/modules/randlib/sci_gateway/randlib_gateway.xml b/scilab/modules/randlib/sci_gateway/randlib_gateway.xml
new file mode 100644 (file)
index 0000000..5b9a990
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>38</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>grand</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/scicos/sci_gateway/scicos_gateway.xml b/scilab/modules/scicos/sci_gateway/scicos_gateway.xml
new file mode 100644 (file)
index 0000000..1b0d90a
--- /dev/null
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>var2vec</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>vec2var</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>curblock</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getblocklabel</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>scicos_debug</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>scicos_debug_count</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sctree</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sci_tree2</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sci_tree3</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>45</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sci_tree4</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<!-- =================== -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>scicos_time</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>duplicate</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>diffobjs</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>pointer_xproperty</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>phase_simulation</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>set_xproperty</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>scicos_cpass2</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>set_blockerror</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ctree2</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ctree3</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ctree4</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>scicosim</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getscicosvars</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>curblockc</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>46</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>buildouttb</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/signal_processing/sci_gateway/signal_processing_gateway.xml b/scilab/modules/signal_processing/sci_gateway/signal_processing_gateway.xml
new file mode 100644 (file)
index 0000000..aa41eb7
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<!-- ffir 1 -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>18</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fft</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<!-- fiir 3 -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>18</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>corr</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>18</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>rpem</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>18</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>amell</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>18</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>delip</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>18</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>remez</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>18</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>syredi</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/sound/sci_gateway/sound_gateway.xml b/scilab/modules/sound/sci_gateway/sound_gateway.xml
new file mode 100644 (file)
index 0000000..33f7e65
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>49</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>savewave</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>49</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>loadwave</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>49</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>PlaySound</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>49</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>beep</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/sparse/sci_gateway/sparse_gateway.xml b/scilab/modules/sparse/sci_gateway/sparse_gateway.xml
new file mode 100644 (file)
index 0000000..4528067
--- /dev/null
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sparse</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>spget</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>full</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lufact</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>lusolve</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ludel</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>luget</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<!-- 8 spclean -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>nnz</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<!-- 10 spmax -->\r
+<!-- 11 spmin -->\r
+<!-- 12 spmatrix -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>spchol</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>readmps</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>fadj2sp</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>spcompack</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ordmmd</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>blkfc1i</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>blkslvi</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>inpnvi</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sfinit</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>symfcti</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>23</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>bfinit</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>24</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mtlb_sparse</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>25</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%msp_spget</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>27</GATEWAY_ID>\r
+  <PRIMITIVE_ID>26</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%msp_full</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/special_functions/sci_gateway/special_functions_gateway.xml b/scilab/modules/special_functions/sci_gateway/special_functions_gateway.xml
new file mode 100644 (file)
index 0000000..f232a8f
--- /dev/null
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>36</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>oldbesseli</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>36</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>oldbesselj</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>36</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>oldbesselk</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>36</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>oldbessely</PRIMITIVE_NAME>\r
+</PRIMITIVE>                   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>36</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>gamma</PRIMITIVE_NAME>\r
+</PRIMITIVE>           \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>36</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>gammaln</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>36</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dlgamma</PRIMITIVE_NAME>\r
+</PRIMITIVE>           \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>36</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>calerf</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<!-- =================== -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>39</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>legendre</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>39</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>beta</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>39</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>besseli</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>39</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>besselj</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>39</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>besselk</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>39</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>bessely</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>39</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>besselh</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/statistics/sci_gateway/statistics_gateway.xml b/scilab/modules/statistics/sci_gateway/statistics_gateway.xml
new file mode 100644 (file)
index 0000000..594aa73
--- /dev/null
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdfbet</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdfbin</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdfchi</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdfchn</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdff</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdffnc</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdfgam</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdfnbn</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdfnor</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdfpoi</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>37</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>cdft</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/string/sci_gateway/string_gateway.xml b/scilab/modules/string/sci_gateway/string_gateway.xml
new file mode 100644 (file)
index 0000000..629bb96
--- /dev/null
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>length</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>part</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>string</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>convstr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>emptystr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>str2code</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>code2str</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<!--  8 sort overloading -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strcat</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strindex</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strsubst</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ascii</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>grep</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>tokens</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strsplit</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
+\r
diff --git a/scilab/modules/string_V2/sci_gateway/string_V2_gateway.xml b/scilab/modules/string_V2/sci_gateway/string_V2_gateway.xml
new file mode 100644 (file)
index 0000000..d979805
--- /dev/null
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>length</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>part</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>string</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>convstr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>emptystr</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>str2code</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>code2str</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<!-- 8 sort overloading -->\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strcat</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strindex</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strsubst</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ascii</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>grep</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>tokens</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strsplit</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>length1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>regexp</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strindex1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>strsubst1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>grep1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>regexppri</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>21</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>emptystr1</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/symbolic/sci_gateway/symbolic_gateway.xml b/scilab/modules/symbolic/sci_gateway/symbolic_gateway.xml
new file mode 100644 (file)
index 0000000..e29b8ec
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>22</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>addf</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>22</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>subf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>22</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mulf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>22</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ldivf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>22</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>rdivf</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/tclsci/sci_gateway/tclsci_gateway.xml b/scilab/modules/tclsci/sci_gateway/tclsci_gateway.xml
new file mode 100644 (file)
index 0000000..9e713cc
--- /dev/null
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_DoOneEvent</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_EvalFile</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_EvalStr</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_GetVar</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_SetVar</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>opentk</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>close</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>findobj</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%s_set</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>%s_get</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_gcf</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_scf</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_GetVersion</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_UnsetVar</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_UnsetVar</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_ExistVar</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_UpVar</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_DeleteInterp</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_CreateSlave</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_ExistInterp</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>40</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>TCL_ExistArray</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
\ No newline at end of file
diff --git a/scilab/modules/time/sci_gateway/time_gateway.xml b/scilab/modules/time/sci_gateway/time_gateway.xml
new file mode 100644 (file)
index 0000000..0578d7c
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>48</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getdate</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>48</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>Calendar</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>48</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>timer</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>48</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>sleep</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>48</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>xpause</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>48</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>realtimeinit</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>48</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>realtime</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r
diff --git a/scilab/modules/wintools/sci_gateway/wintools_gateway.xml b/scilab/modules/wintools/sci_gateway/wintools_gateway.xml
new file mode 100644 (file)
index 0000000..8424f4d
--- /dev/null
@@ -0,0 +1,171 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!-- =================== -->\r
+<!--\r
+ Scilab \r
+ Allan CORNET\r
+ INRIA 2007\r
+ ===================\r
+ Don't edit if you aren't sure\r
+-->\r
+<!-- =================== -->\r
+<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">\r
+\r
+<GATEWAY>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>1</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>winopen</PRIMITIVE_NAME>\r
+</PRIMITIVE>   \r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>2</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>winqueryreg</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>3</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getlongpathname</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>4</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>getshortpathname</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>5</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ddeopen</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>6</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ddeclose</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>7</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ddeexec</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>8</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ddepoke</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>9</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ddereq</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>10</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ddeisopen</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>11</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>ClipBoard</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>12</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>hidetoolbar</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>13</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>toolbar</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>14</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>setlanguagemenu</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>15</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>console</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>16</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>about</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>17</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>mcisendstring</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>18</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>oemtochar</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>19</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>chartooem</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>20</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>printsetupbox</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>21</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>toprint</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>22</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>settextcolor</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>23</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>settextbackgroundcolor</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>24</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>filesassociationbox</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>25</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>dos</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+<PRIMITIVE>\r
+  <GATEWAY_ID>47</GATEWAY_ID>\r
+  <PRIMITIVE_ID>26</PRIMITIVE_ID>\r
+       <PRIMITIVE_NAME>findfileassociation</PRIMITIVE_NAME>\r
+</PRIMITIVE>\r
+\r
+</GATEWAY>\r