#LanguageDesign #ENBF #ContextFreeGrammar #FormalSpecification
We start a new month with a post, this time does have some code, and it's for my D&D campaign, maybe you want to learn about formal grammar and how name generation works. Enjoy the post!
https://jeferson.me/blog/2025/07/01/context-free-grammar/
#TypeScript #ContextFreeGrammar #Grammar #NameGeneration #DnD #DungeonAndDragons
A corpus analysis of rock harmony
The researchers in this study conducted a corpus analysis of rock harmony by using Rolling Stone magazine's list of the '500 Greatest Songs of All Time'. The corpus consisted of 100 songs, which were chosen by taking the top 20 ranked songs from each decade from the 1950s to the 1990s. The authors personally analyzed all 100 songs using conventional Roman numeral symbols, and their agreement between the two sets of analyzes was over 90%. The analyses were then encoded using a recursive notation similar to a context-free grammar, allowing for concise encoding of repeating sections. Statistical analyses were then conducted on the aggregate data, examining the frequency of different chords and chord transitions, root motions, patterns of co-occurrence between chords, and changes in harmonic practices over time. The results indicated that the IV chord is the most common chord after the I chord, and is particularly common preceding the tonic.
https://www.jstor.org/stable/23325809
#corpusanalysis #rock #harmony #RollingStone #500GreatestSongs #RomanNumeral #contextfreegrammar #statisticalanalyses #chords #transitions #rootmotions #harmonicpractices #time #music #analysis #musicology
Introducing the medical abstract maker.
https://rdjenkins.github.io/cpblx/
Just hit the ‘Healthcare abstract’ button. Stuck for your submission to congress? Want to share some random conclusions? No problem.
Do you know snarXiv?
🎓 Its a paper title genetor trained on the high-energy physics part of arXiv.
🎲 It can be a lot of fun to try to guess which is a real paper on http://snarxiv.org/vs-arxiv/
A fun blog post by the author about the project: http://davidsd.org/2010/09/the-arxiv-according-to-arxiv-vs-snarxiv/
Can all Context-Free Grammars be described in Backus-Naur Form/Syntax?
Is BNF a "form" like Chomsky Normal Form or Greiback Normal Form, or is it just a "syntax" that can encode all CFG's and all BNF documents describe a CFG (a bijective encoding)?
The internet only tells me things that are so Basic I don't trust them to know about such questions, or so advanced they already assume I know the answer to this X'D
#Math
#FormalGrammars
#ContextFreeGrammar
#BNF #EBNF #BackusNaur
#Parsing #Parsers