Skip to content

igneus/gregorio_logic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

example of using simple logic in Gregorio code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published