DEV Community

Discussion on: 10000 followers 🥳🔥 project preview: Jess language design.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

It's possible that the output might be more manageable like the following:

const fn = {
   redBorder(){/*...*/},
   foo() {/*...*/}
}
const sheet = {
    '*':{
        '.foo': {
            exec() {
                // ...
            }
        }
    },
    'screen and (min-width: 440px)': {
        '.foo': {
            exec() {
                // CB runs the same sort of output as seen above
            }
        }
    }
}