Skip to content

Instantly share code, notes, and snippets.

@EightAndAHalfTails
Last active December 11, 2015 10:19
Show Gist options
  • Save EightAndAHalfTails/4586045 to your computer and use it in GitHub Desktop.
Save EightAndAHalfTails/4586045 to your computer and use it in GitHub Desktop.
Grammar description for generating plausible-sounding EEE course names. for use with polygen. >tfw I do Introduction to Electronics-Oriented Programming Development as pertaining to Nano-Scale Object-Oriented Systems Analysis
I ::= "title: Course Names\n"
^ "author: Jake Humphrey\n"
^ "language: english\n"
^ "status: Basic\n"
^ "topic: EIE\n"
^ "created: 21/01/2013\n";
S ::= ["Introduction to"] ComboModule;
ComboModule ::= Module [Conjunction Module];
Module ::= (Adjective | DescriptiveNoun) [PresPart] Noun;
Adjective ::= "Professional" | "Linear" | "Robotic" | "Digital" | "Analogue" | "Embedded" | "User-Centred" | ("Nano" | "Micro" | "Macro" | "Large")^"-Scale" | "Distributed";
DescriptiveNoun ::= "Computer" | "Circuit" | "Communication" | "Control" | "Feedback" | "Language" | "Network" | "Information" | "Software";
Noun ::= "Electronics" | "Architecture" | "Systems" | "Processors" | "Algorithms" | "Analysis" | "Development";
PresPart ::= "Engineering" | "Processing" | "Programming";
Conjunction ::= "and" | "with" | "as pertaining to" | "with respect to" | "with focus on";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment