Refal-5 Version ПѮ

26 views
Skip to first unread message

Andrei Nemytykh nemytykh_AT_gmail.com

unread,
Sep 18, 2023, 12:26:36 PM9/18/23
to re...@botik.ru, Andrei P. Nemytykh
Hello, Everybody!

Here
http://www.botik.ru/pub/local/scp/refal5/
you are welcome to find and download a new Refal-5 Version called Version ПѮ .
This version does work, for the moment, only in the environment of the operating system Linux x86_64.
------------

 The main CONTRIBUTOR of the Version ПѮ is
 
       Mikhail Terjukha,
 
 a student of Bauman Moscow  State Technical University,
 originally named "Московское Императорское техническое училище", 
 later - МВТУ (в СССР), founded in 1868.
 
   -- A number of old errors were corrected. Many thanks to Alexandr V. Konovalov 
     for the bug tests!
     What is more, he had corrected one of the errors by himself. Thanks once again!
     We are grateful to Alexandr Konovalov and Antonina Nepeivoda for very fruitful 
     discussions on development and implementation
     these versions of both the Refal-5 language and the Refal-5 system.  

  -- This version was ported to the environment of the operating system Linux x86_64, it is, 
      for the moment, not supported under Windows.
 
  -- Syntax of Refal-5 has been extended with the unicode characters that is:
                    -- the unicode character set is now a subset of the Refal-5 data;
                    -- the program syntax is extended as well;
                    -- the domains of some of built-in functions are extended;
                    -- the domains of some of Refal library functions are extended (see reflib.ref);
                    -- a number of new both built-in and library functions were created.
                --- A short documentation on the extensions is prepared in a separate pdf-file.

     Это означает, что синтаксис данных поддерживает не только Кириллицу, но и глаголицу, и китайские иероглифы, и арабскую вязь, и т.д.
     Все это при условии правильной установки локали в вашей операционной системе, а именно, по-умолчанию должна использоваться
     кодировка utf-8; кроме того, чтобы (пока) некоторые Рефал программы общались с пользователем по-русски по-умолчанию
     значение переменной окружения LANG должно отождествляться с образцом: 'ru_' s.R s.U '.UTF-8'.
     Если при запуске компилятора refc приходит сообщение Version ПѮ, то это означает, что все параметры локали установлены правильно,
     иначе refc сообщит о Version PZ.


     In the case the local in the operating system Linux x86_64 was installed as following,
     the environment variable LANG is 'ru_' s.R s.U '.UTF-8' (i.e. Russian and utf-8 encoding),
     then the Refal-5 version is specified as Version ПѮ and some of programs included 
     in the distributive will contact to users, using Russian.
                   
  -- A number of new switches/options to run both the Refal-5 compiler ( refc ) 
     and the interpreter Refal-5 ( refgo ) are present.
     See the options with launching
     linux> refc --help
     linux> refgo --help
     
  -- A number of other students of the same University took part in further development of the Refal-5 system.
 
     Many thanks to both the students and their university instructors!
     The university instructors are Alexandr V. Konovalov and Antonina N. Nepejvoda.
     
     We hope the further development done by the students 
     will be soon incorporated in the Refal-5 system as well.
     
The best regards,    
Andrei Nemytykh
     

Andrei P. Nemytykh nemytykh_AT_math.botik.ru

unread,
Sep 24, 2025, 11:57:12 AM (13 days ago) Sep 24
to re...@botik.ru, Andrei Nemytykh
you are welcome to find the executable modules of  the Refal-5 Version ПѮ ported in Windows-10.
-----------

 -- A number of errors have been rectified.
  -- Despite this version of the system Refal-5 has been developed by means of
     porting Version ПѮ 20.12.2023 from OS Linux into
     OS Windows x86_64 (Microsoft Windows [Version 10.0.26100.4946])
     it is a bit extended as compared with the Version ПѮ 20.12.2023
     but still is not ported back to OS Linux.

The main CONTRIBUTOR of this Version ПѮ is
 
       Mikhail Terjukha (Михаил Терюха).
 
   -- A number of errors were corrected.
      We are grateful to Alexandr Konovalov and Antonina Nepeivoda for very fruitful
      discussions on development and implementation of this version of the Refal-5 system.
      Alexandr Konovalov also provided a number of very important hints for future users.
      The tips were inserted in the pdf-informal documentation.  
     
   -- The Refal-5 system is a console application.
      The active code page of the console should be set as 65001, i.e. the utf-8 encoding.
      See help\Refal-5_Win10_x86_64_documentation-11-09-2025.pdf for additional comments.

      При условии правильной установки кодовой страницы вашей консоли, чтобы (пока) некоторые Рефал программы общались
      с пользователем по-русски, вторая строка языковых установок вашей операционной системы
      должна отождествляться с образцом: 'ru-' s.R s.U ' ' e.info.
      Список строк установленных языковых настроек можно посмотреть с помощью команды
      Windows_cmd> PowerShell -Command "& {Get-InstalledLanguage}"
      Первой строкой, обычно, в этом списке идет строка начинающаяся с приставки: en-US
      Если при запуске компилятора refc приходит сообщение Version ПѮ, то это означает, что все языковые настройки установлены правильно,
      иначе refc сообщит о Version PZ. (См. также pdf-версию документации о возможных проблемах, связанных с шрифтом консоли.)
     
   -- All Refal-5 program sources should be written using the utf-8 encoding.
      In particular, make sure that both Refal-5 sources using unicode symbols and input to the utilities -- crefal.ref, prefal.ref and so on
      are written in the utf-8 encoding.
 
                --- A short documentation on this Refal-5 version is distributed in a separate pdf-file.
                    The pdf-documentation extends the one given in the txt-file that is now read by users.
                --- The list of basic encodings has been extended with utf-16le and utf-16be,
                    which can be used by the corresponding built-in functions for reading/writing from/to streams,
                    excluding the standard streams: stdin, stdout, stderr and so on.
                --- The file-system concepts that are presented in OS Windows by means of the utf-16le encoding are to be seen
                    by users developing a Refal-5 program as standard strings including unicode symbols given in the utf8 encoding.
                    The concepts include paths, file names, values of environment variables and arguments of the cmd commands called from
                    the console used.
                --- The preprocessor refpp.ref has been extended. Now users may write any natural number, using the decimal system.
                    I.e. the lengths of the numbers are not uniformly bounded.
                    Given such a number written in a file, the preprocessor transforms it to the corresponding sequence of macro-digits.
                    For example, the following decimal digit sequence
                    #/0012345678901234567890123456789012345678901234567890/ will be transformed to the following macro-digit sequence
                    36280689513 12319663444204090490 17926562471779175122 represented the decimal description in the 2^64-base system.
                    The pair of the "brackets" #/ and / above embracing the digit sequence to be transformed by the preprocessor.
                    Many thanks to Alexandr Konovalov who proposed such an extension of refpp.ref!
                   
      In the case the locale in the operating system Windows x86_64 was installed as following,
      the installed languages are described with a list of strings produced by the console command
      Windows_cmd> PowerShell -Command "& {Get-InstalledLanguage}"
      and the second line in the list may be matched with the partten: 'ru-' s.R s.U ' ' e.info,
      the first line, as a rule, starts with the prefix: en-US,
      (while the active console code-page is set as 65001, i.e. utf-8 encoding),

      then the Refal-5 version is specified as Version ПѮ and some of programs included
      in the distributive will contact to users, using Russian.
Reply all
Reply to author
Forward
0 new messages