summaryrefslogtreecommitdiff
path: root/README
blob: b3a67b43ac5c13553b2dd3fd8f873a1ce6c5880e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
ZUBR (Parser Generator)
=======================

ZUBR  is an LALR(1) parser generator.  It reads a grammar specification
and produces C parser source.  Input and output text files use UTF-8; text
is represented internally by ZUBR as UCS-2 through LibMPUIO.

For more information please read the doc/zubr.md file.


Developer bootstrap
-------------------

A Git checkout may omit files that are regenerated mechanically, including
`configure`, `Makefile.in`, Automake helper scripts, `config.h.in`, `aclocal.m4`.
Regenerate them with:

  ./bootstrap

`./bootstrap --target-dest-dir=DIR` follows the ZUBR convention for using
Autoconf macro/header directories from a target ROOTFS.  Release archives
remain self-contained and do not require bootstrap before `configure`.


Build
-----

ZUBR uses Autoconf/Automake and obtains LibMPUIO compilation and linker
flags from `mpuio-config`, following the conventions of LibMPU and LibMPUIO.
No pkg-config or flex dependency is introduced.

A normal build is:

  ./configure --prefix=/usr --libdir=/usr/lib64
  make
  make install

Enjoy.