Popularity
2.1
Declining
Activity
0.0
Stable
3
2
1
Programming language: Crystal
License: MIT License
Tags:
Low Level Bindings
Latest version: v0.1.5
gumbo-crystal alternatives and similar shards
Based on the "Low level bindings" category.
Alternatively, view gumbo-crystal alternatives based on common mentions on social networks and blogs.
-
magickwand-crystal
Crystal C bindings for MagickWand library -
posix
POSIX/C bindings generator for the Crystal programming language -
termbox-crystal
Bindings, wrapper, and utilities for termbox (terminal interface library) in Crystal -
java.cr
Java Native Interface (JNI) bindings (and generator) for Crystal -
wkhtmltopdf-crystal
Crystal C bindings and wrapper for libwkhtmltox library -
serialport.cr
Crystal bindings for libserialport: cross-platform library for accessing serial ports. -
crystal-liblmdb
Crystal language bindings for the Symas LMDB database -
crystal-libpcap
Crystal bindings for libpcap - experimental
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
Do you think we are missing an alternative of gumbo-crystal or a related project?
README
gumbo-crystal - PROJECT UNMAINTAINED 
This project is not maintained anymore
If you like it or continue to use it fork it please.
Crystal C bindings for Gumbo library, an HTML5 parsing library made by Google - see gumbo-parser
NOTE: actually not all functions are mapped - if you find something missing contact me
Requirements
- gumbo must be installed - see installation
- pkg-config must be available
Installation
Add this to your application's shard.yml
:
dependencies:
gumbo-crystal:
github: blocknotes/gumbo-crystal
Usage
Wrapper access:
require "gumbo-crystal"
output = Gumbo::Output.new LibGumbo.gumbo_parse "<h1>A test</h1>" # wrapper init
p output.root.type
output.uninitialize # wrapper deinit
Direct lib access:
require "gumbo-crystal"
output = LibGumbo.gumbo_parse "<h1>A test</h1>" # lib init
p output.value.root.value.type
LibGumbo.gumbo_destroy_output Gumbo::DefaultOptions, output # lib deinit
More examples
See examples folder.
Contributors
- Mattia Roccoberton - creator, maintainer, Crystal fan :)