Skip to content

lshqqytiger/Sorrygle-cpp

Repository files navigation

Sorrygle-cpp

C++ Compiler for Sorrygle. (Works with limited grammars)

Usage

sorrygle_compiler.exe filename.srg

Notes

  • It has only been tested on Windows and may not work in UNIX operating systems.

Grammar

⭕: Supported ⚠️: Partially supported ❌: Not supported

Notation Name
((bpm=ⓘ)) BPM configuration
((fermata=ⓝ)) Fermata configuration
((time-sig=ⓘ/ⓘ)) Time signature configuration
#ⓘ Channel declaration
(o=ⓘ) Default octave
(p=ⓘ) Instrument
(q=ⓓ) Quantization
(s=ⓘ) Sustain pedal
(t=ⓘ) Transpose
(v=ⓘ) Volume
cdefgab Note
CDFGA Sharp note
렢밒솚랖싶 Flat note
_ Rest
+ Semitone up
- Semitone down
~ Tie
[ceg] Chord
[|ceg] Arpeggio
^c Octave up
vc Octave down
(^ceg) Ranged octave up
(vceg) Ranged octave down
(3ceg) Triplet
(5cdefg) Quintuplet
(7cdefgab) Septuplet
(scdef) Ranged sustain pedal
[>ga]b Appoggiatura
[[c~~~|efga]] Parallelization
<.c> Staccato
<~c> Fermata
<!c> Sforzando
<tc> Trill
<+cegⓘ> Crescendo
<-gecⓘ> Decrescendo ⚠️
<p(ⓝ)c~(ⓝ)~~(ⓝ)> Pitch bend
|: Open repeat
:|ⓘ Close repeat
/1 Prima volta
/2 Seconda volta
{ⓘceg} Group declaration
{=ⓘ} Group reference ⚠️
=/ Head comment
/= Tail comment

Dependencies

License

MIT License

Copyright (c) 2022 이승훈

About

LL(1) Parser for Sorrygle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages