Для студентов МГУ им. Ломоносова по предмету Практикум по RSLРешённые задачиРешённые задачи 2019-09-18СтудИзба

Ответы: Решённые задачи

Описание

Описание файла отсутствует

Характеристики ответов (шпаргалок)

Учебное заведение
Семестр
Просмотров
37
Скачиваний
1
Размер
355,54 Kb

Список файлов

  • Прочти меня!!!.txt 136 b
  • Решённые задачи
  • Descript.ion 163 b
  • TESTING.RSL 10,93 Kb
  • task8
  • Library.cpp 30,85 Kb
  • algebr.rsl 5,08 Kb
  • explicit.rsl 3,64 Kb
  • implicit.rsl 2,72 Kb
  • test.rsl 9,46 Kb
  • taskX
  • Algebr.rsl 7,46 Kb
  • Explicit.rsl 7,68 Kb
  • Implicit.rsl 3,25 Kb
  • TEST.RSL 9,97 Kb
  • Программы
  • LICENSE.txt 963 b
  • README.rsl 5,49 Kb
  • README.txt 4,62 Kb
  • dos
  • cwsdpmi
  • cwsdpmi.exe 19,99 Kb
  • rsltc
  • Raise
  • RSL
  • Cwsdpmi.exe 19,99 Kb
  • rsltc.exe 1,41 Mb
  • gnu
  • emacs
  • _emacs 3,04 Kb
  • lisp
  • dos-term.el 4,78 Kb
  • rsltc.el 3,29 Kb
  • readme 4,03 Kb
  • rsl-mode.el 7,01 Kb
  • rsltc.el 7,88 Kb
Прочти меня!!!

Файл скачан с сайта StudIzba.com

При копировании или цитировании материалов на других сайтах обязательно используйте ссылку на источник

LICENSE

RSL Type Checker Version 1

Copyright (C) 1998 UNU/IIST

LICENSE

This program is free software; you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation; either version 2 of the License, or

(at your option) any later version.

You may obtain pre-built binaries or build the program yourself

from source. To build the program from source you will need to

obtain the Gentle Compiler Construction System, which you can

obtain from http://www.first.gmd.de/gentle. If you modify the

program and distribute such a modified version this has to be done

under the terms of the GNU General Public License.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

README

RSL Type Checker

Copyright (C) 1998 UNU/IIST

The RSL type checker is available free for both PC and Unix platforms.

See the LICENSE file for details of the license conditions.

Binaries for Windows, Dos, Linux, Sun OS (4.1.X) and Solaris can be

found in the appropriate sub-directory.

There is also a vcg directory containing the vcg graph drawing tool.

There is a Windows versions (you need both zip files) and a tar file

for building it for Unix or Linux. You can use vcg to display the

module dependencies of an RSL specification.

There is also a sml directory containing a self-extracting archive for

Standartd ML for Windows. SML for other architectures can be obtained

from http://cm.bell-labs.com/cm/cs/what/smlnj /. rsltc includes a

translator to SML.

Use

===

RSL modules (schemes or objects) should be placed in files with .rsl

extension, one module per file. If a module is called S then the file

name should be S.rsl. The windows/dos version does not care if the case

of the module name matches the case of the file name, so s.rsl is also

OK.

The type checker can then be run as a shell command

rsltc <options> S

or, in dos,

rsltc <options> s

Command line options

====================

none type check

-c type check plus confidence condition generation on current module

-cc type check plus confidence condition generation on all modules

-d parser (no type check) plus display of module dependencies

-p pretty-print with line length 60

-pl n pretty-print with line length n (must be at least 30)

-g generate vcg input file

-m generate SML input file

Use with emacs

==============

The emacs compile facility provides a very convenient interface to

rsltc, as you have the rsl file in one window and the output from the

tool in another.

emacs is not standard with windows so the windows version includes a

minimal version of GNU emacs from the DJGPP distribution

(http://www.delorie.com/djgpp/). If you already have emacs then just

get the rsltc.el and rsl-mode.el files from this directory and load them

from your .emacs file. You may need to change "rsltc" near the

beginning of rsltc.el to "path/rsltc" if you store the executable

rsltc other than on your standard path.

If you have Standard ML of New Jersey then you should include

(require 'sml-site)

in your .emacs file before you load rsl-mode.el. Then the option to

run SML on the output of the rsltc translation will be available in

the RSL menu.

When a .rsl file is open in emacs you can use M-x (Meta-key or Alt

with x, or Esc followed by x) rsltc to run the type checker, M-x rslpp

to run the pretty-printer, M-x rslgg to run vcg (provided vcg is

installed). emacs will start a second window to display output.

Errors and confidence conditions start with a "file:line:column"

string and clicking with the mouse button 2 on a line starting with

this string places the cursor at the relevant position in that file in

the first window.

Options for rsltc in emacs:

--------------------------

none type check

-c type check plus confidence condition generation on current module

-cc type check plus confidence condition generation on all modules

-d parser (no type check) plus display of module dependencies

-m generate SML input file

Options for rslpp:

-----------------

n line length (must be at least 30). Defaults to 60.

Options for rslgg: none

-----------------

These commands are also available in the RSL menu when visiting an RSL

file in emacs.

Contexts

========

A module S that uses other modules A and B needs to tell the type

checker that A and B are its context. The .rsl file for S will start

A, B

scheme S = ...

The type checker will check A and B (recursively including any modules

in their contexts) and then S. The order of A and B does not matter.

If B is also in the context of A then it does not matter if B is

included in the context of S or not.

The context illustrated above means that the type checker will look

for A.rsl and B.rsl in the same directory as S.rsl. Context files may

also be in other directories. References to them may use

absolute or relative paths, and Unix-style paths are used (so that RSL

files may be passed between Windows and Unix systems).

For example, suppose S.rsl is in /home/raise/rsl, and A.rsl is in

/home/raise/rsl/lower. Then the context reference to A in S.rsl may be

lower/A or

/home/raise/rsl/lower/A or even

../rsl/lower/A

Sources

=======

If you want to build rsltc for yourself, to run on another

architecture or to change it, you can find sources in the source

directory.

Картинка-подпись
Хочешь зарабатывать на СтудИзбе больше 10к рублей в месяц? Научу бесплатно!
Начать зарабатывать

Комментарии

Поделитесь ссылкой:
Рейтинг-
0
0
0
0
0
Поделитесь ссылкой:
Сопутствующие материалы
Свежие статьи
Популярно сейчас
А знаете ли Вы, что из года в год задания практически не меняются? Математика, преподаваемая в учебных заведениях, никак не менялась минимум 30 лет. Найдите нужный учебный материал на СтудИзбе!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
5166
Авторов
на СтудИзбе
437
Средний доход
с одного платного файла
Обучение Подробнее