Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37686025
en ru br
Репозитории ALT

Группа :: Разработка/ML
Пакет: ocaml-parsexp

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define libname parsexp
Name: ocaml-%libname
Version: 0.15.0
Release: alt1
Summary: S-expression parsing library for ocaml
Group: Development/ML
License: Apache-2.0
Url: https://github.com/janestreet/parsexp
Source0: %name-%version.tar
BuildRequires: dune >= 1.8
BuildRequires: ocaml-sexplib0-devel >= 0.14.0
BuildRequires: ocaml-base-devel >= 0.14.0
BuildRequires: rpm-build-ocaml >= 1.4

%description
This library provides generic parsers for parsing S-expressions from strings or
other medium.

The library is focused on performances but still provide full generic parsers
that can be used with strings, bigstrings, lexing buffers, character streams or
any other sources effortlessly.

It provides three different class of parsers:

   the normal parsers, producing [Sexp.t] or [Sexp.t list] values
   
   the parsers with positions, building compact position sequences so that one
   can recover original positions in order to report properly located errors at
   little cost
   
   the Concrete Syntax Tree parsers, produce values of type [Parsexp.Cst.t]
   which record the concrete layout of the s-expression syntax, including
   comments

%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR
Requires: ocaml-base-devel >= 0.14.0

%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.

%prep
%setup

%build
%dune_build -p %libname

%install
%dune_install
rm -rf %buildroot/usr/share/doc

%check
%dune_check

%files -f ocaml-files.runtime
%doc README.org CHANGES.md

%files devel -f ocaml-files.devel

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin