Schenglish
schenglish (scheduling english) is a domain specific language for scheduling the timing of events. It is a subset of English that can do only one thing: calculate the temporal relationship of events to a timeline, or to other events. Schenglish is written in short, simple, non-compound sentences. Its parser can interpret all English tenses, meaning that complex tense-based temporal relations can be represented, such as:
Event3 will have finished 3 seconds after Event2 has been playing for 12 seconds.
The idea behind the language is to explore the advantages of representing the idiosyncratic approaches to time often found in natural languages.
It uses a PEG (Parsing Expression Grammar) to transform the text into an array of events. This is achieved using the library peg.js.