Debian Codegraph @

engine/README

raw
1 # Copyright 2022 Jeffrey Kegler
2 # This file is part of Marpa::R2. Marpa::R2 is free software: you can
3 # redistribute it and/or modify it under the terms of the GNU Lesser
4 # General Public License as published by the Free Software Foundation,
5 # either version 3 of the License, or (at your option) any later version.
6 #
7 # Marpa::R2 is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 # Lesser General Public License for more details.
11 #
12 # You should have received a copy of the GNU Lesser
13 # General Public License along with Marpa::R2. If not, see
14 # http://www.gnu.org/licenses/.
15
16 This directory contains the Libmarpa code used in the basic installation
17 method, the one supported by the CPAN infrasture. It also contains
18 documents describing alternative ways of using Libmarpa -- external
19 static libraries and external shared libraries.
20
21 The code in the "engine" subdirectory should *NOT* be used for building
22 a separate Libmarpa. It is specifically targeted at the needs of Perl
23 builds, and may contain specials kludges and hacks.
24
25 If you want to build your own separate Libmarpa, build a distribution, or
26 build a distribution tar file, from Libmarpa's repository. Instructions
27 on how to build distribution directories and tar files are in the INSTALL
28 file at the top level of the repository. Libmarpa's repository is here:
29 https://github.com/jeffreykegler/libmarpa
30
31 As an advanced technique, Marpa::R2 can be linked with external static
32 or shared Libmarpa libraries. Use of external Libmapra libraries is
33 *NOT* supported by the CPAN infrastructure, which does not deal well
34 with non-Perl dependencies.
35
36 For more on linking with an external static library, see the STATIC file
37 in this directory. For more on linking with an external shared library,
38 see the SHARED file in this directory.