qpfiffer/lair

Dictionary/Array Syntax

qpfiffer opened this issue · 1 comments

  1. Execute RHS of statement
  2. Find LHS parent object in current scope, otherwise recurse upwards until found. If it doesn't exist throw an exception or error or whatever the hell they are.
  3. create/update the right side of the parent's scope operator. This should work ad infinitum. So:
    testScope.blah.foo : ! + 'a' 'b'

I added an overview of all main patterns here: https://github.com/MuteLang/DenLang/tree/master
Let me know what you think.