File: INSTALL

package info (click to toggle)
nyacc 1.09.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,540 kB
  • sloc: lisp: 34,985; sh: 682; makefile: 462; ansic: 279; javascript: 61; tcl: 27
file content (60 lines) | stat: -rw-r--r-- 1,307 bytes parent folder | download
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Install instructions for NYACC

Copyright (C) 2015-2020 Matthew Wette

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without any warranty.

This package depends on having GNU Guile version 2.0.13 or later. See

  https://www.gnu.org/software/guile/download/#releases

Use of the optional FFI Helper requires scheme-bytestructures.  See

  https://github.com/TaylanUB/scheme-bytestructures/releases

To configure:

  $ ./configure

or
  $ ./configure --prefix=/path/to/root

or
  $ ./configure --site_scm_dir=/path/to/dest --site_scm_go_dir=/dummy

Build .go files:

  $ make
  ...


You can run the tests:

  $ make check
  ...
  PASS: nyacc/lex-01: C char literals
  PASS: nyacc/lex-01: C strings
  ...


To install the parser generator, the c99 parser and the FFI helper

  $ make install
  ...


To install only sources in /path/to/dest:
  $ ./configure --site_scm_dir=/path/to/dest --site_scm_go_dir=/dummy
  $ make install-srcs

You must specify site_scm_go_dir to avoid use of `guile'.

To install the infant nx-languages (javascript, octave, tcl) type

  $ make install-nx-languages

The file HACKING has hints for modifying and trying code.