lair
lair copied to clipboard
Dictionary/Array Syntax
- Execute RHS of statement
- 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.
- 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.