Examples are now using dub to allow launch his tests with dub test. Additionally, some examples are shared as dub subpackages, so these example grammars could be used by Pegged users.
Arithmetic example renamed to simple_arithmetic.
CI testing now launches dub test over every example, except on "C" example, as this example fails to compile.
Added two new examples :
Arithmetic : With a shared reusable parsing funcion that allows to use a variable associative array and D Lang template argument, so the arithmetic expression could generate integer or floats results.
Composition : A example using Pegged grammar composition. Taken from wiki examples.
CI on appveyor (windows) now uses latest dub version, that is included with DMD and LDC . Also, small teaks on CI to reduce some noise and allow to catch and show the core dump on travis, when fails.
Make some progress to resolve issues #55 and #161
Examples are now using dub to allow launch his tests with
dub test
. Additionally, some examples are shared as dub subpackages, so these example grammars could be used by Pegged users.Arithmetic example renamed to simple_arithmetic.
CI testing now launches
dub test
over every example, except on "C" example, as this example fails to compile.Added two new examples :
CI on appveyor (windows) now uses latest dub version, that is included with DMD and LDC . Also, small teaks on CI to reduce some noise and allow to catch and show the core dump on travis, when fails.