Note: This question is very specific to the research of computer science languages. The Comp Sci SE community thought it best to post here instead of there.
I love taking notes in my native programming environment, but I'm tired of plain white text with loose structure. I'm looking for a language or data-interchange format, not markdown or clever emacs tricks.
I'm curious about a new solution to note-taking that involves a light aspect of programming. This could be a DSL, but I'm really not looking for anything like git markdown. What I'm imagining is something like below. Syntax highlighting could help visually separate aspects of notes and I can imagine doing some fun linking and structuring in a compilation step.
Creating this language would be a fun research topic for me, but I want to see if its been done before. This looks a little python'ish, but I'm imagining something like this (or could be compiled to this):
topic an elementary intro to fruit concept fruit exists in many different colors, shapes, and sizes list:[colors, shape, size] orange colors: orange, green, yellow size: small shape: round banana colors: yellow, green shape: long terms fructose: something to do with sugar hue: a form of color related trees > tree-fruits.txt humans > ../human-notes/ farms > ../../farms