dlang-community / Pegged

A Parsing Expression Grammar (PEG) module, using the D programming language.
533 stars 66 forks source link

Examples uses dub #288

Closed Zardoz89 closed 4 years ago

Zardoz89 commented 4 years ago

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.

veelo commented 4 years ago

Nice work!