Incomplete libxml2/gumbo-libxml bindings for Guile Scheme
Go to file
Skylar "The Cobra" Widulski 1c3ff42fa4
Copyright update
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2024-01-03 10:09:18 -05:00
gumbo-libxml@97a968a989 Add submodule 2023-12-16 11:34:49 -05:00
.gitmodules Move libxml2.scm to its own repo 2023-12-16 11:32:26 -05:00
LICENSE Licensing 2023-12-16 11:42:24 -05:00
README.md Update README 2023-12-16 11:40:27 -05:00
libxml2.scm Copyright update 2024-01-03 10:09:18 -05:00

README.md

guile-libxml2

guile-libxml2 is a small binding library for Guile Scheme. I strongly recommend you do not use this in your own project, because it is nowhere near complete, and likely will never be. It only really exists for my front-ends.

Building gumbo-libxml

Dependencies

You need libxml2, libgumbo, and gumbo-libxml installed.

Because gumbo-libxml is not in many (any?) distro repositories, You have to build it from source. This repo has a submodule containing the source code. Instructions on how to build it are within the "Running" section below. To compile gumbo-libxml, you also need general build utilities like make, autoconf, and gcc.

Instructions

  1. cd into gumbo-libxml
  2. Run the following
$ ./autogen.sh
$ ./configure
$ make

Environment

LIBXML2_LOCATION - Path to libxml2.so (default libxml2, which checks LD_LIBRARY_PATH).

GUMBO_LIBXML_LOCATION - Path to libgumbo_xml.so (default ./gumbo-libxml/.libs/libgumbo_xml.so, can be edited to libgumbo_xml, which does the same thing as libxml2 in LIBXML2_LOCATION)