csharpfritz / TAML

Defining the coolest and simplest markup language delimited ONLY by tabs
MIT License
23 stars 11 forks source link

Need EBNF grammar / spec #43

Open csharpfritz opened 3 years ago

Stelzi79 commented 3 years ago

Wikipedia page https://en.wikipedia.org/wiki/Extended_Backus–Naur_form

dz4k commented 3 years ago

I have a draft: https://gist.github.com/DenizAksimsek/b59914c352c0cba3567dca352ae2b249

I'm not sure it's possible to express indentation-dependent languages in EBNF, so this grammar relies on a lexer to generate indent/dedent tokens.

csharpfritz commented 3 years ago

I don't have experience with EBNF - can someone review @DenizAksimsek draft and provide feedback?