Update scilab_primitives.txt & scilab_macros.txt 55/19655/3
Samuel GOUGEON [Mon, 8 Jan 2018 22:55:20 +0000 (23:55 +0100)]
  // Primitives
  -------------
  // In the file but not in getscilabkeyword()(1):
  sp = mgetl("scilab_primitives.txt");
  p = getscilabkeywords();
  mprintf("%s\n", setdiff(sp,p(1)))
  // lsslist lstcat mgeti  are actually macros

  // In getscilabkeyword()(1) but not in scilab_primitives.txt
  mprintf("%s\n", setdiff(p(1),sp))  // => Final block commited here
  // minus control keywords (quit, exit, ..) and private internals.

  // Macros
  sm = mgetl("scilab_macros.txt");
  mprintf("%s\n", setdiff(sm,p(4)))
  // adj2sp, filter (are primitives. listed among them)

  mprintf("%s\n", setdiff(p(4), sm))

Change-Id: Id8ef5f1038bc8ab211c365614e3fc7964f2d7dbc

scilab/modules/helptools/data/configuration/scilab_macros.txt
scilab/modules/helptools/data/configuration/scilab_primitives.txt

index 41b7c1c..875fe7e 100644 (file)
@@ -458,7 +458,6 @@ erfinv
 %bicgstab
 %cgs
 %pcg
-adj2sp
 blkslv
 chfact
 chsolve
@@ -491,7 +490,6 @@ ffilt
 fft2
 fftshift
 filt_sinc
-filter
 find_freq
 findm
 frfit
@@ -1768,6 +1766,8 @@ get_file_path
 is_absolute_path
 listfiles
 ls
+lsslist
+lstcat
 mdelete
 mkdir
 rmdir
@@ -1847,6 +1847,7 @@ linspace
 log2
 logm
 logspace
+mgeti
 members
 meshgrid
 modulo
@@ -1905,3 +1906,22 @@ whos
 with_javasci
 with_macros_source
 with_tk
+createBorderFont
+createWindow
+linsolve
+lmisolver
+lqi
+numderivative
+parulacolormap
+powershell
+qpsolve
+scatter
+scatter3
+ss2zp
+tbx_make
+tf2zp
+zp2ss
+zp2tf
+zpk
+zpk2ss
+zpk2tf
index 07854da..769940c 100644 (file)
@@ -638,8 +638,6 @@ log1p
 lsq
 lsq_splin
 lsqrsolve
-lsslist
-lstcat
 ltitr
 lu
 ludel
@@ -663,7 +661,6 @@ merror
 messagebox
 mfscanf
 mget
-mgeti
 mgetl
 mgetstr
 min
@@ -978,3 +975,72 @@ zeros
 znaupd
 zneupd
 zoom_rect
+MPI_Bcast
+MPI_Comm_rank
+MPI_Comm_size
+MPI_Create_comm
+MPI_Finalize
+MPI_Get_processor_name
+MPI_Init
+MPI_Irecv
+MPI_Isend
+MPI_Recv
+MPI_Send
+MPI_Wait
+blkslvi
+browsehistory
+clc
+clear
+completion
+consolebox
+contour2dm
+covMerge
+covStart
+covStop
+covWrite
+createGUID
+datatipSetOrient
+dos
+filter
+findfileassociation
+fprintfMat
+getio
+getpid
+getsystemmetrics
+hdf5_file_version
+hdf5_is_file
+hdf5_listvar
+hdf5_load
+hdf5_save
+htmlDump
+htmlRead
+htmlReadStr
+htmlWrite
+istssession
+jcompile
+mcisendstring
+mfprintf
+mprintf
+msprintf
+mucomp
+oldEmptyBehaviour
+print
+printf
+printfigure
+printsetupbox
+pwd
+recursionlimit
+scicosDiagramToScilab
+scicos_log
+scicos_new
+scicos_setfield
+slint
+spcompack
+sprintf
+toprint
+what
+who
+win64
+winopen
+winqueryreg
+xcosUpdateBlock
\ No newline at end of file