Can swift be more like this?

Include<stdio.h> Include<sockets.swift> Include

Main(){ Window *main; Window hah; // cosmetic Main->title="hi"; Button close; Main->addbutton(close.name = "VLOSEE" close.style, connect(apple.sys.close()); Window.hah.addbutton.link(&close); }

Apple.sys.close@overload{ // THESE ARE FOUNDATIONS V2}

What do you mean by like this? As far as I see the code-like things in your post, Swift would never be like this, in my opinion.

@unidef what would be the purpose ? Where is it inspired from ?

@claude31 the goal is a simple interface to c/objc/swift, it borrows elements from gtk, qt, c, outlets

I can write decent c code I just can't do swift and objc

Thanks for the clarification.

Can swift be more like this?
 
 
Q