]> git.pld-linux.org Git - packages/cdl3.git/blob - cdl3.spec
- many small fixes, inspired by kloczek
[packages/cdl3.git] / cdl3.spec
1 Summary:        CDL3 System - compiler
2 Summary(pl):    Kompilator systemu CDL3
3 Name:           cdl3
4 Version:        1.2.3
5 Release:        0.1
6 License:        GPL
7 Group:          Development/Languages
8 Source0:        ftp://ftp.cs.kun.nl/pub/cdl3/%{name}-%{version}.tar.gz
9 # Source0-md5:  60b7a5fed2ac27f4dfe90ff9ae292bce
10 Patch0:         %{name}-acam.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 CDL3 is an implementation language based on affix grammars. It rides
18 the borderline between syntactic formalism and programming language,
19 and tries to combine the good properties of both. The control
20 structure and data structures have been choosen such that it is
21 extremely easy to write deterministic parsers and transducers in CDL3.
22 In this sense, CDL3 is a Compiler Description Language (hence the
23 acronym). Its applicability is, however, not limited to compiler
24 construction. The language is wellsuited, more in general, for all
25 applications that can be characterized as syntax-directed:
26 communication between processes (human and machine) adhering to
27 well-established protocols, or interpreter-like systems, interactively
28 obeying a set of commands.
29
30 %description -l pl
31 CDL3 to jêzyk implementacyjny oparty na gramatykach affiksowych.
32 Przekracza granicê pomiêdzy formalizmem sk³adniowym a jêzykiem
33 programowania i próbuje po³±czyæ dobre cechy obu rzeczy. Struktura
34 steruj±ca i struktury danych zosta³y tak dobrane, aby by³o bardzo
35 ³atwo pisaæ w CDL3 deterministyczne analizatory i translatory. W tym
36 sensie CDL3 jest jêzykiem opisu kompilatorów (Compiler Description
37 Language - st±d akronim). Jego zastosowanie nie jest jednak
38 ograniczone do konstruowania kompilatorów. Jêzyk jest dobrze
39 dopasowany, bardziej ogólnie, do wszystkich zastosowañ, które mo¿na
40 scharakteryzowaæ jako zorientowane na sk³adniê: komunikacji miêdzy
41 procesami (cz³owiekiem i maszyn±) zgodnie z dobrze ustalonymi
42 protoko³ami lub systemy w stylu interpreterów, interaktywnie reaguj±ce
43 na zestaw poleceñ.
44
45 %prep
46 %setup -q
47 %patch0 -p 1
48
49 %build
50 rm -f missing
51 %{__libtoolize}
52 %{__aclocal}
53 %{__autoconf}
54 %{__automake}
55 %configure
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post
68 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
69
70 %postun
71 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
72
73 %files
74 %defattr(644,root,root,755)
This page took 0.061296 seconds and 4 git commands to generate.