Producertech Homepage
Forum Home Forum Home > Music Production General > Shameless Plugs....
  New Posts New Posts
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Lexically-scoped variables, shameless plug

 Post Reply Post Reply
Author
Message
kevinmanuel View Drop Down
Assistant Engineer
Assistant Engineer
Avatar

Joined: 16 Mar 2018
Location: Adger
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote kevinmanuel Quote  Post ReplyReply Direct Link To This Post Topic: Lexically-scoped variables, shameless plug
    Posted: 19 Apr 2018 at 9:51am
Hi,

Adding lexically-scoped variables would not make the resulting grammars context-sensitive, since a variable set in a rule would only affect the expansion of that rule and therefore all the ones it invokes, but not any of its siblings or ancestors in the result tree. The "current coordinate system" is already an implicit set of lexically-scoped variables that parameterize every rule; why not add user-specifiable variables of that sort? 
Please help.

I didn't find the right solution from the Internet.

References:
https://www.contextfreeart.org/phpbb/viewtopic.php?f=9&t=58

Thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down