You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am delighted by the presentation of Expression Grammar. I have been cringing about ways to knit a lexical grammar and expression grammar together; I'm inspired by your approach.
I also have two questions about the .grammar format.
Is the format of the productions in both text format and the "reference" form with opt and such documented anywhere.? Or is there an IETF spec. I'm missing? I'd like to be able to cite it.
The '.grammar' extension hints at the prospect of mechanical processing. Is that also something available or is this aspirational?
PS: You can see from the too-wordy ob-exp BNF grammar that I have taken the next step to bind semantics as well, although in my case I have the luxury of a functional semantics that fits a context-free grammar, simular to the Knuth-Wegner-Irons attribute grammar idea. (The use of Quine quotes is an additional attribution :).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am delighted by the presentation of Expression Grammar. I have been cringing about ways to knit a lexical grammar and expression grammar together; I'm inspired by your approach.
I also have two questions about the
.grammar
format.PS: You can see from the too-wordy ob-exp BNF grammar that I have taken the next step to bind semantics as well, although in my case I have the luxury of a functional semantics that fits a context-free grammar, simular to the Knuth-Wegner-Irons attribute grammar idea. (The use of Quine quotes is an additional attribution :).
Beta Was this translation helpful? Give feedback.
All reactions