{"id":1159,"date":"2013-10-21T18:37:48","date_gmt":"2013-10-21T18:37:48","guid":{"rendered":"http:\/\/blog.filipesaraiva.info\/?p=1159"},"modified":"2013-10-24T20:24:30","modified_gmt":"2013-10-24T20:24:30","slug":"scilab-backend-for-cantor-is-reborn","status":"publish","type":"post","link":"https:\/\/filipe.saraiva.tec.br\/blog\/?p=1159","title":{"rendered":"Scilab backend for Cantor is reviving"},"content":{"rendered":"<p style=\"text-align: justify;\">Back to 2011 I was a GSoC student at Scilab community. My project was <a href=\"http:\/\/wiki.scilab.org\/Contributor%20-%20Scilab%20backend%20to%20Cantor\" target=\"_blank\">to create a backend for Scilab in Cantor<\/a>, the KDE mathematical software. My project ended very well and the objectives were accomplished. You can see several features of this project in <a href=\"http:\/\/blog.filipesaraiva.info\/?tag=gsoc2011-scilab-backend\" target=\"_blank\">reports<\/a> from my blog.<\/p>\n<p style=\"text-align: justify;\">The backend would be working with Scilab 5.4 because I implemented the standard streams support in Scilab. The backend was available in KDE 4.8, released in January 2012, but Scilab 5.4 was released in October 2012. Unfortunately, when this version of Scilab was released, the standard streams support were not working.<\/p>\n<p style=\"text-align: justify;\">Since this date I tried some times fix it but I did not obtained success.<\/p>\n<p style=\"text-align: justify;\">Therefore, <a href=\"http:\/\/www.scilab.org\/download\/5.5.0-beta-1\" target=\"_blank\">Scilab release a 5.5-beta1<\/a> version in begin of this October and I did a test with Cantor and&#8230; <em>voil\u00e1<\/em>! The standard streams is working now and the Cantor backend is working too!<\/p>\n<p style=\"text-align: justify;\">Now it is time to Scilab backend for Cantor revive! I am doing &#8220;nightly-builds&#8221; of Scilab to verify if the standard streams are working and I developed new features to the backend. Let me show them:<\/p>\n<h3 style=\"text-align: justify;\"><strong>Predefined functions and variables<\/strong><\/h3>\n<p style=\"text-align: justify;\">In the past Scilab backend had a <a href=\"https:\/\/projects.kde.org\/projects\/kde\/kdeedu\/cantor\/repository\/revisions\/master\/entry\/src\/backends\/scilab\/keywords.xml\" target=\"_blank\">giant-size XML file<\/a> listing all\u00a0predefined functions and variables. Now the backend run <a href=\"http:\/\/help.scilab.org\/docs\/5.4.1\/en_US\/getscilabkeywords.html\" target=\"_blank\">getscilabkeywords<\/a> command to get this information, used in tab-complete and syntax highlighting.<\/p>\n<h3 style=\"text-align: justify;\"><strong>Tab-Complete and Syntax Highlighting<br \/>\n<\/strong><\/h3>\n<p style=\"text-align: justify;\">These features were available in previous version of the backend to predefined functions and variables. Now user variables are too used in these features.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1160\" data-permalink=\"https:\/\/filipe.saraiva.tec.br\/blog\/?attachment_id=1160\" data-orig-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete.png\" data-orig-size=\"1366,737\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"scilab-backend-tab-complete\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-300x161.png\" data-large-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-1024x552.png\" class=\"aligncenter size-large wp-image-1160\" alt=\"scilab-backend-tab-complete\" src=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-1024x552.png\" width=\"698\" height=\"375\" srcset=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-1024x552.png 1024w, https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-300x161.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/a><em><\/em><\/p>\n<p style=\"text-align: center;\"><em>Tab-complete for predefined functions<\/em><\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-variable.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1161\" data-permalink=\"https:\/\/filipe.saraiva.tec.br\/blog\/?attachment_id=1161\" data-orig-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-variable.png\" data-orig-size=\"1366,737\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"scilab-backend-tab-complete-variable\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-variable-300x161.png\" data-large-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-variable-1024x552.png\" class=\"aligncenter size-large wp-image-1161\" alt=\"scilab-backend-tab-complete-variable\" src=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-variable-1024x552.png\" width=\"698\" height=\"375\" srcset=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-variable-1024x552.png 1024w, https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-tab-complete-variable-300x161.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/a><br \/>\n<em>Syntax highlighting and Tab-Complete for user variables<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2013\/10\/scilab-backend-syntax-highlithing.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1162\" data-permalink=\"https:\/\/filipe.saraiva.tec.br\/blog\/?attachment_id=1162\" data-orig-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-syntax-highlithing.png\" data-orig-size=\"1366,737\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"scilab-backend-syntax-highlithing\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-syntax-highlithing-300x161.png\" data-large-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-syntax-highlithing-1024x552.png\" class=\"aligncenter size-large wp-image-1162\" alt=\"scilab-backend-syntax-highlithing\" src=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2013\/10\/scilab-backend-syntax-highlithing-1024x552.png\" width=\"698\" height=\"375\" srcset=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-syntax-highlithing-1024x552.png 1024w, https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-syntax-highlithing-300x161.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/a><em><\/em><\/p>\n<p style=\"text-align: center;\"><em>Syntax highlighting<\/em><\/p>\n<h3 style=\"text-align: justify;\"><strong>Variable Management Panel<br \/>\n<\/strong><\/h3>\n<p style=\"text-align: justify;\">Scilab backend now have a preliminary variable management panel. All variable defined by user are showed in this panel.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2013\/10\/scilab-backend-variable-management-panel.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1163\" data-permalink=\"https:\/\/filipe.saraiva.tec.br\/blog\/?attachment_id=1163\" data-orig-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-variable-management-panel.png\" data-orig-size=\"310,648\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"scilab-backend-variable-management-panel\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-variable-management-panel-143x300.png\" data-large-file=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-variable-management-panel.png\" class=\"aligncenter size-full wp-image-1163\" alt=\"scilab-backend-variable-management-panel\" src=\"http:\/\/blog.filipesaraiva.info\/wp-content\/uploads\/2013\/10\/scilab-backend-variable-management-panel.png\" width=\"310\" height=\"648\" srcset=\"https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-variable-management-panel.png 310w, https:\/\/filipe.saraiva.tec.br\/blog\/wp-content\/uploads\/2013\/10\/scilab-backend-variable-management-panel-143x300.png 143w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/a><em>Variable Management panel<\/em><\/p>\n<p>With this feature the user can save and load variables, and clean the variable environment.<\/p>\n<p style=\"text-align: justify;\">But it is a preliminary version based in Octave variable management: the user must define the variable presenting it (you can not use &#8220;;&#8221;). So the label and value will be send to panel.<\/p>\n<h3><strong>Scilab backend\u00a0reviving in KDE 4.12<br \/>\n<\/strong><\/h3>\n<p>I am working for this new version of Scilab backend in KDE 4.12.<\/p>\n<p>But you can test it now: the code is hosted in scilab-backend branch from <a href=\"https:\/\/projects.kde.org\/projects\/kde\/kdeedu\/cantor\/repository\/\" target=\"_blank\">Cantor repository<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Back to 2011 I was a GSoC student at Scilab community. My project was to create a backend for Scilab in Cantor, the KDE mathematical software. My project ended very well and the objectives were accomplished. You can see several features of this project in reports from my blog. The backend would be working with&hellip;&nbsp;<a href=\"https:\/\/filipe.saraiva.tec.br\/blog\/?p=1159\" class=\"\" rel=\"bookmark\">Continue a ler &raquo;<span class=\"screen-reader-text\">Scilab backend for Cantor is reviving<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[58,11,26,51,41,52,55],"class_list":["post-1159","post","type-post","status-publish","format-standard","hentry","category-software-livre","tag-cantor","tag-desenvolvimento","tag-kde","tag-planet-mageia-english","tag-planeta-psl-pi","tag-planetkde-english","tag-scilab"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1p2Jh-iH","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1159"}],"version-history":[{"count":5,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1159\/revisions"}],"predecessor-version":[{"id":1170,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1159\/revisions\/1170"}],"wp:attachment":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}