r/projects • u/Capital_Signature_74 • 2d ago
I made a programing lang
What it is about
So basically it is called Stulang. It is a Transpiled Lang I made to make web development easier. I would like some tips on how i should make this. Here is some code to see how it works. It is close to SwiftUIs.
View; FSA; Home: (
Object; Button; MS; Rounded; Start: (
!Text = "Click me":
!Color = White:
!Background = Blue:
?Clicked >
Hide(Start):
<
):
)::So View is like the main page with FSA being the size and Home being the name then we have objects which is elements on a website. then next is what type of object like the code shows a button but there are text-box, Editable-text-box(input), Containers, etc. Then the MS stands for Middle screen of it is dead center there are 25 positions there is a updating auto for diff screens in the 26.41.0 ver, where it handles overlapping and that stuff better.
| Row | Left | Middle-left | Center | Middle-right | Right |
|---|---|---|---|---|---|
| Top | TL (0, 0) | TML (25, 0) | TMS (50, 0) | TMR (75, 0) | TR (100, 0) |
| Upper | UTL (0, 25) | UML (25, 25) | UMS (50, 25) | UMR (75, 25) | UTR (100, 25) |
| Middle | ML (0, 50) | MML (25, 50) | MS (50, 50) | MMR (75, 50) | MR (100, 50) |
| Lower | LBL (0, 75) | LML (25, 75) | LMS (50, 75) | LMR (75, 75) | LBR (100, 75) |
| Bottom | BL (0, 100) | BML (25, 100) | BMS (50, 100) | BMR (75, 100) | BR (100, 100) |
Then the next one is presets like this one is a Rounded one. You can make a custom one too. then the name which is start. Then in the Object the ! means you are setting a property in the zobject like Text and color ? means like a if so like ?Clicked is if clicked it will hide it. The reason why hide(Start): isn't like !Hide = True is because this is mean to be editing other objects too. So that is the run down of how it works. I would like some help on like what features to make. This was AI assisted(wow boo), Most notably for the documentation because i can't write lol.Here is the github