Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.16 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.16 KB

PoC: Logic in Gregorio scores

This repository contains a proof of concept related to the discussion (1, 2) about possible introduction of logic constructs in the gabc chant notation language. It demonstrates that functionality like conditional use of a part of a score or inclusion of another file's contents is readily available from existing tools, e.g. the C preprocessor, and there is no need to add such capabilities to the gabc language itself.

Building

Run make to build the example LaTeX document.

How it works

Makefile orchestrates the build:

  • .gabc.cpp files contain gabc code and C preprocessor directives
  • cpp (the C preprocessor) processes the directives, producing .gabc files with pure gabc code (more than one different .gabc files may be produced from a single .gabc.cpp file, depending on its contents)
  • the .gabc scores are included in the LaTeX document as usual