]>
Commit | Line | Data |
---|---|---|
e8a94b3b | 1 | Summary: CDL3 System - compiler |
40f7395a | 2 | Summary(pl.UTF-8): Kompilator systemu CDL3 |
e8a94b3b | 3 | Name: cdl3 |
4 | Version: 1.2.3 | |
d4f20880 | 5 | Release: 1 |
e8a94b3b | 6 | License: GPL |
7 | Group: Development/Languages | |
8 | Source0: ftp://ftp.cs.kun.nl/pub/cdl3/%{name}-%{version}.tar.gz | |
b3d4af5b | 9 | # Source0-md5: 60b7a5fed2ac27f4dfe90ff9ae292bce |
e8a94b3b | 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 | |
3674266d JB |
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. | |
e8a94b3b | 29 | |
40f7395a JR |
30 | %description -l pl.UTF-8 |
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ń. | |
e8a94b3b | 44 | |
45 | %prep | |
46 | %setup -q | |
56336e25 | 47 | %patch0 -p1 |
e8a94b3b | 48 | |
49 | %build | |
b6b4ba8e | 50 | cp -f /usr/share/automake/config.sub . |
e8a94b3b | 51 | %{__libtoolize} |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
3674266d | 54 | %{__automake} |
e8a94b3b | 55 | %configure |
56 | ||
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
56336e25 | 61 | |
e7394212 PG |
62 | %{__make} install \ |
63 | DESTDIR=$RPM_BUILD_ROOT | |
e8a94b3b | 64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post | |
69 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
70 | ||
71 | %postun | |
72 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
56336e25 | 76 | %doc AUTHORS ChangeLog NEWS README TODO docs/*.ps docs/*.k3 |
a637aa3d | 77 | %attr(755,root,root) %{_bindir}/* |
78 | %{_includedir}/* | |
56336e25 JB |
79 | %{_libdir}/lib*.a |
80 | %{_libdir}/lib*.la | |
81 | %{_mandir}/man[13n]/* |