Coder Social home page Coder Social logo

pombredanne / libheracles Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.22 MB

An augeas lens parser fork to allow straight access to the basic parser functions.

License: GNU Lesser General Public License v3.0

Shell 0.47% Augeas 40.81% Python 3.94% C 54.78%

libheracles's Introduction

libHeracles

A lens parser C library. Forked from Augeas to allow direct access to the parser functions.

It is built with the idea in mind to make a python augeas lens parser files that is implemented in the heracles project, all tests are built in it and the best way to know how it works is in it's code.

Status

libheracles is now in alpha, so you can play with it but it's use in production is completely discouraged.

How it works

The library is mainly focused to be the foundations of an implementation in another language so it only provides basic functios, the rest is left to the user to implement it.

  • hera_init inits a simplified version of the augeas core that mainly loads lens modules.
  • hera_get parses a string in form of char pointer and returns a tree.
  • hera_put put parses a tree and returns a char pointer built from values.
  • hera_close function frees the loaded modules and other core stuff.

Lenses

It comes with all the lens files of the augeas project but they are installed in another directory so they don't collide.

How to install

To build the project you have to run ./configure and make and make install as root user. More information in the INSTALL document.

If you are building from the repository you have to run ./autogen.sh first and then make and make install. It requires to have autoconf, automake, libtool and git installed.

libheracles's People

Contributors

llou avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.