GNOME Bugzilla – Bug 630404
Inclusion of the Scilab lang file
Last modified: 2010-11-29 17:54:19 UTC
Created attachment 170897 [details] Scilab lang Could you consider the inclusion of the Scilab lang file. This is the work of Florent Cadoux. Let me know if you need any fix/improvements. Thanks.
This lang file seems to use the old format, you would have to port it to the new format if you want it included upstream. Also we would like to know if the author is ok by having it included. And finally the copyright header is missing in the file.
OK, sorry about the wrong format.
Created attachment 170926 [details] [review] Updated Scilab management Here is the updated file. I took the Octave language definition and adapted for Scilab.
Review of attachment 170926 [details] [review]: Apart from the comments the file looks good. Could you also provide an example of no more than 10 lines to add to our test cases? ::: data/language-specs/scilab.lang @@ +3,3 @@ + + This file is part of GtkSourceView. + This file is a modification of the octave.lang adapted for the Scilab language all languages are copy pasted from other so no need to add this header. and the lang file isn't similar to the octave one. @@ +27,3 @@ +<language id="scilab" _name="Scilab" version="2.0" _section="Scientific"> + <metadata> + <property name="mimetypes">text/x-scilab</property> does this mime type exists or you added without knowing that you can remove it?
Created attachment 171179 [details] [review] Updated Scilab management v3 Here is the updated file.
Created attachment 171180 [details] Scilab test case By the way, I don't know why some keywords starting with % are not taken in account ? %t, %pi, etc
Ping?
ups sorry, I totally forgot about it. I'll check today or tomorrow.
Review of attachment 171179 [details] [review]: looks good.
can you provide a test case lgpl? this means one made by you that we can add to our test cases.
Created attachment 175454 [details] Scilab test case v2 Here it is as LGPL
Pushed a patch with the lang, and the test. Thanks a lot for it.