Refal-SciTE

refscite.jpg (8016 bytes)

          

    (download)                 

  
 

 

REFAL-SCITE:

Integrated cover

for program developing in the INTRANET-environment

 

Leonid Belous

Licenses

10-06-2003

    

This work is a logic extention of author's works on Refal-PHP System developing [1] (http://www.refal.net/~belous/). A grafical interface for Refal is proposed on the base of popular syntactical editor SciTE.

1. What is SciTE?

It won't be overstatement to say that recently developed textual editor SciTE (Scintilla Text Editor, http://www.scintilla.org/SciTE.html ) is conquering deserved admission on the basis of its positive qualities. This Open Source developed Internet-project (author - Neil Hodgson) involved by now in its orbit almost a hundred of   voluntary assistants.

Fundamental advantages of SciTE:

    • quick-acting and compact (located at one floppy-disk),
    • cross-platform implementation (Windows+Unix+MAC),
    • syntactical understanding practically of all well-known programming languages, side by side with HTML, XML, SQL and other specific texts,
    • universal tunings,
    • font size efficient control (without any unnecessary “crawling” all over menu).

SciTE has one more important peculiarity, which reduces it to the integration tool of systems based on quite different languages. Namely, there is provided the possibility of a command menu to be organize, including calls of that systems, which you are operating with, and there is provided a window to organize a dialogue with the system to be called. It's possible to control the form and characteristics of this window with the help of universal tunings.

2. What is Refal-SciTE?

This is the compact system, including SciTE with built-in Refal-5 System. In spite of universal tunings provided by SciTE, for the full taking into account the specific character of Refal language and system a correction of avaliable modules and lexical analyzer programming in C++ had been required.

General view of the appearance of Refal-Scite is given by followng screenshort with Refal-program at the moment of error message output. 

3. Operating with Refal-SciTE in INTRANET-environment

The Refal-SciTE installation procedure propose variants from minimal configuration (SciTE+Refal) to complete one (SciTE+Refal+PHP+MySQL+Apache). In the last case all necessary means are available to develop and debug efficiently your programs with web technology use.

For instance, after running Refal-PHP System is documented by interactive manual with embedded “alive” examples, and from web technological view this documentation is a site, supported by Apache server. You can edit web-pages of this site, including examples, and supervise immediately the results of this editing in local INTRANET-environment.

There are no any principal restrictions on application of this technology in global INTERNET-environment also, except the maintenance of intensified security precotions. In this case the careful tuning of PHP+MySQL+Apache is required, which is done usually by INTERNET-providers at their server nodes.

Moreover you are not limited by only Refal and PHP languages in using of web technologies, as it can come in the first sight. Because of SciTE, you have available all programming languages practically (about 40 by now). It means, that if you have installed corresponding implementation for given language and have managed to tune it correctly, then SciTE will provide you with syntax support, compiling errors processing and a dialog in time of program executing. For example, nobody can prevent you from working with HTML, XML, SQL, Java, Ada, Pascal, Fortran.

Refal-SciTE System and its components are free available.

4. Distribution and installation Refal-SciTE System

  • Download and run self-extracting archives with installation procedure (Refal-SciTE-<version>-win32-install.exe ). Procedure is usual, asked questions are the same: consent with license, permittion to locate icons, choice of directory for installation.
  • Start the installed application by Run” -> “Programs” -> “Refal-SciTE” -> “RS-Start” (icon with white letter “R” on red background).
  • SciTE editor window will appear with automatically called test example (example112.ref – palindrome). You can execute it immediately, pressing F5 (or acting via menu “Service -> Execute” ). The program will be compiled and executed, the results will be demonstrated in right window, which is closed at first.
  • If Refal-program has syntactical errors, then red colour messages about them are put out in the right window. Pressing on F4 (or acting via menu "Service -> Next Message") results in colouring yellow both of current error message and of corresponding line of sourse text in the left window.

Interface is rather usual, intuitively clear and doesn't require special explanation, but author's purpose includes, exept available full SciTE documenlation for user, to give the brief description of such opportunities as text editing and work with Refal-System (Russian and English versions), taking into consideration Refal language specyfic. This documentation will be called by pressing on F1 key (Help).

 

BIBLOGRAPHY:

1. Áåëîóñ Ë.Ô. Refal-PHP: Óíèâåðñàëüíûé èíñòðóìåíò Èíòåðíåò-òåõíîëîãèé // Òåç. äîêë. Âñåðîññèéñêîé íàó÷íîé êîíôåðåíöèè “Íàó÷íûé ñåðâèñ â ñåòè Èíòåðíåò”, ã.Íîâîðîññèéñê, 23-28 ñåíòÿáðÿ 2002 ã. – ñ.44-47.

   
 

Licenses

 

1. License for Refal

Copyright 1989-2004 by Valentin Turchin <vturchin@bellatlantic.net>

All Rights Reserved

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.

VALENTIN TURCHIN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL VALENTIN TURCHIN BE LIABLE FOR ANY
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
OR PERFORMANCE OF THIS SOFTWARE.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

2. License for Scintilla and SciTE

Copyright 1998-2004 by Neil Hodgson <neilh@scintilla.org>

All Rights Reserved

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.

NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
OR PERFORMANCE OF THIS SOFTWARE.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

3. License for Refal-SciTE *

Copyright 2003-2004 by Leonid Belous <belous@ilt.kharkov.ua>

All Rights Reserved

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.

LEONID BELOUS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL LEONID BELOUS BE LIABLE FOR ANY
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
OR PERFORMANCE OF THIS SOFTWARE.

* The scope of this license is for LexRefal.cxx, some (documented)
changes in other Scintilla+Scite modules and properties files for Refal.

 

Home

 
 

 

 
 

Have you successes with Refal-SciTE!