wrap_tidy
is an Eiffel binding of libtidy API
using WrapC tool.
libtidy is a C static and dynamic library that developers can integrate into heir applications in order to bring all of Tidy’s power to your favorite tools. libtidy is used today in desktop applications, web servers, and more.
- WrapC tool.
- libtidy C API
- To learn more about HTML tidy check the following site http://www.html-tidy.org/
Using vcpkg (https://github.com/microsoft/vcpkg) tool, you can install libtidy library
vcpkg install tidy-html5
Copy headers to /usr/local/include
and the library to
/usr/local/lib
Using vcpkg (https://github.com/microsoft/vcpkg) tool, you can install libtidy library
vcpkg install tidy-html5:x64-windows-static
Then copy the file tidys.lib
to %LIBRARY_PATH%wrap_library/library/C/lib
Where %LIBRARY_PATH%
is where you clone/download wrap_tidy
source code.
Work in progress.
Before to use the examples you will need to compile the C glue code, go to
library/generated_wrapper/c/src
and run
finish_freezing --library
It will copy the C lib eif_tidy.a
to $ECF_CONFIG_PATH/C/spec/$(ISE_PLATFORM)/lib/
or eif_tidy.lib
to $ECF_CONFIG_PATH/C/spec/$ISE_C_COMPILER/$ISE_PLATFORM/lib