arteymix / libyaml-glib Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rainwoodman/libyaml-glib
Building GObjects with YAML
This project forked from rainwoodman/libyaml-glib
Building GObjects with YAML
yaml-glib - Building GObject from YAML Introduction =========== yaml-glib is the GLib binding of libyaml, plus a GObject builder that understands YAML. Source ======= The source code is hosted at github: $ git clone git://github.com/fengy-research/libyaml-glib.git No released tarball is available currently. Dependencies ============ glib2 >= 2.10 GLib and GObject valac >= 0.7.2 Vala compiler libyaml == 0.1.2 YAML 1.1 parser built into the source tree, considering its current availability. Install ======= The header files and libraries of libyaml are also installed. 1. Direct install (on most distributions) $ ./autogen.sh --prefix=/usr $ make $ make install 2. Build RPM and install from the rpm $ ./autogen.sh $ make $ make dist The next step either requires your rpmdevtree is properly setup $ rpmbuild -ta yaml-glib-0.1.tar.gz Or you can build the rpm with `easybuild' (obtained from http://github.com/fengy-research/easybuild) $ easybuild -ba yaml-glib.spec And the built RPMs will be in the current directory: $ ls *.rpm yaml-glib-0.1-5.i386.rpm yaml-glib-debuginfo-0.1-5.i386.rpm yaml-glib-0.1-5.src.rpm yaml-glib-devel-0.1-5.i386.rpm Install the package with $ su -c 'rpm -U yaml-glib-0.1-5.i386.rpm \ yaml-glib-debuginfo-0.1-5.i386.rpm \ yaml-glib-devel-0.1-5.i386.rpm' Example ======= test/example-invoice.vala is an example of an invoice printer. Example data is in test/invoice.yaml. Feed the data to the standard input of example-invoice. The program will then parse and build the invoice, then rewrite the model back to standard output. Notice how PaypalAddress is extended to the original Model namespace, also how structs and enums are processed. The invoice data is modified from the standard YAML example. Documentation ============= The documenation can be compiled from valadoc, if a valadoc compiler is available. No documentation is installed. It is recommended to turn off the documentation with --disable-valadoc all the time until valadoc is stable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.